bzr crashed with NoOptionError in get(): No option 'consumer_key' in section: '1'

Bug #770419 reported by Greg A
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: bzr

$ bzr lp-propose
bzr: ERROR: ConfigParser.NoOptionError: No option 'consumer_key' in section: '1'

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 926, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1126, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 691, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 713, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/launchpad/__init__.py", line 364, in run
    reviews, staging, approve=approve)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/launchpad/lp_propose.py", line 79, in __init__
    self.launchpad = lp_api.login(service)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/launchpad/lp_api.py", line 133, in login
    proxy_info=proxy_info)
  File "/usr/lib/pymodules/python2.7/launchpadlib/launchpad.py", line 538, in login_with
    credential_save_failed, version)
  File "/usr/lib/pymodules/python2.7/launchpadlib/launchpad.py", line 341, in _authorize_token_and_login
    authorization_engine.unique_consumer_id)
  File "/usr/lib/pymodules/python2.7/launchpadlib/credentials.py", line 273, in load
    return self.do_load(unique_key)
  File "/usr/lib/pymodules/python2.7/launchpadlib/credentials.py", line 322, in do_load
    return Credentials.from_string(credential_string)
  File "/usr/lib/pymodules/python2.7/launchpadlib/credentials.py", line 89, in from_string
    credentials.load(StringIO(value))
  File "/usr/lib/python2.7/dist-packages/lazr/restfulclient/authorize/oauth.py", line 165, in load
    CREDENTIALS_FILE_VERSION, 'consumer_key')
  File "/usr/lib/python2.7/ConfigParser.py", line 610, in get
    raise NoOptionError(option, section)
NoOptionError: No option 'consumer_key' in section: '1'

You can report this problem to Bazaar's developers by running
    apport-bug /var/crash/bzr.1000.2011-04-25T17:26.crash
if a bug-reporting window does not automatically appear.

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: bzr 2.3.1-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
BzrDebugFlags: set()
BzrVersion: 2.3.1
CommandLine: ['/usr/bin/bzr', 'lp-propose']
CrashDb: bzr
Date: Mon Apr 25 18:26:47 2011
ExecutablePath: /usr/bin/bzr
FileSystemEncoding: UTF-8
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110127)
InterpreterPath: /usr/bin/python2.7
Locale: en_GB.UTF-8
PackageArchitecture: all
Platform: Linux-2.6.38-8-generic-x86_64-with-Ubuntu-11.04-natty
ProcCmdline: /usr/bin/python /usr/bin/bzr lp-propose
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_GB.UTF-8
 LANGUAGE=en_GB:en
PythonVersion: 2.7.1
SourcePackage: bzr
Title: bzr crashed with NoOptionError in get(): No option 'consumer_key' in section: '1'
UpgradeStatus: Upgraded to natty on 2011-04-19 (6 days ago)
UserEncoding: UTF-8
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Greg A (etulfetulf) wrote :
Revision history for this message
Apport retracing service (apport) wrote : This bug is a duplicate

Thank you for taking the time to report this crash and helping to make Ubuntu better. This particular crash has already been reported and is a duplicate of bug #762065, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

tags: removed: need-duplicate-check
visibility: private → public
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.