[Sugar-devel] JS activity issues

Daniel Narvaez dwnarvaez at gmail.com
Sat Jul 13 19:27:59 EDT 2013


On 14 July 2013 01:19, Daniel Narvaez <dwnarvaez at gmail.com> wrote:

> On 14 July 2013 01:02, Daniel Narvaez <dwnarvaez at gmail.com> wrote:
>
>>
>> (2) Somewhere along the line, my activity does not launch/close
>>> properly: a gray circle on the frame (always a bad sign) along with my
>>> ever-flashing activity icon.  Empty activity log file.
>>>
>>> Lots of this in shell.log
>>> 1373753530.754283 DEBUG gwebsockets: Got data, length 52
>>> 1373753530.754836 DEBUG gwebsockets: Text message
>>> {"method":"activity.close","id
>>> ":9,"params":[]}
>>> Traceback (most recent call last):
>>>   File
>>> "/home/walter/sugar-build/build/out/install/lib/python2.7/site-packages/j
>>> arabe/apisocket.py", line 288, in _message_received_cb
>>>     getattr(self._apis[api_name](client), method_name)(request)
>>>   File
>>> "/home/walter/sugar-build/build/out/install/lib/python2.7/site-packages/j
>>> arabe/apisocket.py", line 57, in close
>>>     self._activity.get_window().close(GLib.get_current_time())
>>> AttributeError: 'NoneType' object has no attribute 'close'
>>
>>
> This is on close, if you only open the activity, do you get any relevant
> backtrace?
>

Btw, can you push the activity somewhere? It would make it easier to debug
this one, it doesn't feel like a problem with your activity but if it
provides a reliable way to trigger it...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130714/d350268e/attachment-0001.html>


More information about the Sugar-devel mailing list