<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title></title>
</head>
<body>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">Hi all,</p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">I have managed to fix most of my bugs for my new game, but please could someone help me with this?</p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">I am using olpcgames wrapper.</p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">Exception in thread Thread-1:<br />
Traceback (most recent call last):<br />
File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner<br />
self.run()<br />
File "/usr/lib/python2.6/threading.py", line 477, in run<br />
self.__target(*self.__args, **self.__kwargs)<br />
File "/usr/share/sugar/activities/FreeFromMalaria.activity/olpcgames/canvas.py", line 143, in _start<br />
gtk.main_quit()<br />
RuntimeError: called outside of a mainloop</p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">The code is in <code>git://<a href="http://git.sugarlabs.org/freefrommalaria/mainline.git" target="_blank">git.sugarlabs.org/freefrommalaria/mainline.git</a></code></p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">And the main loop is in GameController.py , I cannot for the life of me figure out where this exception is being raised in my code. I have no idea whats being called outside the mainloop. Please could any one offer any insight?</p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">Thanks in advance.</p>
<p style="margin: 0px;"><span></span></p>
</body>
</html>