Mailinglist Archive: opensuse-buildservice (375 mails)

< Previous Next >
[opensuse-buildservice] Re: Error accessing own build service
  • From: John Calcote <john.calcote@xxxxxxxxx>
  • Date: Thu, 03 Apr 2008 22:31:39 -0600
  • Message-id: <47F5AF2B.6000400@xxxxxxxxx>
More information on this issue:

I tried some simple test using osc:

*$ osc list --verbose*
deleted
openSUSE:10.2
*$
$ osc ls -b*
Traceback (most recent call last):
File "/usr/bin/osc", line 10, in <module>
sys.exit( osc.main() )
File "/usr/lib64/python2.5/site-packages/osc/cmdln.py", line 256, in main
return self.cmd(args)
File "/usr/lib64/python2.5/site-packages/osc/cmdln.py", line 279, in cmd
retval = self.onecmd(argv)
File "/usr/lib64/python2.5/site-packages/osc/cmdln.py", line 395, in onecmd
return self._dispatch_cmd(handler, argv)
File "/usr/lib64/python2.5/site-packages/osc/cmdln.py", line 1070, in _dispatch_cmd
return handler(argv[0], opts, *args)
File "/usr/lib64/python2.5/site-packages/osc/commandline.py", line 123, in do_list
'\'osc platforms %s\'' %project)
*UnboundLocalError: local variable 'project' referenced before assignment*
$

Any help would be appreciated.

Thanks,
John

John Calcote wrote:
Hi list,

I'm setting up my own build service on a 10.2 machine. I've basically followed the tutorial on the wiki site, and THEN discovered that the README.SUSE file that comes with obs-api was much more up to date. I'm worried that I've broken something by following the old instructions, and then trying to overwrite everything with the more up-to-date instructions in the README file.

Also, I don't have a local X configuration, so I'm accessing this server remotely, which means I can't use the pre-configured localhost addresses (127.0.42.1/2) to access the web/api sites. I tried to copy the vhosts entries and change the addresses to reflect my own 10.x.x.x addresses, but it gives me a stack dump on the web site.

Here's the output of the build service web page after logging in with Admin/opensuse, as per the docs, and then clicking on "List of All Projects" in the side bar menu: (This isn't everything, only the bottom portion - the stack dump.)

stack trace:

/srv/www/obs/common/lib/activexml/transport.rb:537:in `handle_response'
/srv/www/obs/common/lib/activexml/transport.rb:522:in `http_do'
/srv/www/obs/common/lib/activexml/transport.rb:345:in `find'
/srv/www/obs/common/lib/activexml/base.rb:69:in `find'
/srv/www/obs/webclient/app/controllers/application.rb:119:in `basic_auth'
/srv/www/obs/webclient/app/controllers/application.rb:77:in `authorize'
/usr/lib64/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:469:in `send'
/usr/lib64/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:469:in `call'
/usr/lib64/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:442:in `run'
/usr/lib64/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:714:in `run_before_filters'
/usr/lib64/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:694:in `call_filters'
/usr/lib64/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:688:in `perform_action_without_benchmark'
/usr/lib64/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'
/usr/lib64/ruby/1.8/benchmark.rb:293:in `measure'
/usr/lib64/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'
/usr/lib64/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/rescue.rb:83:in `perform_action'
/usr/lib64/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:435:in `send'
/usr/lib64/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:435:in `process_without_filters'
/usr/lib64/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:684:in `process_without_session_management_support'
/usr/lib64/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/session_management.rb:114:in `process'
/usr/lib64/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:334:in `process'
/usr/lib64/ruby/gems/1.8/gems/rails-1.2.6/lib/dispatcher.rb:41:in `dispatch'
/usr/lib64/ruby/gems/1.8/gems/rails-1.2.6/lib/fcgi_handler.rb:168:in `process_request'
/usr/lib64/ruby/gems/1.8/gems/rails-1.2.6/lib/fcgi_handler.rb:143:in `process_each_request!'
/usr/lib64/ruby/gems/1.8/gems/rails-1.2.6/lib/fcgi_handler.rb:109:in `with_signal_handler'
/usr/lib64/ruby/gems/1.8/gems/rails-1.2.6/lib/fcgi_handler.rb:142: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-1.2.6/lib/fcgi_handler.rb:141:in `process_each_request!'
/usr/lib64/ruby/gems/1.8/gems/rails-1.2.6/lib/fcgi_handler.rb:55:in `process!'
/usr/lib64/ruby/gems/1.8/gems/rails-1.2.6/lib/fcgi_handler.rb:25:in `process!'
/srv/www/obs/webclient/public/dispatch.fcgi:24


Thanks in advance for any helpful suugestions you may have.
John


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

< Previous Next >
Follow Ups
References