[Bug 690539] New: osc build throws exception: UnboundLocalError: local variable 'apihost' referenced before assignment at /usr/lib64/python2.6/site-packages/osc/build.py:471
https://bugzilla.novell.com/show_bug.cgi?id=690539 https://bugzilla.novell.com/show_bug.cgi?id=690539#c0 Summary: osc build throws exception: UnboundLocalError: local variable 'apihost' referenced before assignment at /usr/lib64/python2.6/site-packages/osc/build.py:471 Classification: Internal Novell Products Product: openSUSE Build Service Version: master Platform: x86-64 OS/Version: SLES 11 Status: NEW Severity: Critical Priority: P5 - None Component: osc AssignedTo: adrian@novell.com ReportedBy: dmuhamedagic@novell.com QAContact: adrian@novell.com Found By: --- Blocker: --- On SLE11SP1, I upgraded osc today to the new version: osc-0.131-36.1 Trying to do a build fails: [0]hex-10:cluster-glue > iosc build --no-verify --root=/build/SLE_11_SP1 --release=1 SLE_11_SP1 x86_64 $(basename `pwd`).spec Building cluster-glue.spec for SLE_11_SP1/x86_64 Traceback (most recent call last): File "/usr/bin/osc", line 21, in <module> r = babysitter.run(osccli) File "/usr/lib64/python2.6/site-packages/osc/babysitter.py", line 51, in run return prg.main() File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 310, in main return self.cmd(args) File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 333, in cmd retval = self.onecmd(argv) File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 449, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 1179, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib64/python2.6/site-packages/osc/commandline.py", line 4656, in do_build return osc.build.main(self.get_api_url(), opts, args) File "/usr/lib64/python2.6/site-packages/osc/build.py", line 471, in main cache_dir = config['packagecachedir'] % {'apihost': apihost} UnboundLocalError: local variable 'apihost' referenced before assignment This worked till yesterday. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=690539 https://bugzilla.novell.com/show_bug.cgi?id=690539#c1 Marcus Hüwe <suse-tux@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |suse-tux@gmx.de Resolution| |FIXED --- Comment #1 from Marcus Hüwe <suse-tux@gmx.de> 2011-11-18 19:56:37 UTC --- This was fixed in the meantime. So I think we can close this bug (if not please reopen). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com