<div dir="ltr">This is strange. We insert lib at the head of the syspath. Maybe the problem must be in how we detect which system we are on so that we never import the proper pybox2d libraries on those systems? Can you look at what is happening in Box2D.py?<div><br></div><div>(Works on my XO4 running F18, BTW).</div><div><br></div><div>-walter</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 20, 2015 at 11:06 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">#4920: physics-27 fails to start<br>
-------------------------------+--------------------------<br>
Reporter: quozl | Owner:<br>
Type: defect | Status: new<br>
Priority: High | Milestone: Unspecified<br>
Component: Physics | Version:<br>
Severity: Major | Keywords:<br>
Distribution/OS: Unspecified | Bug Status: New<br>
-------------------------------+--------------------------<br>
physics-27 bundle installs fine but does not start, activity log contains:<br>
<br>
{{{<br>
Traceback (most recent call last):<br>
File "/usr/bin/sugar-activity", line 169, in <module><br>
main()<br>
File "/usr/bin/sugar-activity", line 121, in main<br>
module = __import__(module_name)<br>
File "/home/olpc/Activities/Physics.activity/activity.py", line 64, in<br>
<module><br>
import physics<br>
File "/home/olpc/Activities/Physics.activity/physics.py", line 40, in<br>
<module><br>
import myelements as elements<br>
File "/home/olpc/Activities/Physics.activity/myelements/__init__.py",<br>
line 2, in <module><br>
from .elements import Elements<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>
Exited with status 1, pid 2211 data (None, <open file '<fdopen>', mode 'w'<br>
at 0xa947d30>, '3b54003042c73066894cb01cc4c013d6c8879cd0')<br>
}}}<br>
<br>
Occurs on Fedora 18 and Ubuntu 15.10.<br>
<br>
--<br>
Ticket URL: <<a href="https://bugs.sugarlabs.org/ticket/4920" rel="noreferrer" target="_blank">https://bugs.sugarlabs.org/ticket/4920</a>><br>
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>
</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>