Re: Orca orca crashing when braille is enabled
- From: "Don Raikes" <don raikes oracle com>
- To: "Willie Walker" <William Walker Sun COM>
- Cc: "orca-list gnome org" <orca-list gnome org>
- Subject: Re: Orca orca crashing when braille is enabled
- Date: Wed, 3 Jan 2007 14:55:14 -0700
Hi Willie,
Ok got past that error, now I ran into:
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 942, in setupKeyRanges
brlAPI.acceptKeyRange(cursorRoutingKeys)
TypeError: function takes exactly 2 arguments (1 given)
python: Python/pystate.c:561: PyGILState_Ensure: Assertion `autoInterpreterState' failed.
/usr/bin/orca: line 92: 11646 Aborted /usr/bin/python -c "import orca.orca; orca.orca.main()"
"$ARGS"
-----Original Message-----
From: William Walker Sun COM [mailto:William Walker Sun COM]On Behalf Of
Willie Walker
Sent: Wednesday, January 03, 2007 1:05 PM
To: Don Raikes
Cc: orca-list gnome org
Subject: Re: Orca orca crashing when braille is enabled
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]