[Sugar-devel] [Bugs] #4920 Physics HIGH: physics-27 fails to start

Walter Bender walter.bender at gmail.com
Sun Dec 20 23:22:03 EST 2015


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?

(Works on my XO4 running F18, BTW).

-walter

On Sun, Dec 20, 2015 at 11:06 PM, Sugar Labs Bugs <
bugtracker-noreply at sugarlabs.org> wrote:

> #4920: physics-27 fails to start
> -------------------------------+--------------------------
>        Reporter:  quozl        |       Owner:
>            Type:  defect       |      Status:  new
>        Priority:  High         |   Milestone:  Unspecified
>       Component:  Physics      |     Version:
>        Severity:  Major        |    Keywords:
> Distribution/OS:  Unspecified  |  Bug Status:  New
> -------------------------------+--------------------------
>  physics-27 bundle installs fine but does not start, activity log contains:
>
>  {{{
>  Traceback (most recent call last):
>    File "/usr/bin/sugar-activity", line 169, in <module>
>      main()
>    File "/usr/bin/sugar-activity", line 121, in main
>      module = __import__(module_name)
>    File "/home/olpc/Activities/Physics.activity/activity.py", line 64, in
>  <module>
>      import physics
>    File "/home/olpc/Activities/Physics.activity/physics.py", line 40, in
>  <module>
>      import myelements as elements
>    File "/home/olpc/Activities/Physics.activity/myelements/__init__.py",
>  line 2, in <module>
>      from .elements import Elements
>    File "/home/olpc/Activities/Physics.activity/myelements/elements.py",
>  line 655, in <module>
>      class Query_CB(box2d.b2QueryCallback):
>  AttributeError: 'module' object has no attribute 'b2QueryCallback'
>  Exited with status 1, pid 2211 data (None, <open file '<fdopen>', mode 'w'
>  at 0xa947d30>, '3b54003042c73066894cb01cc4c013d6c8879cd0')
>  }}}
>
>  Occurs on Fedora 18 and Ubuntu 15.10.
>
> --
> Ticket URL: <https://bugs.sugarlabs.org/ticket/4920>
> Sugar Labs <http://sugarlabs.org/>
> Sugar Labs bug tracking system
> _______________________________________________
> Bugs mailing list
> Bugs at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/bugs
>



-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20151220/3943e369/attachment.html>


More information about the Sugar-devel mailing list