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

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sat Mar 5 11:20:41 EST 2011


#2667: fails to start inside chroot
------------------------------------------+---------------------------------
    Reporter:  sascha_silbe               |          Owner:  walter                     
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Turtleart                  |        Version:  Git as of bugdate          
    Severity:  Blocker                    |       Keywords:                             
Status_field:  New                        |   Distribution:                             
   Seeta_dev:                             |  
------------------------------------------+---------------------------------
 I'm doing most of my development work and testing on my desktop inside a
 Debian Squeeze chroot. {{{org.laptop.TurtleArtActivity}}} fails to start
 inside the chroot because the dbus system bus is unavailable:

 {{{
 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 687, in _setup_canvas
     profile.get_nick_name())
   File "/home/sascha.silbe/sugar-
 jhbuild/install/share/sugar/activities/TurtleArt.activity/TurtleArt/tawindow.py",
 line 149, in __init__
     self.hw = get_hardware()
   File "/home/sascha.silbe/sugar-
 jhbuild/install/share/sugar/activities/TurtleArt.activity/TurtleArt/tautils.py",
 line 826, 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
 }}}

 See
 [http://git.sugarlabs.org/sugar/mainline/commit/08b278a01d1c96ff8a04c868acb3d744ce1092e4
 08b278a] for how I fixed a similar issue in sugar.

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


More information about the Bugs mailing list