Opened 7 years ago
Closed 7 years ago
#4920 closed defect (fixed)
physics-27 fails to start
Reported by: | quozl | Owned by: | |
---|---|---|---|
Priority: | High | Milestone: | Unspecified |
Component: | Physics | Version: | |
Severity: | Major | Keywords: | |
Cc: | Distribution/OS: | Unspecified | |
Bug Status: | New |
Description
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.
Change History (2)
comment:1 Changed 7 years ago by quozl
comment:2 Changed 7 years ago by quozl
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
http://lists.sugarlabs.org/archive/sugar-devel/2015-December/051037.html
My tests have been with 32-bit and 64-bit i386 systems.
Dumping dir(box2d) immediately after import shows b2QueryCallback is missing.
http://dev.laptop.org/~quozl/z/1aAsQ7.txt
The lib/box2d_32, lib/box2d_64 and lib/box2d_arm7 directories have been generated by different versions of swig.
I'm not sure how to debug this further.