<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 11, 2016 at 7:55 PM, Sugar Labs Bugs <span dir="ltr"><<a href="mailto:bugtracker-noreply@sugarlabs.org" target="_blank">bugtracker-noreply@sugarlabs.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">#4926: physics-28 fails to start on fedora 18 i386<br>
</span>----------------------+-------------------------------<br>
<span class=""> Reporter: quozl | Owner:<br>
Type: defect | Status: new<br>
Priority: High | Milestone: Unspecified<br>
Component: Physics | Version: Unspecified<br>
</span> Severity: Major | Resolution:<br>
<span class=""> Keywords: | Distribution/OS: Unspecified<br>
Bug Status: New |<br>
</span>----------------------+-------------------------------<br>
<br>
Comment (by quozl):<br>
<br>
Thanks for the ideas. I've tried them, but it doesn't work, with<br>
{{{<br>
<span class=""> File "/home/olpc/Activities/Physics.activity/lib/box2d_32/Box2D.py", \<br>
line 28, in swig_import_helper<br>
_mod = imp.load_module('_Box2D', fp, pathname, description)<br>
</span> ImportError: dynamic module does not define init function (init_Box2D)<br>
}}}<br>
<br>
What I did was;<br>
* install Box2D-2.2.1-3.fc18.i686.rpm,<br>
* copy /usr/lib/libBox2D.so.2.1.0 to lib/box2d_32/_Box2d.so<br>
* simplified lib/Box2D.py to only {{{from box2d_32 import *}}}<br>
<br>
Then, since the Fedora 18 system already had pybox2d-2.0.2b2-8, I tried<br>
that too;<br>
* copy /usr/lib/python2.7/site-<br>
packages/Box2D/{Box2D.py,__init__.py,_Box2d.so} to lib/box2d_32/<br>
<br>
That gave me:<br>
{{{<br>
File "/home/olpc/Activities/Physics.activity/myelements/elements.py", \<br>
line 655, in <module><br>
class Query_CB(box2d.b2QueryCallback):<br>
AttributeError: 'module' object has no attribute 'b2QueryCallback'<br>
}}}<br>
<br>
Which says that the new code in Physics depends on new features of Box2d?<br></blockquote><div><br></div><div>Yes it does. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
--<br>
Ticket URL: <<a href="https://bugs.sugarlabs.org/ticket/4926#comment:20" rel="noreferrer" target="_blank">https://bugs.sugarlabs.org/ticket/4926#comment:20</a>><br>
<div class="HOEnZb"><div class="h5">Sugar Labs <<a href="http://sugarlabs.org/" rel="noreferrer" target="_blank">http://sugarlabs.org/</a>><br>
Sugar Labs bug tracking system<br>
_______________________________________________<br>
Bugs mailing list<br>
<a href="mailto:Bugs@lists.sugarlabs.org">Bugs@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/bugs" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/bugs</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Walter Bender<br>Sugar Labs<br><a href="http://www.sugarlabs.org" target="_blank">http://www.sugarlabs.org</a><br></div>
</div></div>