Re: [orca-list] I see a traceback error message when I would like using GDM shutdown possibilities toggle button, needs confirmation
- From: Joanmarie Diggs <joanied gnome org>
- To: Hammer Attila <hammera pickup hu>
- Cc: orca-list gnome org
- Subject: Re: [orca-list] I see a traceback error message when I would like using GDM shutdown possibilities toggle button, needs confirmation
- Date: Wed, 19 Jan 2011 10:41:57 -0500
Hey Attila.
I'm wondering if you followed the instructions to remove/uninstall the
old Orca. As a reminder here are the first two points from my Flag Day
message:
----------
1. You will want to be sure to uninstall -- or otherwise remove -- your
currently-installed Orca *if* you plan to install the current master
into the same location.
2. Default.py has been moved to within the scripts dir. This is one of
the reasons item number one matters. If you have local scripts
and/or an orca-customizations.py and/or any app settings files which
import the default script, these will need to updated.
----------
The reason I'm wondering if you had indeed done this is your traceback.
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/orca/event_manager.py",
line 236, in _dequeue
This call is clearly to the new event manager, which was created during
the refactor.
self._processObjectEvent(event)
File "/usr/local/lib/python2.6/dist-packages/orca/event_manager.py",
line 482, in _processObjectEvent
Same for that call.
script.processObjectEvent(event)
File "/usr/local/lib/python2.6/dist-packages/orca/script.py", line 403,
in processObjectEvent
Script.py never moved. No problem.
self.listeners[key](event)
File "/usr/local/lib/python2.6/dist-packages/orca/default.py", line
3381, in onStateChanged
But there is no default.py in orca any longer. This is where default.py
used to be. If you were using the correct default.py you should see the
path as /usr/local/lib/pythong2.6/dist-packages/orca/scripts/default.py.
The fact that your traceback lacks the 'scripts' bit suggests to me that
you did not remove the original Orca, but just installed the new Orca
and now have two defaults. The old default is the one being found first.
And this is problematic due to things like:
orca.visualAppearanceChanged(event, event.source)
AttributeError: 'module' object has no attribute 'visualAppearanceChanged'
orca.visualAppearanceChanged being called by the old default.py. The new
default.py (in the scripts module) would not call
orca.visualAppearanceChanged because it no longer exists. <smile> That
would also explain this traceback.
Were it me, I would completely get rid of the contents of
/usr/local/lib/python2.6/distpackages/orca (carefully). Failing that, I
would at least delete the following:
/usr/local/lib/python2.6/distpackages/orca/default.py
/usr/local/lib/python2.6/distpackages/orca/default.pyo
/usr/local/lib/python2.6/distpackages/orca/default.pyc
/usr/local/lib/python2.6/distpackages/orca/focus_tracking_presenter.py
/usr/local/lib/python2.6/distpackages/orca/focus_tracking_presenter.pyo
/usr/local/lib/python2.6/distpackages/orca/focus_tracking_presenter.pyc
/usr/local/lib/python2.6/distpackages/orca/presentation_manager.py
/usr/local/lib/python2.6/distpackages/orca/presentation_manager.pyo
/usr/local/lib/python2.6/distpackages/orca/presentation_manager.pyc
Please let me know what happens after you remove the files which should
not exist. Thanks!
--joanie
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]