Mixes static and GI library bindings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Client |
Fix Released
|
Medium
|
Martin Pitt | ||
Ubuntu One Control Panel |
Fix Released
|
Medium
|
Martin Pitt | ||
Ubuntu Single Sign On Client |
Fix Released
|
Medium
|
Martin Pitt | ||
gwibber (Ubuntu) |
Fix Released
|
High
|
Ken VanDine | ||
jockey (Ubuntu) |
Fix Released
|
Undecided
|
Martin Pitt | ||
oneconf (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
software-center (Ubuntu) |
Fix Released
|
Undecided
|
Martin Pitt | ||
ubiquity (Ubuntu) |
Fix Released
|
High
|
Martin Pitt | ||
ubuntu-sso-client (Ubuntu) |
Fix Released
|
High
|
Martin Pitt | ||
ubuntuone-client (Ubuntu) |
Fix Released
|
High
|
Martin Pitt | ||
ubuntuone-control-panel (Ubuntu) |
Fix Released
|
High
|
Martin Pitt | ||
update-manager (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
usb-creator (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This is a tracking bug for fixing programs which will crash with a newer pygobject >= 2.90. This is now absolutely zero tolerant against importing both the static and the GI version of a particular library. This was mostly the case with 2.28 as well, but did work in some cases (like "import gobject; from gi.repository import Gtk", in particular for "glib" and "gobject"). These now cause errors as well.
See bug 828751 for some more information for this.
$ ubuntuone-
Traceback (most recent call last):
File "/usr/bin/
from ubuntuone.
File "/usr/lib/
from ubuntuone.
File "/usr/lib/
from gi.repository import GLib
File "/usr/lib/
from ._gi import _API, Repository
ImportError: could not import gobject (error was: ImportError('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".',))
Related branches
- Michael Vogt: Pending requested
-
Diff: 125 lines (+29/-6)6 files modifieddebian/changelog (+4/-0)
softwarecenter/backend/aptchannels.py (+6/-1)
softwarecenter/backend/aptd.py (+7/-1)
softwarecenter/backend/weblive.py (+5/-1)
softwarecenter/db/history_impl/apthistory.py (+1/-2)
softwarecenter/db/update.py (+6/-1)
- Natalia Bidart (community): Approve
- Martin Pitt (community): Needs Resubmitting
- Facundo Batista (community): Approve
-
Diff: 131 lines (+58/-25)2 files modifiedubuntuone/platform/linux/notification.py (+28/-14)
ubuntuone/platform/linux/os_helper.py (+30/-11)
- Natalia Bidart (community): Approve
- Martin Pitt (community): Abstain
- dobey (community): Abstain
-
Diff: 138 lines (+20/-16)4 files modifiedubuntuone/controlpanel/dbus_service.py (+12/-4)
ubuntuone/controlpanel/dbustests/test_dbus_service.py (+1/-1)
ubuntuone/controlpanel/gui/gtk/gui.py (+2/-7)
ubuntuone/controlpanel/gui/gtk/tests/test_gui.py (+5/-4)
- Natalia Bidart (community): Approve
-
Diff: 24 lines (+8/-2)1 file modifiedubuntu_sso/utils/txsecrets.py (+8/-2)
- Ubuntu Installer Team: Pending requested
-
Diff: 48 lines (+13/-1)3 files modifieddebian/changelog (+8/-0)
ubiquity/gtkwidgets.py (+1/-1)
ubiquity/misc.py (+4/-0)
Changed in software-center (Ubuntu): | |
status: | New → Fix Committed |
assignee: | nobody → Martin Pitt (pitti) |
Changed in ubiquity (Ubuntu): | |
status: | Incomplete → Fix Committed |
Changed in jockey (Ubuntu): | |
status: | New → Confirmed |
Changed in ubuntuone-control-panel (Ubuntu): | |
assignee: | nobody → Martin Pitt (pitti) |
status: | Triaged → In Progress |
Changed in ubuntuone-client (Ubuntu): | |
status: | Triaged → In Progress |
Changed in ubuntuone-control-panel: | |
status: | New → Fix Committed |
Changed in ubuntuone-control-panel (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in ubuntu-sso-client: | |
assignee: | nobody → Martin Pitt (pitti) |
importance: | Undecided → Medium |
status: | New → Fix Committed |
Changed in ubuntuone-control-panel: | |
assignee: | nobody → Martin Pitt (pitti) |
importance: | Undecided → Medium |
Changed in ubuntuone-client: | |
assignee: | nobody → Martin Pitt (pitti) |
importance: | Undecided → Medium |
status: | New → Fix Committed |
Changed in ubuntu-sso-client: | |
milestone: | none → 1.3.3 |
Changed in ubuntu-sso-client: | |
status: | Fix Committed → Fix Released |
Changed in ubuntuone-control-panel: | |
milestone: | none → 1.1.3 |
Changed in ubuntuone-control-panel: | |
status: | Fix Committed → Fix Released |
Changed in ubuntuone-client: | |
milestone: | none → 1.7.2 |
Changed in ubuntuone-client: | |
status: | Fix Committed → Fix Released |
$ /usr/share/ oneconf/ oneconf- service oneconf/ oneconf- service" , line 102, in <module> e(loop) oneconf/ oneconf/ dbusconnect. py", line 55, in __init__ oneconf/ oneconf/ hosts.py" , line 26, in <module> python2. 7/dist- packages/ gi/__init_ _.py", line 23, in <module>
Traceback (most recent call last):
File "/usr/share/
myservice = DbusHostsServic
File "/usr/share/
from oneconf.hosts import Hosts, HostError
File "/usr/share/
from gi.repository import Gio
File "/usr/lib/
from ._gi import _API, Repository
ImportError: could not import gobject (error was: ImportError('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".',))