Presence server crashes if no interface is configure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sugar-presence-service (Ubuntu) |
Fix Released
|
Undecided
|
Morgan Collett |
Bug Description
Binary package hint: sugar
It looks like Sugar (and Sugar-Emulator) will fail to start if there is not an ethx(??) interface configured.
--
1226490893.407684 ERROR dbus.proxies: Introspect error on org.laptop.
1226490893.946251 WARNING sugar.presence.
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/share/
view.
File "/usr/share/
_instance = Shell()
File "/usr/share/
self._model = shellmodel.
File "/usr/share/
_instance = ShellModel()
File "/usr/share/
self._owner = ShellOwner()
File "/usr/share/
self._invites = Invites()
File "/usr/share/
owner = ps.get_owner()
File "/usr/lib/
raise RuntimeError("Could not get owner object.")
RuntimeError: Could not get owner object.
--
Doing 'sudo ifconfig eth0 192.168.1.20 netmask 255.255.255.0' allow the boot to continue and start Sugar interface.
Simon.
Changed in sugar: | |
assignee: | nobody → morgan |
status: | New → Confirmed |
Changed in sugar-presence-service: | |
status: | Unknown → New |
Changed in sugar-presence-service: | |
status: | New → Confirmed |
It works for me, with only the lo interface up.
If you can reproduce, can you run with "PRESENCESERVIC E_DEBUG= 1 SUGAR_LOGGER_ LEVEL=debug sugar-emulator" and attach your ~/.sugar/ default/ presenceservice .log - and check if presence-service is running at the time?