[Bugs] #1755 UNSP: sugar-emulator: better error message if X server is unreachable
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Thu Feb 25 06:58:06 EST 2010
#1755: sugar-emulator: better error message if X server is unreachable
------------------------------------------+---------------------------------
Reporter: sascha_silbe | Owner: sascha_silbe
Type: defect | Status: new
Priority: Unspecified by Maintainer | Milestone: 0.88
Component: sugar | Version: Git as of bugdate
Severity: Trivial | Keywords:
Distribution: Unspecified | Status_field: Assigned
------------------------------------------+---------------------------------
Seems I didn't test the error case of not being able to connect to the X
server at all. Reported by yevlempy on sugar-devel:
{{{
Xephyr cannot open host display. Is DISPLAY set?
Xephyr cannot open host display. Is DISPLAY set?
Xephyr cannot open host display. Is DISPLAY set?
Xephyr cannot open host display. Is DISPLAY set?
Xephyr cannot open host display. Is DISPLAY set?
Xephyr cannot open host display. Is DISPLAY set?
Xephyr cannot open host display. Is DISPLAY set?
Xephyr cannot open host display. Is DISPLAY set?
xrdb: No such file or directory
xrdb: Can't open display ':39'
Window manager error: Unable to open X display :39
1267079814.2631569 STARTUP: Starting the shell
Traceback (most recent call last):
File "/home/Rinki/project/sugar-jhbuild/install/bin/sugar-session", line
32, in <module>
import gtk
File "/usr/lib/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line
64, in <module>
_init()
File "/usr/lib/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line
52, in _init
_gtk.init_check()
RuntimeError: could not open display
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/Rinki/project/sugar-jhbuild/install/lib/python2.6/site-
packages/jarabe/util/emulator.py", line 156, in main
_kill_pipe(server)
File "/home/Rinki/project/sugar-jhbuild/install/lib/python2.6/site-
packages/jarabe/util/emulator.py", line 80, in _kill_pipe
os.kill(pipe.pid, signal.SIGTERM)
AttributeError: 'NoneType' object has no attribute 'pid'
}}}
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/1755>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list