[Bugs] #1403 UNSP: shell breaks if system bus cannot be accessed

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sun Sep 20 15:07:47 EDT 2009


#1403: shell breaks if system bus cannot be accessed
------------------------------------------+---------------------------------
    Reporter:  sascha_silbe               |          Owner:  tomeu                      
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar                      |        Version:  Git as of bugdate          
    Severity:  Major                      |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  New                        
------------------------------------------+---------------------------------
 Similar to #1401, the shell breaks if the system bus is unreachable, even
 though it's only required for optional features (non-permanent connection
 to jabber server, removable media, etc.):

 {{{
 Traceback (most recent call last):
   File "/home/sascha.silbe/sugar-jhbuild/install/bin/sugar-session", line
 225, in <module>
     main()
   File "/home/sascha.silbe/sugar-jhbuild/install/bin/sugar-session", line
 206, in main
     home_window = homewindow.get_instance()
   File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.5/site-
 packages/jarabe/desktop/homewindow.py", line 183, in get_instance
     _instance = HomeWindow()
   File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.5/site-
 packages/jarabe/desktop/homewindow.py", line 63, in __init__
     self._mesh_box = MeshBox()
   File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.5/site-
 packages/jarabe/desktop/meshbox.py", line 778, in __init__
     netmgr_observer = NetworkManagerObserver(self)
   File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.5/site-
 packages/jarabe/desktop/meshbox.py", line 656, in __init__
     self._bus = dbus.SystemBus()
   File "/usr/lib/pymodules/python2.5/dbus/_dbus.py", line 202, in __new__
     private=private)
   File "/usr/lib/pymodules/python2.5/dbus/_dbus.py", line 108, in __new__
     bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
   File "/usr/lib/pymodules/python2.5/dbus/bus.py", line 125, in __new__
     bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
 dbus.exceptions.DBusException: org.freedesktop.DBus.Error.FileNotFound:
 Failed to connect to socket /var/run/dbus/system_bus_socket: No such file
 or directory
 }}}

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


More information about the Bugs mailing list