Bug ID 1076925
Summary caffeine doesn't start
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component GNOME
Assignee bnc-team-gnome@forge.provo.novell.com
Reporter dmarcoux@posteo.de
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Hi,

I am on Tumbleweed, I installed caffeine and when launching it (with caffeine
or caffeine-indicator), it fails with the following error.

Traceback (most recent call last):
  File "/usr/bin/caffeine", line 25, in <module>
    from gi.repository import GObject, Gtk, GLib
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 656, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible
  File "/usr/lib64/python3.6/site-packages/gi/importer.py", line 145, in
load_module
    importlib.import_module('gi.repository.' + dep.split("-")[0])
  File "/usr/lib64/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 656, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible
  File "/usr/lib64/python3.6/site-packages/gi/importer.py", line 145, in
load_module
    importlib.import_module('gi.repository.' + dep.split("-")[0])
  File "/usr/lib64/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 656, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible
  File "/usr/lib64/python3.6/site-packages/gi/importer.py", line 146, in
load_module
    dynamic_module = load_overrides(introspection_module)
  File "/usr/lib64/python3.6/site-packages/gi/overrides/__init__.py", line 125,
in load_overrides
    override_mod = importlib.import_module(override_package_name)
  File "/usr/lib64/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/usr/lib64/python3.6/site-packages/gi/overrides/Gdk.py", line 180, in
<module>
    Gdk.EventType._2BUTTON_PRESS = getattr(Gdk.EventType, "2BUTTON_PRESS")
AttributeError: type object 'EventType' has no attribute '2BUTTON_PRESS'


You are receiving this mail because: