2007/3/20, Andreas Bauer
On Tuesday, 20. March 2007 10:28, Jochen Hebbrecht wrote:
Maybe if somebody solves this ... some time :p. After you login, you click at "Home Project" and it gives this error:
-------->8---------
[D|#32051] uri is: rest://192.168.253.76:80/source/:project [D|#32051] http_do: url: http://192.168.253.76:80/source/home:admin [D|#32051] http_do: path: /source/home:admin [F|#32051]
NoMethodError (undefined method `name' for #Project:0xb6cbdda4): /srv/www/obs/common/lib/activexml/node.rb:265:in `method_missing' /srv/www/obs/common/lib/activexml/base.rb:82:in `name' /app/controllers/project_controller.rb:90:in `show'
--------8<---------
could you please post the output of
For the others (because I only said it on IRC): you have to fill in your DB by yourself. Do an INSERT like this one: mysql> select * from db_projects; +----+------------+--------------+-------------+---------------------+---------------------+ | id | name | title | description | created_at | updated_at | +----+------------+--------------+-------------+---------------------+---------------------+ | 2 | home:admin | Home project | for testing | 2007-03-20 13:11:17 | 2007-03-20 13:11:17 | +----+------------+--------------+-------------+---------------------+---------------------+ @Andreas: curl gives me this: $ curl -v http://admin:opensuse@192.168.253.76:80/source/home:admin * About to connect() to 192.168.253.76 port 80 * Trying 192.168.253.76... connected * Connected to 192.168.253.76 (192.168.253.76) port 80 * Server auth using Basic with user 'admin'
GET /source/home:admin HTTP/1.1 Authorization: Basic YWRtaW46b3BlbnN1c2U= User-Agent: curl/7.15.1 (i486-pc-linux-gnu) libcurl/7.15.1 OpenSSL/0.9.8a zlib/1.2.3 libidn/0.5.18 Host: 192.168.253.76 Accept: */*
< HTTP/1.1 200 OK < Transfer-Encoding: chunked < Content-Type: text/xml < Set-Cookie: opensuse_frontend_session=4163bfbe3302bf971a4ca9f9666d0a85; path=/ < X-Opensuse-APIVersion: 0.1.1 < Cache-Control: no-cache < Date: Tue, 20 Mar 2007 18:30:33 GMT < Server: lighttpd/1.4.13 <directory count="2"> <entry name="test"/> <entry name="tetsfsf"/> </directory> * Connection #0 to host 192.168.253.76 left intact * Closing connection #0 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org