<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.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;">Thanks for this Wade, I used the slow Cairo this time but will try sugargames next time.</p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">Thanks</p>
<p style="margin: 0px;">WCP<span></span></p>
<p> </p>
<div style="margin: 5px 0px 5px 0px; font-family: monospace;">
On 26 June 2010 at 04:49 Wade Brainerd <wadetb@gmail.com> wrote:<br />
<br />
> Hi there,<br />
><br />
> Sorry I missed this email. You might want to check out sugargame which does<br />
> not use this event loop wrapping approach:<br />
><br />
> http://wiki.sugarlabs.org/go/Development_Team/Sugargame<br />
><br />
> That said I see in a later post that you switched to GTK/Cairo which is<br />
> great - so long as you don't get too bogged down by Cairo's slow rendering<br />
> on XO-1.<br />
><br />
> Best,<br />
> Wade<br />
><br />
> On Sat, Jun 5, 2010 at 7:58 PM, World Class Project- Dev Team <<br />
> develop@worldclassproject.org.uk> wrote:<br />
><br />
> ><br />
> ><br />
> > Hi all,<br />
> ><br />
> ><br />
> ><br />
> > I have managed to fix most of my bugs for my new game, but please could<br />
> > someone help me with this?<br />
> ><br />
> ><br />
> ><br />
> > I am using olpcgames wrapper.<br />
> ><br />
> ><br />
> ><br />
> > 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<br />
> > "/usr/share/sugar/activities/FreeFromMalaria.activity/olpcgames/canvas.py",<br />
> > line 143, in _start<br />
> > gtk.main_quit()<br />
> > RuntimeError: called outside of a mainloop<br />
> ><br />
> ><br />
> ><br />
> ><br />
> ><br />
> > The code is in git://git.sugarlabs.org/freefrommalaria/mainline.git<br />
> ><br />
> ><br />
> ><br />
> > And the main loop is in GameController.py , I cannot for the life of me<br />
> > figure out where this exception is being raised in my code. I have no idea<br />
> > whats being called outside the mainloop. Please could any one offer any<br />
> > insight?<br />
> ><br />
> ><br />
> ><br />
> > Thanks in advance.<br />
> ><br />
> ><br />
> > _______________________________________________<br />
> > Devel mailing list<br />
> > Devel@lists.laptop.org<br />
> > http://lists.laptop.org/listinfo/devel<br />
> ><br />
> ><br />
</div>
</body>
</html>