#1846 BLOC Trial-2: Sugar crashes when nickname is " "
Zarro Boogs per Child
bugtracker at laptop.org
Thu Jun 28 13:28:25 EDT 2007
#1846: Sugar crashes when nickname is " "
---------------------+------------------------------------------------------
Reporter: cjb | Owner: dcbw
Type: defect | Status: new
Priority: blocker | Milestone: Trial-2
Component: sugar | Version: Build 406
Keywords: | Verified: 0
---------------------+------------------------------------------------------
With this traceback:
{{{
STDERR - Traceback (most recent call last):
File "/usr/bin/sugar-shell", line 85, in ?
model = ShellModel()
File "/usr/share/sugar/shell/model/ShellModel.py", line 51, in __init__
self._owner.announce()
File "/usr/share/sugar/shell/model/Owner.py", line 91, in announce
PRESENCE_SERVICE_TYPE, properties=props)
File "/usr/lib/python2.4/site-
packages/sugar/presence/PresenceService.py", line 216, in register_service
serv_op = self._ps.registerService(name, stype, properties, address,
port, domain)
File "/usr/lib/python2.4/site-packages/dbus/proxies.py", line 85, in
__call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python2.4/site-packages/dbus/proxies.py", line 169, in
__call__
reply_message =
self._connection.send_message_with_reply_and_block(message, timeout)
DBusException: org.freedesktop.DBus.Python.exceptions.ValueError:
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/dbus/service.py", line 451, in
_message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/share/sugar/services/presence/PresenceService.py", line 272,
in registerService
port, domain, sender)
File "/usr/share/sugar/services/presence/PresenceService.py", line 816,
in register_service
local_publisher=sender)
File "/usr/share/sugar/services/presence/Service.py", line 177, in
__init__
raise ValueError("must specify a valid service name.")
ValueError: must specify a valid service name.
}}}
Seen on build406. We'll need to backport a fix for this to 406, I think.
--
Ticket URL: <http://dev.laptop.org/ticket/1846>
One Laptop Per Child <http://laptop.org/>
More information about the Bugs
mailing list