AttributeError: When using gi.repository you must not import static modules like "gobject"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-center (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hi,
Within distribution upgrade from 14.04 to 14.10 bet development brach Ubuntu following error appeared:
Processing triggers for software-center (13.10-0ubuntu4.1) ...
Updating software catalog...this may take a moment.
Traceback (most recent call last):
File "/usr/sbin/
pathname, appinfo_
File "/usr/share/
cache = get_pkg_info()
File "/usr/share/
from softwarecenter.
File "/usr/share/
from aptdaemon.client import AptClient
File "/usr/lib/
_GObject = GObject.GObject
File "/usr/lib/
raise AttributeError(
AttributeError: When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject". See: https:/
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for install-info (5.2.0.dfsg.1-4) ...
Processing triggers for ccache (3.1.9-1) ...
Updating symlinks in /usr/lib/ccache ...
Errors were encountered while processing:
apt-cache policy software-center
software-center:
Installed: 13.10-0ubuntu4.1
Candidate: 13.10-0ubuntu4.1
Version table:
*** 13.10-0ubuntu4.1 0
500 http://
100 /var/lib/
Kind Regards,
Martin
Status changed to 'Confirmed' because the bug affects multiple users.