Your message dated Mon, 16 Sep 2013 20:16:43 -0500
with message-id <20130917011643.ga4...@piware.de>
and subject line Re: Bug#708872: ImportError: could not import gobject
has caused the Debian Bug report #708872,
regarding ImportError: could not import gobject
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
708872: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708872
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-gi
Version: 3.8.2-1
Severity: important

This error happened when launching gnome-mousetrap. But it really looked like a
python-gi bug, so here it is :

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/mousetrap/app/main.py", line 50, in 
<module>
    from lib import httpd, dbusd, settings
  File "/usr/lib/python2.7/dist-packages/mousetrap/app/lib/httpd.py", line 31, 
in <module>
    import mouse
  File "/usr/lib/python2.7/dist-packages/mousetrap/app/lib/mouse.py", line 30, 
in <module>
    import pyatspi
  File "/usr/lib/python2.7/dist-packages/pyatspi/__init__.py", line 17, in 
<module>
    from gi.repository import Atspi
  File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line 27, in <module>
    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".',))


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (101, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.9.2 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-gi depends on:
ii  gir1.2-glib-2.0        1.36.0-2+b1
ii  libc6                  2.17-3
ii  libffi6                3.0.13-4
ii  libgirepository-1.0-1  1.36.0-2+b1
ii  libglib2.0-0           2.36.1-2build1
ii  multiarch-support      2.17-3
ii  python                 2.7.3-5

python-gi recommends no packages.

Versions of packages python-gi suggests:
ii  python-gi-cairo  3.8.2-1

-- no debconf information

--- End Message ---
--- Begin Message ---
Jérémy Lal [2013-05-19 12:30 +0200]:
> This error happened when launching gnome-mousetrap. But it really looked like 
> a
> python-gi bug, so here it is :
> [...]
> 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".',))

The error message is pretty clear: gnome-mousetrap must not use the
dynamic GI bindings and the static gobject bindings at the same time,
hence that explicit error message. Closing, as it seems
gnome-mousetrap isn't actually packaged in Debian.

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

--- End Message ---

Reply via email to