dogtail Import tree and 'not SpiException'



I have recently installed dogtail, but when I try to import it I get the following error:
 
>>> from dogtail.config import config
>>> from dogtail import distro
>>> from dogtail import tree
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/dogtail/tree.py", line 1254, in <module>
    children = root.children
  File "/usr/lib/python2.5/site-packages/dogtail/tree.py", line 467, in __getattr__
    try: a = self.__accessible.getChildAtIndex (i)
  File "pyspi.pyx", line 497, in atspi.Accessible.getChildAtIndex
  File "pyspi.pyx", line 146, in atspi.exception_handler
TypeError: exceptions must be strings, classes, or instances, not SpiException
 
Does anyone know what the problem could be.
 
Note that I installed the package using rpms.
 
Info:
 
dogtail-0.6.1-1.fc7
pyspi-0.6.2-5.fc7
Python 2.5
Linux Fedora Core 7
 
Tom Pajak


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]