Opened 8 years ago

Closed 8 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


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>
  File "/usr/bin/sugar-activity", line 121, in main
    module = __import__(module_name)
  File "/home/olpc/Activities/Physics.activity/", line 64, in <module>
    import physics
  File "/home/olpc/Activities/Physics.activity/", line 40, in <module>
    import myelements as elements
  File "/home/olpc/Activities/Physics.activity/myelements/", line 2, in <module>
    from .elements import Elements
  File "/home/olpc/Activities/Physics.activity/myelements/", 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 8 years ago by quozl

My tests have been with 32-bit and 64-bit i386 systems.

Dumping dir(box2d) immediately after import shows b2QueryCallback is missing.

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.

comment:2 Changed 8 years ago by quozl

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.