Package: python3-aptdaemon Version: 1.1.1-4 Severity: important Dear Maintainer,
When I tried to use aptdcon on Jessie, I got a error: -------------------- $ aptdcon -v Traceback (most recent call last): File "/usr/bin/aptdcon", line 25, in <module> import aptdaemon.console File "/usr/lib/python3/dist-packages/aptdaemon/console.py", line 49, in <module> from . import client File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 43, in <module> _GObject = GObject.GObject File "/usr/lib/python3/dist-packages/gi/__init__.py", line 62, in __getattr__ raise AttributeError(_static_binding_error) 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://bugzilla.gnome.org/show_bug.cgi?id=709183 -------------------- I'm not familiar with Python, but /usr/lib/python3/dist-packages/aptdaemon/client.py -------------------- 40: if 'gobject' in sys.modules and sys.modules['gobject'] is not None: 41: import gobject as GObject 42: GLib = GObject 43: _GObject = GObject.GObject 44: else: 45: from gi.repository import GObject, GLib 46: _GObject = GObject.Object -------------------- when I changed line#41 to "from gi.repository import GObject", it works. (so line#40 condition logic won't fit on Jessie as expected.) Thanks, -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python3-aptdaemon depends on: ii gir1.2-glib-2.0 1.42.0-2.2 ii iso-codes 3.57-1 ii python3-apt 0.9.3.11 ii python3-dbus 1.2.0-2+b3 ii python3-defer 1.0.6-2 ii python3-gi 3.14.0-1 ii python3-pkg-resources 5.5.1-1 pn python3:any <none> Versions of packages python3-aptdaemon recommends: ii aptdaemon 1.1.1-4 python3-aptdaemon suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org