[Sugar-devel] [Bugs] #4926 Physics HIGH: physics-28 fails to start on fedora 18 i386

Walter Bender walter.bender at gmail.com
Tue Jan 12 07:57:05 EST 2016


On Mon, Jan 11, 2016 at 7:55 PM, Sugar Labs Bugs <
bugtracker-noreply at sugarlabs.org> wrote:

> #4926: physics-28 fails to start on fedora 18 i386
> ----------------------+-------------------------------
>   Reporter:  quozl    |            Owner:
>       Type:  defect   |           Status:  new
>   Priority:  High     |        Milestone:  Unspecified
>  Component:  Physics  |          Version:  Unspecified
>   Severity:  Major    |       Resolution:
>   Keywords:           |  Distribution/OS:  Unspecified
> Bug Status:  New      |
> ----------------------+-------------------------------
>
> Comment (by quozl):
>
>  Thanks for the ideas.  I've tried them, but it doesn't work, with
>  {{{
>    File "/home/olpc/Activities/Physics.activity/lib/box2d_32/Box2D.py", \
>      line 28, in swig_import_helper
>      _mod = imp.load_module('_Box2D', fp, pathname, description)
>  ImportError: dynamic module does not define init function (init_Box2D)
>  }}}
>
>  What I did was;
>   * install Box2D-2.2.1-3.fc18.i686.rpm,
>   * copy /usr/lib/libBox2D.so.2.1.0 to lib/box2d_32/_Box2d.so
>   * simplified lib/Box2D.py to only {{{from box2d_32 import *}}}
>
>  Then, since the Fedora 18 system already had pybox2d-2.0.2b2-8, I tried
>  that too;
>   * copy /usr/lib/python2.7/site-
>  packages/Box2D/{Box2D.py,__init__.py,_Box2d.so} to lib/box2d_32/
>
>  That gave me:
>  {{{
>    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'
>  }}}
>
>  Which says that the new code in Physics depends on new features of Box2d?
>

Yes it does.

>
> --
> Ticket URL: <https://bugs.sugarlabs.org/ticket/4926#comment:20>
> 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/20160112/39b132b2/attachment-0001.html>


More information about the Sugar-devel mailing list