Public bug reported:

The first call of osc that writes the config file actually works, but on 
subsequent calls it immeditially crashes:
Traceback (most recent call last):
  File "/usr/bin/osc", line 21, in <module>
    r = babysitter.run(osccli)
  File "/usr/lib/python2.7/dist-packages/osc/babysitter.py", line 52, in run
    return prg.main()
  File "/usr/lib/python2.7/dist-packages/osc/cmdln.py", line 302, in main
    self.postoptparse()
  File "/usr/lib/python2.7/dist-packages/osc/commandline.py", line 118, in 
postoptparse
    override_verbose = self.options.verbose)
  File "/usr/lib/python2.7/dist-packages/osc/conf.py", line 857, in get_config
    'pass': password,
UnboundLocalError: local variable 'password' referenced before assignment

System info:
Description:    Ubuntu 12.04 LTS
Release:        12.04

Package info:
osc:
  Installiert: 0.132.6-1
  Kandidat:    0.132.6-1
  Versionstabelle:
 *** 0.132.6-1 0
        500 http://de.archive.ubuntu.com/ubuntu/ precise/universe i386 Packages
        100 /var/lib/dpkg/status

** Affects: osc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/995263

Title:
  osc breaks if no keyring is available

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/osc/+bug/995263/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to