[orca-list] Blind debugging in Ubuntu
- From: Bill Cox <waywardgeek gmail com>
- To: Orca-list <orca-list gnome org>
- Subject: [orca-list] Blind debugging in Ubuntu
- Date: Tue, 25 May 2010 11:12:37 -0400
There are some blind programmers who would like to help debug things.
Not being blind, I have not figured out the tricks. First, is
Accerciser reasonably accessible? A brilliant blind programmer I knew
tried it over the weekend and could not get anywhere. Is there any
tutorial for the blind?
Second, it would be great to be able to run Orca in a console while
running speakup. In particular, if we put a pdb.set_trace() in Orca
code, then obviously Orca stops reading anything in a gnome-terminal.
However, if we can switch to the console, we could single-step and so
on. In Ubuntu Lucid, after setting DISPLAY=:0.0, typing 'orca
--repalce' on a console screen results in this error:
** (orca:8811): WARNING **: Trying to register gtype 'WnckWindowState'
as enum when in fact it is of type 'GFlags'
** (orca:8811): WARNING **: Trying to register gtype
'WnckWindowActions' as enum when in fact it is of type 'GFlags'
** (orca:8811): WARNING **: Trying to register gtype
'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/pymodules/python2.6/orca/orca.py", line 1747, in main
init(pyatspi.Registry)
File "/usr/lib/pymodules/python2.6/orca/orca.py", line 1266, in init
registry.registerEventListener(_onChildrenChanged,
File "/usr/lib/python2.6/dist-packages/pyatspi/registry.py", line
331, in __getattribute__
raise RuntimeError('Could not find or activate registry')
RuntimeError: Could not find or activate registry
Any ideas how to make it work? I really want to start getting blind
programmers involved, and these two issues seem like some pretty basic
prerequisites.
Thanks,
Bill
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]