Bug 801879 - Import error when running sniff on F16
Summary: Import error when running sniff on F16
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dogtail
Version: 16
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
Assignee: Cameron Meadors
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-09 18:01 UTC by Bryan Kearney
Modified: 2012-10-19 10:04 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-19 10:04:30 UTC
Type: ---


Attachments (Terms of Use)

Description Bryan Kearney 2012-03-09 18:01:43 UTC
Attempting to run sniff on an F16 machine, I get the following traceback.

[bkearney@bkearney candlepin]$ rpm -qf /usr/bin/sniff
dogtail-0.7.0-3.fc15.noarch
[bkearney@bkearney candlepin]$ sniff
Traceback (most recent call last):
  File "/usr/bin/sniff", line 19, in <module>
    from dogtail import tree
  File "/usr/lib/python2.7/site-packages/dogtail/tree.py", line 74, in <module>
    import rawinput
  File "/usr/lib/python2.7/site-packages/dogtail/rawinput.py", line 20, in <module>
    from pyatspi import Registry as registry
  File "/usr/lib/python2.7/site-packages/pyatspi/__init__.py", line 17, in <module>
    from gi.repository import Atspi
  File "/usr/lib64/python2.7/site-packages/gi/__init__.py", line 23, 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".',))

Comment 1 Vitezslav Humpa 2012-10-19 10:04:30 UTC
This has been running an old(pre-dbus) version of dogtail on GNOME3. Works from 0.8.0.


Note You need to log in before you can comment on or make changes to this bug.