[Sugar-devel] Help with olpcgames mainloop

Sascha Silbe sascha-ml-ui-sugar-devel at silbe.org
Sun Jun 6 03:19:16 EDT 2010


> Exception in thread Thread-1:
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
>     self.run()
>   File "/usr/lib/python2.6/threading.py", line 477, in run
>     self.__target(*self.__args, **self.__kwargs)
>   File
> "/usr/share/sugar/activities/FreeFromMalaria.activity/olpcgames/canvas.py", line
> 143, in _start
>     gtk.main_quit()
> RuntimeError: called outside of a mainloop
>  
> The code is in git://git.sugarlabs.org/freefrommalaria/mainline.git
My quick and wild guess is that olpcgames might not like you changing the
main loop from within a running main loop (i.e. your change_game() and
related functions).

Sascha

-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.sugarlabs.org/archive/sugar-devel/attachments/20100606/fef8c026/attachment.pgp 


More information about the Sugar-devel mailing list