Mailinglist Archive: opensuse-buildservice (184 mails)

< Previous Next >
Re: [opensuse-buildservice] Local openSuSE Build Service at 11.0
  • From: aledr <matrixworkstation@xxxxxxxxx>
  • Date: Thu, 9 Oct 2008 14:05:50 -0300
  • Message-id: <73e156130810091005l65c34503v6ee155e00f9bf8bd@xxxxxxxxxxxxxx>
Here is what I see in "/srv/www/obs/frontend/log/production.log":

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Processing PackageController#update_build_log (for 192.168.1.12 at
2008-10-09 13:59:53) [POST]
Session ID:
BAh7CToKbG9naW4iCkFkbWluOgtwYXNzd2QiDW9wZW5zdXNlOg5yZXR1cm5f%0AdG8iYS9wYWNrYWdlL2xpdmVfYnVpbGRfbG9nP2FyY2g9aTU4NiZwYWNrYWdl%0APXNyczImcHJvamVjdD1ob21lJTNBQWRtaW4mcmVwb3NpdG9yeT1vcGVuU1VT%0ARV8xMS4wIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVyOjpGbGFzaDo6Rmxh%0Ac2hIYXNoewAGOgpAdXNlZHsA--b69e9c4068315dacaf4884d2fa8fad356bfdfef0
Parameters: {"repository"=>"openSUSE_11.0", "project"=>"home:Admin",
"arch"=>"i586", "action"=>"update_build_log", "package"=>"srs2",
"controller"=>"package", "offset"=>"1174"}
Person.find( "Admin" )
prepared find args: ["Admin", {:login=>"Admin"}]
[REST] find( Person, ["Admin", {:login=>"Admin"}] )
retrieving target_uri for model ':person'
retrieving option hash for model ':person'
Transport.find: using string
uri is: rest://api.exatati.intranet:80/person/:login
[REST] reducing args: {:login=>"Admin", :name=>"Admin"}
[REST] args is now: {:login=>"Admin", :name=>"Admin"}
[REST] Transport.find using GET-method
http_do: url: http://api.exatati.intranet:80/person/Admin
http_do: path: /person/Admin
return_to:
/package/update_build_log?arch=i586&offset=1174&package=srs2&project=home%3AAdmin&repository=openSUSE_11.0
--> direct_http url: #<URI::HTTPS:0x3fbcc375190c
URL:https://api.exatati.intranet:80/build/home:Admin/openSUSE_11.0/i586/srs2/_log?nostream=1&start=1174>
http_do: url:
https://api.exatati.intranet:80/build/home:Admin/openSUSE_11.0/i586/srs2/_log?nostream=1&start=1174
http_do: path:
/build/home:Admin/openSUSE_11.0/i586/srs2/_log?nostream=1&start=1174


ActionView::TemplateError (undefined method `update_element_function'
for #<ActionView::Base:0x7f7986ebaad0>) on line #4 of
package/_update_build_log.rhtml:
1: <% if @finished %>
2: <%= update_element_function "status", :content => "Build finished" %>
3: <% else %>
4: <%= update_element_function "status", :content => "Updating..." %>
5: <%= update_element_function "log_space", :content => @log_chunk,
:position => :bottom %>
6: <%= remote_function(
7: :url => {:action => :update_build_log, :package =>
@package, :project => @project, :arch => @arch, :repository => @repo,
:offset => @offset},

app/views/package/_update_build_log.rhtml:4:in
`_run_erb_47app47views47package47_update_build_log46rhtml'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:637:in
`send'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:637:in
`compile_and_render_template'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:365:in
`render_template'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:316:in
`render_file'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:331:in
`render'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/partials.rb:117:in
`render_partial'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:26:in
`benchmark'
/usr/lib64/ruby/1.8/benchmark.rb:293:in `measure'
/usr/lib64/ruby/1.8/benchmark.rb:307:in `realtime'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:26:in
`benchmark'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/partials.rb:116:in
`render_partial'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:896:in
`send!'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:896:in
`render_with_no_layout'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/layout.rb:270:in
`render_without_benchmark'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:51:in
`render'
/usr/lib64/ruby/1.8/benchmark.rb:293:in `measure'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:51:in
`render'
app/controllers/package_controller.rb:557:in `update_build_log'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in
`send'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in
`perform_action_without_filters'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:697:in
`call_filters'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:689:in
`perform_action_without_benchmark'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in
`perform_action_without_rescue'
/usr/lib64/ruby/1.8/benchmark.rb:293:in `measure'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in
`perform_action_without_rescue'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/rescue.rb:199:in
`perform_action'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in
`send'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in
`process_without_filters'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:685:in
`process_without_session_management_support'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:123:in
`process'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:388:in
`process'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:171:in
`handle_request'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in
`dispatch'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in
`dispatch_cgi'

/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in
`dispatch'
/usr/lib64/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:101:in
`process_request'
/usr/lib64/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:149:in
`with_signal_handler'
/usr/lib64/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:99:in
`process_request'
/usr/lib64/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:77:in
`process_each_request'
/usr/lib64/ruby/vendor_ruby/1.8/fcgi.rb:612:in `each_cgi'
/usr/lib64/ruby/vendor_ruby/1.8/fcgi.rb:609:in `each'
/usr/lib64/ruby/vendor_ruby/1.8/fcgi.rb:609:in `each_cgi'
/usr/lib64/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:76:in
`process_each_request'
/usr/lib64/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:50:in
`process!'
/usr/lib64/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:24:in
`process!'
public/dispatch.fcgi:24

rescue_action_in_public: caught ActionView::TemplateError: undefined
method `update_element_function' for
#<ActionView::Base:0x7f7986ebaad0>
default exception handling
ERROR: unknown
injecting error instance variables into template object
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Thanks!

On Thu, Oct 9, 2008 at 12:09 PM, aledr <matrixworkstation@xxxxxxxxx> wrote:
Updated to the devel release solved the EXTERNAL_FRONTEND_HOST
problem, but It still not refreshing the live log.

Thanks!

On Thu, Oct 9, 2008 at 11:50 AM, Andreas Bauer <abauer@xxxxxxx> wrote:
aledr schrieb:

Good day!

I've recently updated my local Build Service to openSuSE 11.0 with a
production environment.
Live Log Refreshing is not working and I can't see my packages files
on the webclient. Here is the error when trying to access a package:


------------------------------------------------------------------------------------------------------------------------------------------------------
OpenSUSE Webclient Error:

Error Details:
Errorcode: unknown
Message: uninitialized constant ApplicationHelper::EXTERNAL_FRONTEND_HOST

That's a bug in the current stable packages. As Ulf mentioned, you can
either use the latest -devel packages from openSUSE:Tools:Unstable, or you
can apply the attached patch. The patch needs to be applied in /srv/www/obs.

Andreas
--
[ ]'s
Aledr - Alexandre
"OpenSource Solutions for SmallBusiness Problems"

--
[ ]'s
Aledr - Alexandre
"OpenSource Solutions for SmallBusiness Problems"
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups