Bug 801879 - Import error when running sniff on F16
Import error when running sniff on F16
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: dogtail (Show other bugs)
16
Unspecified Unspecified
medium Severity high
: ---
: ---
Assigned To: Cameron Meadors
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-09 13:01 EST by Bryan Kearney
Modified: 2012-10-19 06:04 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-10-19 06:04:30 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Bryan Kearney 2012-03-09 13:01:43 EST
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 06:04:30 EDT
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.