[Bug 1971669] Re: Can't even launch `ubuntu-bug` console application to report any other bug!

Steve Langasek 1971669 at bugs.launchpad.net
Thu May 5 19:51:32 UTC 2022


Your log shows:

May 05 14:44:00 khteh-p17-2i update-notifier.desktop[15164]: File "/home/khteh/.local/lib/python3.10/site-packages/httplib2/__init__.py", line 52, in <module>
May 05 14:44:00 khteh-p17-2i update-notifier.desktop[15164]: from . import auth
May 05 14:44:00 khteh-p17-2i update-notifier.desktop[15164]: File "/home/khteh/.local/lib/python3.10/site-packages/httplib2/auth.py", line 20, in <module>
May 05 14:44:00 khteh-p17-2i update-notifier.desktop[15164]: auth_param_name = token.copy().setName("auth-param-name").addParseAction(pp.downcaseTokens)
May 05 14:44:00 khteh-p17-2i update-notifier.desktop[15164]: AttributeError: module 'pyparsing' has no attribute 'downcaseTokens'

So, you have a locally-installed httplib2 in your home directory which
is not compatible with the pyparsing from the system.  You will need to
remove this.

** Package changed: update-notifier (Ubuntu) => apport (Ubuntu)

** Changed in: apport (Ubuntu)
       Status: New => Invalid

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

Title:
  Can't even launch `ubuntu-bug` console application to report any other
  bug!

Status in apport package in Ubuntu:
  Invalid

Bug description:
  $ ubuntu-bug
  Traceback (most recent call last):
    File "/usr/share/apport/apport-gtk", line 596, in <module>
      app = GTKUserInterface()
    File "/usr/share/apport/apport-gtk", line 56, in __init__
      apport.ui.UserInterface.__init__(self)
    File "/usr/lib/python3/dist-packages/apport/ui.py", line 209, in __init__
      self.crashdb = apport.crashdb.get_crashdb(None)
    File "/usr/lib/python3/dist-packages/apport/crashdb.py", line 842, in get_crashdb
      return load_crashdb(auth_file, settings['databases'][name])
    File "/usr/lib/python3/dist-packages/apport/crashdb.py", line 850, in load_crashdb
      m = __import__('apport.crashdb_impl.' + spec['impl'], globals(), locals(), ['CrashDatabase'])
    File "/usr/lib/python3/dist-packages/apport/crashdb_impl/launchpad.py", line 15, in <module>
      from httplib2 import FailedToDecompressContent
    File "/home/khteh/.local/lib/python3.10/site-packages/httplib2/__init__.py", line 52, in <module>
      from . import auth
    File "/home/khteh/.local/lib/python3.10/site-packages/httplib2/auth.py", line 20, in <module>
      auth_param_name = token.copy().setName("auth-param-name").addParseAction(pp.downcaseTokens)
  AttributeError: module 'pyparsing' has no attribute 'downcaseTokens'

  $ cat /proc/version_signature 
  Ubuntu 5.15.0-27.28-generic 5.15.30
  $ lsb_release -a
  No LSB modules are available.
  Distributor ID:	Ubuntu
  Description:	Ubuntu 22.04 LTS
  Release:	22.04
  Codename:	jammy

  $ sudo journalctl -f
  May 05 14:43:38 khteh-p17-2i systemd[1885]: Started Tracker metadata extractor.
  May 05 14:44:00 khteh-p17-2i update-notifier.desktop[15164]: Traceback (most recent call last):
  May 05 14:44:00 khteh-p17-2i update-notifier.desktop[15164]:   File "/usr/share/apport/apport-gtk", line 596, in <module>
  May 05 14:44:00 khteh-p17-2i update-notifier.desktop[15164]:     app = GTKUserInterface()
  May 05 14:44:00 khteh-p17-2i update-notifier.desktop[15164]:   File "/usr/share/apport/apport-gtk", line 56, in __init__
  May 05 14:44:00 khteh-p17-2i update-notifier.desktop[15164]:     apport.ui.UserInterface.__init__(self)
  May 05 14:44:00 khteh-p17-2i update-notifier.desktop[15164]:   File "/usr/lib/python3/dist-packages/apport/ui.py", line 209, in __init__
  May 05 14:44:00 khteh-p17-2i update-notifier.desktop[15164]:     self.crashdb = apport.crashdb.get_crashdb(None)
  May 05 14:44:00 khteh-p17-2i update-notifier.desktop[15164]:   File "/usr/lib/python3/dist-packages/apport/crashdb.py", line 842, in get_crashdb
  May 05 14:44:00 khteh-p17-2i update-notifier.desktop[15164]:     return load_crashdb(auth_file, settings['databases'][name])
  May 05 14:44:00 khteh-p17-2i update-notifier.desktop[15164]:   File "/usr/lib/python3/dist-packages/apport/crashdb.py", line 850, in load_crashdb
  May 05 14:44:00 khteh-p17-2i update-notifier.desktop[15164]:     m = __import__('apport.crashdb_impl.' + spec['impl'], globals(), locals(), ['CrashDatabase'])
  May 05 14:44:00 khteh-p17-2i update-notifier.desktop[15164]:   File "/usr/lib/python3/dist-packages/apport/crashdb_impl/launchpad.py", line 15, in <module>
  May 05 14:44:00 khteh-p17-2i update-notifier.desktop[15164]:     from httplib2 import FailedToDecompressContent
  May 05 14:44:00 khteh-p17-2i update-notifier.desktop[15164]:   File "/home/khteh/.local/lib/python3.10/site-packages/httplib2/__init__.py", line 52, in <module>
  May 05 14:44:00 khteh-p17-2i update-notifier.desktop[15164]:     from . import auth
  May 05 14:44:00 khteh-p17-2i update-notifier.desktop[15164]:   File "/home/khteh/.local/lib/python3.10/site-packages/httplib2/auth.py", line 20, in <module>
  May 05 14:44:00 khteh-p17-2i update-notifier.desktop[15164]:     auth_param_name = token.copy().setName("auth-param-name").addParseAction(pp.downcaseTokens)
  May 05 14:44:00 khteh-p17-2i update-notifier.desktop[15164]: AttributeError: module 'pyparsing' has no attribute 'downcaseTokens'

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




More information about the foundations-bugs mailing list