Below is a simple sugar app and the log it creates when run on today's build.<br><br>There appears to be a problem with:<br>[1] AttributeError: 'crop' object has no attribute '_activity_type'<br>and<br>[2] AttributeError: 'NoneType' object has no attribute 'get_name'
<br><br>If I remove the Presence calls (just the gtk button), I don't get these errors.&nbsp; Any ideas?&nbsp; Thanks.<br><br><br>import gtk<br><br>from sugar.activity.Activity import Activity<br>from sugar.presence import PresenceService
<br>import logging<br><br>class crop(Activity):<br>&nbsp;&nbsp;&nbsp; def __init__(self):<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Activity.__init__(self)<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; button = gtk.Button('Why am I busted?')<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; self.add(button)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; button.show()<br>
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; self._ps = PresenceService.get_instance()<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; me = self._ps.get_owner()<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; name = me.get_name()<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; logging.info(&quot;I am %s&quot; % name)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; activities = self._ps.get_activities()
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; for act in activities:<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; logging.info(&quot;Activity: %s&quot; % act.get_id())<br><br><br># # #<br><br>Traceback (most recent call last):<br>&nbsp; File &quot;/root/sugars/09-05/sugar-jhbuild/build/share/sugar/shell/frame/BottomPanel.py&quot;, line 53, in __activity_clicked_cb
<br>&nbsp;&nbsp;&nbsp; self._shell.start_activity(icon.get_bundle_id())<br>&nbsp; File &quot;/root/sugars/09-05/sugar-jhbuild/build/share/sugar/shell/Shell.py&quot;, line 163, in start_activity<br>&nbsp;&nbsp;&nbsp; activity = ActivityFactory.create(activity_type)
<br>&nbsp; File &quot;/root/sugars/09-05/sugar-jhbuild/build/lib/python2.4/site-packages/sugar/activity/ActivityFactory.py&quot;, line 56, in create<br>&nbsp;&nbsp;&nbsp; xid = factory.create()<br>&nbsp; File &quot;/usr/lib/python2.4/site-packages/dbus/proxies.py&quot;, line 25, in __call__
<br>&nbsp;&nbsp;&nbsp; ret = self._proxy_method (*args, **keywords)<br>&nbsp; File &quot;/usr/lib/python2.4/site-packages/dbus/proxies.py&quot;, line 102, in __call__<br>&nbsp;&nbsp;&nbsp; reply_message = self._connection.send_with_reply_and_block(message, timeout)
<br>&nbsp; File &quot;dbus_bindings.pyx&quot;, line 455, in dbus_bindings.Connection.send_with_reply_and_block<br>DBusException: Traceback (most recent call last):<br>&nbsp; File &quot;/usr/lib/python2.4/site-packages/dbus/service.py&quot;, line 304, in _message_cb
<br>&nbsp;&nbsp;&nbsp; retval = candidate_method(self, *args, **keywords)<br>&nbsp; File &quot;/root/sugars/09-05/sugar-jhbuild/build/lib/python2.4/site-packages/sugar/activity/ActivityFactory.py&quot;, line 42, in create<br>&nbsp;&nbsp;&nbsp; activity = self._class()
<br>&nbsp; File &quot;/root/sugars/09-05/sugar-jhbuild/build/share/sugar/activities/crop/crop.py&quot;, line 19, in __init__<br>&nbsp;&nbsp;&nbsp; name = me.get_name()<br>AttributeError: 'NoneType' object has no attribute 'get_name'<br><br>Traceback (most recent call last):
<br>&nbsp; File &quot;/root/sugars/09-05/sugar-jhbuild/build/share/sugar/shell/Shell.py&quot;, line 107, in __window_opened_cb<br>&nbsp;&nbsp;&nbsp; host = ActivityHost(self, window)<br>&nbsp; File &quot;/root/sugars/09-05/sugar-jhbuild/build/share/sugar/shell/ActivityHost.py&quot;, line 24, in __init__
<br>&nbsp;&nbsp;&nbsp; self._type = self._activity.get_type()<br>&nbsp; File &quot;/usr/lib/python2.4/site-packages/dbus/proxies.py&quot;, line 102, in __call__<br>&nbsp;&nbsp;&nbsp; reply_message = self._connection.send_with_reply_and_block(message, timeout)
<br>&nbsp; File &quot;dbus_bindings.pyx&quot;, line 455, in dbus_bindings.Connection.send_with_reply_and_block<br>DBusException: Traceback (most recent call last):<br>&nbsp; File &quot;/usr/lib/python2.4/site-packages/dbus/service.py&quot;, line 304, in _message_cb
<br>&nbsp;&nbsp;&nbsp; retval = candidate_method(self, *args, **keywords)<br>&nbsp; File &quot;/root/sugars/09-05/sugar-jhbuild/build/lib/python2.4/site-packages/sugar/activity/Activity.py&quot;, line 52, in get_type<br>&nbsp;&nbsp;&nbsp; return self._activity.get_type()
<br>&nbsp; File &quot;/root/sugars/09-05/sugar-jhbuild/build/lib/python2.4/site-packages/sugar/activity/Activity.py&quot;, line 97, in get_type<br>&nbsp;&nbsp;&nbsp; return self._activity_type<br>AttributeError: 'crop' object has no attribute '_activity_type'
<br>