Mailinglist Archive: opensuse-buildservice (182 mails)

< Previous Next >
Re: [opensuse-buildservice] Webclient Error in local OBS 1.7 (SLES 11)
  • From: Petit Eric <surfzoid@xxxxxxxxx>
  • Date: Fri, 26 Feb 2010 18:11:41 +0100
  • Message-id: <84776a971002260911j464513e2m602f69f37b88f9fb@xxxxxxxxxxxxxx>
So, the problem seem come only from Web client Fe, hope OBS team could
help or if you can live with osc command line, alternatively by
waiting an fix for the web client FE, if you want GUI tools for OBS
you can try my third client MonoOSC

2010/2/26 Matthias Kerk <kerk@xxxxxxxxxxxx>:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Eric,

Unfortunately I do not speak Ruby also yet.  ;)

osc works fine:

obst0:~ # osc list
deleted
openSUSE.org
openSUSE:Tools

obst0:~ # osc meta prj -e home:Admin
Sending meta data...
Done.

obst0:~ # osc list
deleted
home:Admin
openSUSE.org
openSUSE:Tools

obst0:~ # osc co home:Admin
A    home:Admin
obst0:~ # cd home:Admin/

obst0:~/home:Admin # l
insgesamt 12
drwxr-xr-x  3 root root 4096 26. Feb 16:37 ./
drwx------ 20 root root 4096 26. Feb 16:37 ../
drwxr-xr-x  2 root root 4096 26. Feb 16:37 .osc/

obst0:~/home:Admin # osc mkpac curl
A    curl
obst0:~/home:Admin # cd curl/

obst0:~/home:Admin/curl # l
insgesamt 12
drwxr-xr-x 3 root root 4096 26. Feb 16:39 ./
drwxr-xr-x 4 root root 4096 26. Feb 16:39 ../
drwxr-xr-x 2 root root 4096 26. Feb 16:39 .osc/
obst0:~/home:Admin/curl # vi _link

obst0:~/home:Admin/curl # osc add _link
A    _link

obst0:~/home:Admin/curl # osc commit -m 'added curl'
Sending meta data...
osc r
Done.
Sending    curl
Sending    curl/_link
Transmitting file data .
Committed revision 1.

obst0:~/home:Admin/curl # osc r
openSUSE_11.2   x86_64     building   (repository is building)
openSUSE_11.2   i586       building   (repository is building)
openSUSE_Factory x86_64     blocked: libidn-devel, openldap2-devel,
zlib-devel, krb5-devel, autoconf, automake, binutils, bzip2, gcc,
gettext-runtime, glibc, perl, rpm, zlib, libidn, libopenssl-devel,
cyrus-sasl-devel, libldap-2_4-2, libcom_err-devel,
keyutils-devel, krb5, libcloog0, libelf0, binutils-gold, libopenssl0_9_8,
cyrus-sasl, libcom_err2, keyutils-libs   (repository is blocked)
openSUSE_Factory i586       blocked: libidn-devel, openldap2-devel,
zlib-devel, krb5-devel, autoconf, automake, binutils, bzip2, gcc, gcc45,
gettext-runtime, glibc, libtool, perl, rpm, zlib, libidn, libopenssl-devel,
cyrus-sasl-devel, libldap-2_4-2,
libcom_err-devel, keyutils-devel, krb5, libcloog0, libelf0, binutils-gold,
libltdl7, libopenssl0_9_8, cyrus-sasl, libcom_err2, keyutils-libs  
(repository is blocked)
SLE_11          x86_64     building   (repository is building)
SLE_11          i586       building   (repository is building)


best regards,
matthias

Am 26.02.2010 16:20, schrieb Petit Eric:
I don't really speak RUBY, but sound like an setup problem with the
author backend, no ?
Have you got similar problem with other clients, to check if am i true
or if it came only from the webclient ?

2010/2/26 Matthias Kerk <kerk@xxxxxxxxxxxx>:
I have the same problem with 1.7.1 and no idea.

Does any OBS under SLES?

Thanks for the help,
Matthias


Am 19.02.2010 15:23, schrieb Matthias Kerk:
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


- --
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx



- --

Mit freundlichen Grüßen,

Matthias Kerk
Dedicated Server Platform Operations
- -----------------------------------------------------
Telefon: + 49 (30) 39 802 237
 Mobil: + 49 (172) 3 895 618
Telefax: + 49 (30) 39 802 222
 E-Mail: kerk@xxxxxxxxxxxx
- -----------------------------------------------------
Strato Rechenzentrum AG
Pascalstrasse 10
10587 Berlin
- -----------------------------------------------------
Aufsichtsrat: Damian Schmidt (Vorsitz)
Vorstand: Julien Ardisson, Christian Müller, Christoph Steffens, René
Wienholtz

Amtsgericht Berlin-Charlottenburg HRB 75629

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

iEYEARECAAYFAkuH7BAACgkQcJkDdU92256/jQCffkaUQiny2ndky7BtpBgdgiRU
lMYAoII77CA5WtzT7oHzHy/FDXh3bPtS
=vcWN
-----END PGP SIGNATURE-----




--
Cordially.

Deploy your softwares for all platforms and finally update them in 3 clicks.
Try now the OpenSource MonoOSC tool
http://monoosc.sourceforge.net/
http://download.opensuse.org/repositories/home:/surfzoid/
http://download.opensuse.org/repositories/home:/surfzoid:/DebianUbuntu/
http://download.opensuse.org/repositories/home:/surfzoid:/DebianUbuntu:/Mono/

windows take you more($), Linux give you more!!
Political Power cannot be wisdom!

Small Eric Quotations of the days:
---------------------------------------------------------------------------
I have no special talents. I am only passionately curious
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >