[g-a-devel] Not chaching version of pyatspi
- From: Marcin Łyko <marcin lyko comarch com>
- To: gnome-accessibility-devel gnome org, mgorse alum wpi edu
- Subject: [g-a-devel] Not chaching version of pyatspi
- Date: Wed, 17 Aug 2011 12:26:05 +0200
Hi,
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
set_default_registry
registry._set_registry (main_loop, app_name)
File "/usr/lib/pymodules/python2.6/pyatspi/registry.py", line 157, in
_set_registry
self.desktop = factory (name, _ATSPI_ROOT_PATH, _ATSPI_DESKTOP)
File "/usr/lib/pymodules/python2.6/pyatspi/factory.py", line 87, in
__call__
return self._interfaces[itf] (self._cache, self, name, path,
dbus_object)
File "/usr/lib/pymodules/python2.6/pyatspi/accessible.py", line 219,
in __init__
self._soft_cache_data = self._cache.soft[(self._app_name,
self._acc_path)]
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]