GNOME Bugzilla – Bug 340662
text-setup is attempting to open the display.
Last modified: 2006-05-05 14:08:16 UTC
Please describe the problem: The text mode setup is attempting to open a display, and is therefore crashing with a runtime error Steps to reproduce: 1.From a console, do: orca --text-setup 2. 3. Actual results: This results in the following output: Traceback (most recent call last):
+ Trace 68022
import orca.orca
import atspi
import rolenames
import settings
import gtk.gdk
from _gtk import *
Expected results: The text mode setup should run. Does this happen every time? yes. Other information:
The problem here is the import of the gtk module which was just introduced with the addition of the magnification settings support. Rich, a way around this is to wrap the import and use of gtk stuff in try/except blocks.
Created attachment 64825 [details] Fix for the problem
Changes checked into CVS HEAD.
orca --text-setup is still crashing for me, now with the following output: Traceback (most recent call last):
+ Trace 68030
magZoomerBottom = screenHeight
Reopening the bug. I'll investigate further tomorrow.
Arrgh! It was a cut and paste error. Line 40 in settings.py needs to be changed from: screenWidth = 480 to screenHeight = 480 Al, if you are in a position to try this before tomorrow, I'd appreciate your feedback, otherwise, when I get in the office tomorrow and fire up my development computer, I'll fix it up then and check it in. Thanks.
Hi Rich, This change resolves the problem. Thanks.
Thanks Al. Change checked into CVS HEAD.