Hi, We're using osc at work, and I've run into an issue that I'm not quite sure how to deal with. I work remotely so I tend to use ssh alot. I have a computer in the office running Ubuntu 11.04. osc --version reports 0.132.5 If I VNC into my computer and start a terminal session then I can use osc commands like the following without any problems: 212 >osc config general su-wrapper 'sudo' 'general': 'su-wrapper' is set to 'sudo' However, if I ssh into the same machine (either from my local computer or by doing ssh localhost from the terminal session in VNC), and issue the same command, I get: 253 >osc config general su-wrapper 'sudo' 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 I'm guessing that this has something to do with the gnome keyring and some misconfiguration? I tried setting keyring = 0 (and 1 and commented out) in my ~/.oscrc file, but it doesn't seem to have any effect. I've also tried running osc with --no-gnome-keyring and get the same error. Running with --no-keyring gives a slightly different error: 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 310, in main return self.cmd(args) File "/usr/lib/python2.7/dist-packages/osc/cmdln.py", line 333, in cmd retval = self.onecmd(argv) File "/usr/lib/python2.7/dist-packages/osc/cmdln.py", line 449, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib/python2.7/dist-packages/osc/cmdln.py", line 1179, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib/python2.7/dist-packages/osc/commandline.py", line 6954, in do_config opt, newval = conf.config_set_option(section, opt, ' '.join(val), delete=opts.delete, update=True) File "/usr/lib/python2.7/dist-packages/osc/conf.py", line 610, in config_set_option get_config(**kw) File "/usr/lib/python2.7/dist-packages/osc/conf.py", line 857, in get_config 'pass': password, UnboundLocalError: local variable 'password' referenced before assignment I can provide more information if needed. I'm not familiar with python (yet). Any insight on howto resolve this would be great. -- Dave Hylands Shuswap, BC, Canada http://www.davehylands.com -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org