Re: [orca-list] Orca "Where Am I" migrated to the new speech generator



Hi Will,
Works fine!  Now I can run the old and the new orca without problems.
Thanks.

On 06/12/2009 07:46 AM, Willie Walker wrote:
Hi Jose:

You're not missing anything. This is a compatibility issue between the old and new code. You've convinced me that my anal retentive desire to change the handler names to something more appropriate is outweighed by the need to keep things compatible. :-) So, I've just pushed back a change to keep things backwards compatible so old/new versions of Orca will work with your user-settings.py file.

To test this, you'll need to put your user-settings.py file back the way it was: change 'presentStatusBarHandler' to 'getStatusBarHandler' and also change 'presentTitleHandler' to 'getTitleHandler' if a line for that exists. Please let me know how it works.

Thanks!

Will

jose vilmar estacio de souza wrote:
Hi Will,
I made the changes in the ~/.orca/user-settings.py file and all is ok.
The small problem is that probably I could not keep to versions of orca installed easily since that the ~/.orca/user-settings.py file is not understand by the old version.
Am I missing something?
Thanks.

On 06/11/2009 09:44 AM, Willie Walker wrote:
Hi Jose:

Yikes. Looks like we made a change that is going to cause existing user-settings.py files to be incompatible with the new version if you've customized some specific keybindings. I've just checked in a change to handle the stack trace, but the result is that your custom keybindings will still not work.

To work around this, you can edit your ~/.orca/user-settings.py file and change 'getStatusBarHandler' to 'presentStatusBarHandler' and also change 'getTitleHandler' to 'presentTitleHandler' if a line for that exists. Alternatively, you can launch the orca setup and redo your customizations.

I'd like to keep the name change if possible, but if there is enough of an outcry I can always put the status bar and title handler names back to what they were.

Will

On Jun 11, 2009, at 7:08 AM, jose vilmar estacio de souza wrote:

Hi Will and all,

Today I updated orca in my ubuntu 9.04 machine using the following steps:

1) git pull
2) ./autogen.sh --prefix=/home/vilmar/orca/dev
3) make && make install

When I try run orca I'm receiving the following error:

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/vilmar/orca/dev/lib/python2.6/site-packages/orca/orca.py", line 1639, in main
start(pyatspi.Registry) # waits until we stop the registry
File "/home/vilmar/orca/dev/lib/python2.6/site-packages/orca/orca.py", line 1219, in start
_switchToPresentationManager(0) # focus_tracking_presenter
File "/home/vilmar/orca/dev/lib/python2.6/site-packages/orca/orca.py", line 142, in _switchToPresentationManager
_PRESENTATION_MANAGERS[_currentPresentationManager].activate()
File "/home/vilmar/orca/dev/lib/python2.6/site-packages/orca/focus_tracking_presenter.py", line 1067, in activate
self.setActiveScript(self.getScript(None), "activate")
File "/home/vilmar/orca/dev/lib/python2.6/site-packages/orca/focus_tracking_presenter.py", line 290, in getScript
self._defaultScript = default.Script(None)
File "/home/vilmar/orca/dev/lib/python2.6/site-packages/orca/default.py", line 80, in __init__
script.Script.__init__(self, app)
File "/home/vilmar/orca/dev/lib/python2.6/site-packages/orca/script.py", line 86, in __init__
self.keyBindings = self.getKeyBindings()
File "/home/vilmar/orca/dev/lib/python2.6/site-packages/orca/default.py", line 1948, in getKeyBindings
keyBindings = settings.overrideKeyBindings(self, keyBindings)
File "/home/vilmar/.orca/user-settings.py", line 156, in overrideKeyBindings
keyB.removeByHandler(script.inputEventHandlers['getStatusBarHandler'])
KeyError: 'getStatusBarHandler'



On 06/10/2009 01:05 PM, Willie Walker wrote:
Hi All:

As part of the next step of the speech generator refactor, we've just tackled the "Where Am I" code. This has simplified a lot of code and has also caught/eliminated a number of latent bugs.

We've tested this a fair amount and I've checked in the bulk of the changes to the master branch of GIT. Joanie and I are noticing some test discrepancies between our machines, however, and will be working on resolving these before the 2.27.3 release coming up next week.

So, if you'd like to test against the master branch, please do and let us know of issues you find.

Many thanks!

Will
_______________________________________________
Orca-list mailing list
Orca-list gnome org
http://mail.gnome.org/mailman/listinfo/orca-list
Visit http://live.gnome.org/Orca for more information on Orca.
The manual is at http://library.gnome.org/users/gnome-access-guide/nightly/ats-2.html
The FAQ is at http://live.gnome.org/Orca/FrequentlyAskedQuestions
Netiquette Guidelines are at http://live.gnome.org/Orca/FrequentlyAskedQuestions/NetiquetteGuidelines

--
José Vilmar Estácio de Souza
Informal Informatica
msn: vilmar informal com br
aim: zevilmar
gmail: jvilmar gmail com
fone: +55 21-2555-2650
cel: +55 21-8868-0859


_______________________________________________
Orca-list mailing list
Orca-list gnome org
http://mail.gnome.org/mailman/listinfo/orca-list
Visit http://live.gnome.org/Orca for more information on Orca.
The manual is at http://library.gnome.org/users/gnome-access-guide/nightly/ats-2.html
The FAQ is at http://live.gnome.org/Orca/FrequentlyAskedQuestions
Netiquette Guidelines are at http://live.gnome.org/Orca/FrequentlyAskedQuestions/NetiquetteGuidelines




--
José Vilmar Estácio de Souza
Informal Informatica
msn: vilmar informal com br
aim: zevilmar
gmail: jvilmar gmail com
fone: +55 21-2555-2650
cel: +55 21-8868-0859





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