Re: Orca orca crashing when braille is enabled



Hey Everyone:

With help from Sebastien and Samuel on the BrlAPI team, Orca now works
with the updated BrlAPI.  The Orca svn revision with this is 1879, and
it will make it into Orca v2.17.5 coming out next week.

Thanks!

Will

On Wed, 2007-01-03 at 15:05 -0500, Willie Walker wrote:
Hi Don:

I'm glad you looked into this and spoke up about it!

The short answer is that an incompatible change was made to the Python
bindings for BrlAPI sometime in the past 30 days or so.  I'll need to
modify Orca to work with this latest change.  If you want to fix this
one problem (there may be more - I'm not sure what all changed), you can
substitute the following for the "(everything)" parameter in question:

(0, brlapi.KEY_FLAGS_MASK | brlapi.KEY_TYPE_MASK | brlapi.KEY_CODE_MASK

Thanks for letting us know about this,

Will

On Wed, 2007-01-03 at 11:46 -0700, Don Raikes wrote:
Hi,

I installed pyrex 0.9.4.1 onto my fc6 system, pulled the latest brltty from subversion and compiled it.
I started python and ensured I could load the brlapi module just fine.

Next I started gnome.
the braille display said "screen not in text mode" until orca gave its welcome message at which point hte 
display cleared for an instant.
Then orca stopped talking, and the display went back to the screen not in text mode message.

I exited gnome and found this in my log file:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/orca/orca.py", line 1414, in main
    start(registry) # waits until we stop the registry
  File "/usr/lib/python2.5/site-packages/orca/orca.py", line 1093, in start
    _switchToPresentationManager(0) # focus_tracking_presenter
  File "/usr/lib/python2.5/site-packages/orca/orca.py", line 124, in _switchToPresentationManager
    _PRESENTATION_MANAGERS[_currentPresentationManager].activate()
  File "/usr/lib/python2.5/site-packages/orca/focus_tracking_presenter.py", line 837, in activate
    braille.setupKeyRanges(orca_state.activeScript.brailleBindings.keys())
  File "/usr/lib/python2.5/site-packages/orca/braille.py", line 935, in setupKeyRanges
    brlAPI.ignoreKeyRange(everything)
TypeError: function takes exactly 2 arguments (1 given)
python: Python/pystate.c:561: PyGILState_Ensure: Assertion `autoInterpreterState' failed.
/usr/bin/orca: line 92: 10513 Aborted                 /usr/bin/python -c "import orca.orca; 
orca.orca.main()" "$ARGS"

Any suggestions would be appreciated.

Cheers,

Don Raikes, Accessibility Specialist
4848 W. Rosebay S.
Tucson, AZ 85742
Home office: (520) 579-9481
AIM: dnraikes


_______________________________________________
Orca-list mailing list
Orca-list gnome org
http://mail.gnome.org/mailman/listinfo/orca-list




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