Comment 12 for bug 500487

Revision history for this message
Pavol Klačanský (pavolzetor-deactivatedaccount) wrote : Re: [lucid] volume icon twice in systray

pk@pk-laptop:~$ apport-collect 500487
The authorization page:
   (https://edge.launchpad.net/+authorize-token?oauth_token=FRWwvSHJdN0l16mM1Hjd&allow_permission=WRITE_PRIVATE)
should be opening in your browser. After you have authorized
this program to access Launchpad on your behalf you should come
back here and press <Enter> to finish the authentication process.
^CTraceback (most recent call last):
  File "/usr/share/apport/apport-gtk", line 354, in <module>
    app.run_argv()
  File "/usr/lib/python2.6/dist-packages/apport/ui.py", line 534, in run_argv
    return self.run_update_report()
  File "/usr/lib/python2.6/dist-packages/apport/ui.py", line 396, in run_update_report
    if not self.crashdb.can_update(self.options.update_report):
  File "/usr/lib/python2.6/dist-packages/apport/crashdb_impl/launchpad.py", line 432, in can_update
    bug = self.launchpad.bugs[id]
  File "/usr/lib/python2.6/dist-packages/apport/crashdb_impl/launchpad.py", line 108, in launchpad
    credentials_file = self.auth)
  File "/usr/lib/python2.6/dist-packages/launchpadlib/launchpad.py", line 249, in login_with
    max_failed_attempts=max_failed_attempts)
  File "/usr/lib/python2.6/dist-packages/launchpadlib/launchpad.py", line 168, in get_token_and_login
    authorizer()
  File "/usr/lib/python2.6/dist-packages/launchpadlib/credentials.py", line 520, in __call__
    self.wait_for_request_token_authorization()
  File "/usr/lib/python2.6/dist-packages/launchpadlib/credentials.py", line 524, in wait_for_request_token_authorization
    sys.stdin.readline()
KeyboardInterrupt

pk@pk-laptop:~$ apport-collect 500487
The authorization page:
   (https://edge.launchpad.net/+authorize-token?oauth_token=315pFg2dVFnqzrFJmTHm&allow_permission=WRITE_PRIVATE)
should be opening in your browser. After you have authorized
this program to access Launchpad on your behalf you should come
back here and press <Enter> to finish the authentication process.

Traceback (most recent call last):
  File "/usr/share/apport/apport-gtk", line 354, in <module>
    app.run_argv()
  File "/usr/lib/python2.6/dist-packages/apport/ui.py", line 534, in run_argv
    return self.run_update_report()
  File "/usr/lib/python2.6/dist-packages/apport/ui.py", line 396, in run_update_report
    if not self.crashdb.can_update(self.options.update_report):
  File "/usr/lib/python2.6/dist-packages/apport/crashdb_impl/launchpad.py", line 432, in can_update
    bug = self.launchpad.bugs[id]
  File "/usr/lib/python2.6/dist-packages/apport/crashdb_impl/launchpad.py", line 114, in launchpad
    print >> sys.stderr, 'Error connecting to Launchpad: %s\nYou can reset the credentials by removing the file "%s"' % (msg, crashdb.auth)
NameError: global name 'crashdb' is not defined

Now, applet works properly, but not always