<br><br><div class="gmail_quote">On Tue, Apr 10, 2012 at 2:58 PM, Manuel Kaufmann <span dir="ltr"><<a href="mailto:humitos@gmail.com">humitos@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Tue, Apr 10, 2012 at 16:56, Manuel Kaufmann <<a href="mailto:humitos@gmail.com">humitos@gmail.com</a>> wrote:<br>
> - A triple quoted comment was accidentally removed, so I added it again.<br>
> - Added 'gtk' module because it was missing.<br>
<br>
</div>This patch fixes these errors:<br>
<br>
Traceback (most recent call last):<br>
File "/srv/sugar-jhbuild/install/bin/sugar-activity", line 146, in <module><br>
main()<br>
File "/srv/sugar-jhbuild/install/bin/sugar-activity", line 141, in main<br>
instance = create_activity_instance(activity_constructor, activity_handle)<br>
File "/srv/sugar-jhbuild/install/bin/sugar-activity", line 34, in<br>
create_activity_instance<br>
activity = constructor(handle)<br>
File "/home/humitos/Activities/Maze.activity/olpcgames/activity.py",<br>
line 106, in __init__<br>
toolbar = self.build_toolbar()<br>
File "/home/humitos/Activities/Maze.activity/activity.py", line 19,<br>
in build_toolbar<br>
separator = gtk.SeparatorToolItem()<br>
NameError: global name 'gtk' is not defined<br>
<br>
and<br>
<br>
Traceback (most recent call last):<br>
File "/srv/sugar-jhbuild/install/bin/sugar-activity", line 146, in <module><br>
main()<br>
File "/srv/sugar-jhbuild/install/bin/sugar-activity", line 104, in main<br>
module = __import__(module_name)<br>
File "/home/humitos/Activities/Maze.activity/activity.py", line 3, in <module><br>
import olpcgames<br>
File "/home/humitos/Activities/Maze.activity/olpcgames/__init__.py",<br>
line 99, in <module><br>
from olpcgames.activity import PygameActivity as PyGameActivity<br>
File "/home/humitos/Activities/Maze.activity/olpcgames/activity.py", line 5<br>
<div class="im"> The olpcgames.activity module encapsulates creation of a Pygame activity.<br>
</div> ^<br>
SyntaxError: invalid syntax<br>
<br>
See you,<br>
<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br></div><div><br></div><div>Yes, this is due to a commit that reverted all the way back to v15 (maybe a pootle error), after v16 was released, so the problem is in git) next version should be o.k.</div>
<div><br></div><div> </div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">
--<br>
Kaufmann Manuel<br>
Blog: <a href="http://humitos.wordpress.com/" target="_blank">http://humitos.wordpress.com/</a><br>
Porfolio: <a href="http://fotos.mkaufmann.com.ar/" target="_blank">http://fotos.mkaufmann.com.ar/</a><br>
PyAr: <a href="http://www.python.com.ar/" target="_blank">http://www.python.com.ar/</a><br>
</font></span></blockquote></div><br>