Mailinglist Archive: opensuse-buildservice (182 mails)

< Previous Next >
[opensuse-buildservice] Webclient Error in local OBS 1.7 (SLES 11)
  • From: Matthias Kerk <kerk@xxxxxxxxxxxx>
  • Date: Fri, 19 Feb 2010 15:23:05 +0100
  • Message-id: <4B7E9EC9.8040806@xxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I have some problems with the final release of OBS.

In the WebUI is displayed on almost every page a Web client error.


http://127.0.42.1:8080/project/list_my:
openSUSE Webclient Error:

Error Details:
Errorcode: unknown
Message: undefined local variable or method `login' for #<Person:0x7f42319b3168>


http://127.0.42.1:8080/home
openSUSE Webclient Error:

Error Details:
Errorcode: unknown
Message: undefined method `realname' for #<Person:0x7f4231946018>

and so on...


Has anyone an idea?



==> obs-webui-access.log <==
::ffff:127.0.42.1 127.0.42.1:8080 - [19/Feb/2010:15:00:07 +0100] "GET /monitor
HTTP/1.1" 200 10280 "http://127.0.42.1:8080/home"; "Mozilla/5.0 (X11; U; Linux
x86_64; de; rv:1.9.1.7) Gecko/20091222 SUSE/3.5.7-1.1.1 Firefox/3.5.7"
::ffff:127.0.42.1 127.0.42.1:8080 - [19/Feb/2010:15:18:17 +0100] "GET
/person/Admin HTTP/1.1" 200 8300 "-" "buildservice-webclient/0.3"

==> production.log <==
[I|#29682]

Processing HomeController#index (for ::ffff:127.0.42.1 at 2010-02-19 15:18:17)
[GET]
[I|#29682] Parameters: {"action"=>"index", "controller"=>"home"}
[D|#29682] Setting return_to: "/home"
[D|#29682] Authenticating with iChain mode: off
[I|#29682] Authenticated request to "/home" from Admin
[D|#29682] Homepage for logged in user: Admin
[D|#29682] [REST] find( Person, loginAdmin )
[D|#29682] http_do #1: method: get url: http://127.0.42.1:8080/person/Admin
[E|#29682] --> caught EOFError: end of file reached, retrying with new HTTP
connection
[D|#29682] http_do #2: method: get url: http://127.0.42.1:8080/person/Admin
[I|#29681]

Processing ApplicationController#index (for ::ffff:127.0.42.1 at 2010-02-19
15:18:17) [GET]
[F|#29681]
ActionController::RoutingError (No route matches "/person/Admin" with
{:method=>:get}):
public/dispatch.fcgi:24


[E|#29681] rescue_action: caught ActionController::RoutingError: No route
matches "/person/Admin" with {:method=>:get}
[D|#29681] ERROR: 404; no such route
[I|#29681] Rendering template within layouts/application
[I|#29681] Rendering error
[D|#29681] using themed file: /vendor/neutral/stylesheets/local/style.css
[D|#29681] Rendered layouts/_sponsor (0.1ms)
[D|#29681] Rendered layouts/_personal_navigation (1.6ms)
[D|#29681] using themed file: /vendor/neutral/images/local/create.png
[D|#29681] Rendered layouts/_flash (0.1ms)
[D|#29682] Request took 0.021493 seconds
[D|#29682] Tagcloud switch initialized: Building Tagcloud for mytags
[D|#29682] [REST] find( Tagcloud, mytagsuserAdmin )
[D|#29682] http_do #1: method: get url:
http://127.0.42.1:8080/user/Admin/tags/_tagcloud?
[I|#29681]

Processing ApplicationController#index (for ::ffff:127.0.42.1 at 2010-02-19
15:18:17) [GET]
[F|#29681]
ActionController::RoutingError (No route matches "/user/Admin/tags/_tagcloud"
with {:method=>:get}):
public/dispatch.fcgi:24


[E|#29681] rescue_action: caught ActionController::RoutingError: No route
matches "/user/Admin/tags/_tagcloud" with {:method=>:get}
[D|#29681] ERROR: 404; no such route
[I|#29681] Rendering template within layouts/application
[I|#29681] Rendering error
[D|#29681] using themed file: /vendor/neutral/stylesheets/local/style.css
[D|#29681] Rendered layouts/_sponsor (0.1ms)
[D|#29681] Rendered layouts/_personal_navigation (1.7ms)
[D|#29681] using themed file: /vendor/neutral/images/local/create.png
[D|#29681] Rendered layouts/_flash (0.5ms)
[D|#29682] Request took 0.07209 seconds
[I|#29682] Rendering template within layouts/application
[I|#29682] Rendering home/index
[D|#29682] Rendered tag/_tagcloud (0.3ms)
[D|#29682] Rendered tag/_tagcloud_container (6.6ms)
[F|#29682]
ActionView::TemplateError (undefined method `realname' for
#<Person:0x7f4231e47cb0>) on line #16 of app/views/home/index.rhtml:
13: <h3>Configuration</h3>
14: <p>
15: <b>Real Name: </b>
16: <% if @user.realname && !@xxxxxxxxxxxxxxxxxxxxxxxx? %>
17: <%=h @user.realname %>
18: <% else %>
19: <em>No real name set.</em>

lib/common/activexml/node.rb:388:in `method_missing'
app/views/home/index.rhtml:16:in `_run_rhtml_app47views47home47index46rhtml'
public/dispatch.fcgi:24


[E|#29682] rescue_action: caught ActionView::TemplateError: undefined method
`realname' for #<Person:0x7f4231e47cb0>
[E|#29682] Couldn't parse error xml: Undefined prefix Person found
[D|#29682] ERROR: unknown; undefined method `realname' for
#<Person:0x7f4231e47cb0>
[I|#29682] Rendering template within layouts/application
[I|#29682] Rendering error
[D|#29682] using themed file: /vendor/neutral/stylesheets/local/style.css
[D|#29682] Rendered layouts/_sponsor (0.1ms)
[D|#29682] Rendered layouts/_personal_navigation (4.1ms)
[D|#29682] using themed file: /vendor/neutral/images/local/create.png
[D|#29682] Rendered layouts/_flash (0.1ms)



Best Regards,
Matthias

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkt+nskACgkQcJkDdU92254KzQCeJ9gxH1/XuOaI3aJt8ieXgPYo
5IkAmgIxmhltUZMZp2BjZfi5IDkkkOwY
=krpT
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups