GNOME Bugzilla – Bug 627038
I see a traceback error message when I would like restart Orca with orca --replace command
Last modified: 2011-01-09 18:52:32 UTC
Dear Developers, When Orca is running, and I run orca --replace command, some time I see following traceback error message and Orca is not started: root@hammera-laptop:/orca/orca# orca --replace ** (orca:4237): WARNING **: Trying to register gtype 'WnckWindowState' as enum when in fact it is of type 'GFlags' ** (orca:4237): WARNING **: Trying to register gtype 'WnckWindowActions' as enum when in fact it is of type 'GFlags' ** (orca:4237): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags' Traceback (most recent call last):
+ Trace 223253
init(pyatspi.Registry)
registry.registerEventListener(_onChildrenChanged,
raise RuntimeError('Could not find or activate registry')
root@hammera-laptop:/orca/orca# I using Ubuntu Lucid, Orca latest uptodated git master version. When I run orca --replace command again, Orca is launch fine. Unfortunately I unable to make this problem a debug.out file if I see this traceback error message. Or have a practical method to do Orca debug with this situation? I tryed orca --replace --debug-file=debug.out command. Attila
I see this was done from a root shell, can you reproduce this from a normal user shell particularly the user running orca? if not this is just that when you use sudo / us to become root a lot of your enviroment changes, and you can't communicate with orbit and corba touse pyatspi, or for that matter dbus.
Trevor, normal account I newer see this problem with longer time. For example now I try running orca --replace command with my normal account, Orca process replaced succesful and Orca restarted. Attila
I'm not sure I understand what you aid there, do I understand correctly that you don't have any issue anymore?
Trev, I'm taking Attila's comments to mean that things are working as expected. Closing as INCOMPLETE because I don't believe that we did anything in Orca to make this problem go away. We just don't know why it happened in the first place and cannot reproduce it now. Plus, for some reason, bgo lacks WORKSFORME. Attila, if the bug reappears, please re-open. Thanks guys!