[g-a-devel] Not chaching version of pyatspi


I've just noticed that recent versions of the pyatspi library do not
support the 'MAIN_LOOP_NONE' mode. It seems that the only working mode
of pyatspi is now the 'MAIN_LOOP_GLIB'.

I also tested older versions of pyatspi (1.91.x) and the support for
'MAIN_LOOP_NONE' seems to be broken there:
>>> import pyatspi
>>> pyatspi.set_default_registry(pyatspi.MAIN_LOOP_NONE)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/pymodules/python2.6/pyatspi/registry.py", line 450, in
    registry._set_registry (main_loop, app_name)
  File "/usr/lib/pymodules/python2.6/pyatspi/registry.py", line 157, in
    self.desktop = factory (name, _ATSPI_ROOT_PATH, _ATSPI_DESKTOP)
  File "/usr/lib/pymodules/python2.6/pyatspi/factory.py", line 87, in
    return self._interfaces[itf] (self._cache, self, name, path,
  File "/usr/lib/pymodules/python2.6/pyatspi/accessible.py", line 219,
in __init__
    self._soft_cache_data = self._cache.soft[(self._app_name,
AttributeError: 'NoneType' object has no attribute 'soft'

Is there any plan to make the not caching pyatspi working?

Best Regards,
Marcin Łyko

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