Public bug reported:
Caffeine indicator crashes on startup and complaining about missing _gi.
(python_gi, python3_gi and python_gobject are all installed)
This was on
Ubuntu Xenial Xerus (development branch)
Release: 16.04
Caffeine Version: 2.8.3-3
Full mesage was:
Traceback (most recent call last):
File "/usr/bin/caffeine-indicator", line 30, in <module>
from gi.repository import GLib, Gtk, GObject, AppIndicator3
File "/usr/lib/python3/dist-packages/gi/__init__.py", line 42, in <module>
from . import _gi
ImportError: cannot import name '_gi'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in
apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>
import apport.fileutils
File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in
<module>
from apport.packaging_impl import impl as packaging
File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 23, in
<module>
import apt
File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>
import apt_pkg
ImportError: No module named 'apt_pkg'
Original exception was:
Traceback (most recent call last):
File "/usr/bin/caffeine-indicator", line 30, in <module>
from gi.repository import GLib, Gtk, GObject, AppIndicator3
File "/usr/lib/python3/dist-packages/gi/__init__.py", line 42, in <module>
from . import _gi
ImportError: cannot import name '_gi'
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: caffeine 2.8.3-3
ProcVersionSignature: Ubuntu 4.3.0-7.18-generic 4.3.3
Uname: Linux 4.3.0-7-generic x86_64
ApportVersion: 2.19.3-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Jan 26 12:55:56 2016
InstallationDate: Installed on 2016-01-25 (0 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160125)
PackageArchitecture: all
ProcEnviron:
LANGUAGE=de_AT:de
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=de_AT.UTF-8
SHELL=/bin/bash
SourcePackage: caffeine
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: caffeine (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug xenial
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1538116
Title:
Caffeine Indicator error on startup. ImportError: cannot import name
'_gi'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/caffeine/+bug/1538116/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs