Skip to content

Guake suddenly not starting any more due to ModuleNotFoundError: No module named 'importlib_metadata' #1962

Description

@stefanofornari

Guake stopped to start. Launching it from the command line, it provides the following output, complaining it can not find the module import_metadata:

[ste ~] o(= guake
Guake not running, starting it
Loading Gnome schema from: /usr/lib/python3/dist-packages/guake/data
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 175, in activate_name_owner
    return self.get_name_owner(bus_name)
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner
    's', (bus_name,), **keywords)
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.guake3.RemoteControl': no such name

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/guake/main.py", line 451, in main
    remote_object = bus.get_object(DBUS_NAME, DBUS_PATH)
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 241, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 248, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 180, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 278, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.guake3.RemoteControl was not provided by any .service files

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/guake/__init__.py", line 28, in guake_version
    import importlib.metadata as importlib_metadata
ModuleNotFoundError: No module named 'importlib.metadata'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/guake", line 10, in <module>
    sys.exit(exec_main())
  File "/usr/lib/python3/dist-packages/guake/main.py", line 616, in exec_main
    if not main():
  File "/usr/lib/python3/dist-packages/guake/main.py", line 467, in main
    instance = Guake()
  File "/usr/lib/python3/dist-packages/guake/guake_app.py", line 123, in __init__
    or self.settings.general.get_string("schema-version") != guake_version()
  File "/usr/lib/python3/dist-packages/guake/__init__.py", line 30, in guake_version
    import importlib_metadata
ModuleNotFoundError: No module namModuleNotFoundError: No module named 'importlib_metadata'ed 'importlib_metadata'

I tried to reinstall but no luck...

  • Guake Version: see in about box.
    3.8.1-1ppabionic0

  • Please describe your system (Linux distribution and GNOME version).

  uname -a
Linux minidesktop 5.4.0-89-generic #100~18.04.1-Ubuntu SMP Wed Sep 29 10:59:42 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions