sugarlabs / physics

a box2d playpen
GNU General Public License v3.0
7 stars 26 forks source link

Physics 32.1 fails to start on Debian Stretch i386 #31

Open quozl opened 7 years ago

quozl commented 7 years ago

Problem: the activity fails to start after being downloaded from activities.sugarlabs.org.

Analysis: the binaries are not compatible with Debian Stretch.

Workaround: use the dfsg branch which strips the binaries.

Logs:

Traceback (most recent call last):
  File "/usr/bin/sugar-activity", line 220, in <module>
    main()
  File "/usr/bin/sugar-activity", line 164, in main
    module = __import__(module_name)
  File "/home/guest/Activities/Physics.activity/activity.py", line 62, in <module>
    import tools
  File "/home/guest/Activities/Physics.activity/tools.py", line 35, in <module>
    import lib.Box2D as box2d
  File "/home/guest/Activities/Physics.activity/lib/Box2D.py", line 14, in <module>
    from box2d_32 import *
  File "/home/guest/Activities/Physics.activity/lib/box2d_32/__init__.py", line 20, in <module>
    from .Box2D import *
  File "/home/guest/Activities/Physics.activity/lib/box2d_32/Box2D.py", line 32, in <module>
    _Box2D = swig_import_helper()
  File "/home/guest/Activities/Physics.activity/lib/box2d_32/Box2D.py", line 28, in swig_import_helper
    _mod = imp.load_module('_Box2D', fp, pathname, description)
ImportError: libpython2.7.so.1.0: cannot open shared object file: No such file or directory

Reported-by: Hrishi Patel hrishipatel99@gmail.com on Debian Stretch Raspberry Pi 3. @Hrishi1999