[Bugs] #1755 UNSP: sugar-emulator: better error message if X server is unreachable

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Thu May 13 09:35:56 EDT 2010


#1755: sugar-emulator: better error message if X server is unreachable
------------------------------------------+---------------------------------
    Reporter:  sascha_silbe               |          Owner:  sascha_silbe     
        Type:  defect                     |         Status:  accepted         
    Priority:  Unspecified by Maintainer  |      Milestone:  0.88.x           
   Component:  sugar                      |        Version:  Git as of bugdate
    Severity:  Trivial                    |       Keywords:  r!               
Distribution:  Unspecified                |   Status_field:  Assigned         
------------------------------------------+---------------------------------
Changes (by tomeu):

  * keywords:  r? => r!


Comment:

 +        sys.stderr.write('Error executing server: %s\n' % (exc, ))

 Better print the full exception including the traceback? If cannot use
 logging.error, then see in http://docs.python.org/library/traceback.html .

 +            if not pipe:
 +    if not server:

 Always use "is None", classes implementing a collection protocol evaluate
 to False when empty.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/1755#comment:3>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list