[Bugs] #2667 UNSP: fails to start inside chroot

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sat Mar 12 11:03:04 EST 2011


#2667: fails to start inside chroot
------------------------------------------+---------------------------------
    Reporter:  sascha_silbe               |          Owner:  walter                     
        Type:  defect                     |         Status:  reopened                   
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Turtleart                  |        Version:  Git as of bugdate          
    Severity:  Blocker                    |     Resolution:                             
    Keywords:                             |   Status_field:  New                        
Distribution:                             |      Seeta_dev:                             
------------------------------------------+---------------------------------
Changes (by sascha_silbe):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 Still happens:

 {{{
 Traceback (most recent call last):
   File "/home/sascha.silbe/sugar-jhbuild/install/bin/sugar-activity", line
 21, in <module>
     main.main()
   File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.6/site-
 packages/sugar/activity/main.py", line 158, in main
     create_activity_instance(activity_constructor, activity_handle)
   File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.6/site-
 packages/sugar/activity/main.py", line 37, in create_activity_instance
     activity = constructor(handle)
   File "/home/sascha.silbe/sugar-
 jhbuild/install/share/sugar/activities/TurtleArt.activity/TurtleArtActivity.py",
 line 73, in __init__
     self._setup_canvas(canvas)
   File "/home/sascha.silbe/sugar-
 jhbuild/install/share/sugar/activities/TurtleArt.activity/TurtleArtActivity.py",
 line 700, in _setup_canvas
     profile.get_nick_name())
   File "/home/sascha.silbe/sugar-
 jhbuild/install/share/sugar/activities/TurtleArt.activity/TurtleArt/tawindow.py",
 line 151, in __init__
     self.hw = get_hardware()
   File "/home/sascha.silbe/sugar-
 jhbuild/install/share/sugar/activities/TurtleArt.activity/TurtleArt/tautils.py",
 line 792, in get_hardware
     bus = dbus.SystemBus()
   File "/usr/lib/pymodules/python2.6/dbus/_dbus.py", line 202, in __new__
     private=private)
   File "/usr/lib/pymodules/python2.6/dbus/_dbus.py", line 108, in __new__
     bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
   File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 125, in __new__
     bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
 dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoServer: Failed
 to connect to socket /var/run/dbus/system_bus_socket: Connection refused
 }}}

 You wrapped the {{{bus.get_object()}}} call in a try/except block, but not
 the {{{dbus.SystemBus()}}} call that failed. Both calls can throw a
 DBusException that needs to be caught.

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


More information about the Bugs mailing list