[Bugs] #4976 Physics UNSP: Physics 26 & 31 fail to start in SoaS 26 alpha

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sun Apr 30 16:37:51 EDT 2017


#4976: Physics 26 & 31 fail to start in SoaS 26 alpha
----------------------------------------+-------------------------------
  Reporter:  FGrose                     |            Owner:
      Type:  defect                     |           Status:  new
  Priority:  Unspecified by Maintainer  |        Milestone:  Unspecified
 Component:  Physics                    |          Version:  Unspecified
  Severity:  Unspecified                |       Resolution:
  Keywords:                             |  Distribution/OS:  Fedora
Bug Status:  New                        |
----------------------------------------+-------------------------------

Comment (by quozl):

 Thanks for testing the search path fix.  I agree, it doesn't fix this
 problem.  I tested in Fedora 25.

 In Physics activity file tools.py, please try changing

 {{{
 sys.path.append('lib/')
 }}}

 to

 {{{
 sys.path.insert(0, 'lib')
 }}}

 and incidentally remove

 {{{
 # If your architecture is different, comment these lines and install
 # the modules in your system.
 sys.path.append('lib/Box2D-2.0.2b2-py2.7-linux-i686.egg')
 }}}

 After installing Physics-31 as a bundle, and applying this change, it
 works for me on Fedora 25.  Let me know your test result.

 This change isn't necessarily a fix for Fedora downstream however, since
 it preferences the Box2D sources inside the Physics bundle, which the
 Fedora packaging strips.

 The cause of the Physics-31 bundle not running on Fedora is likely to be
 developers testing using sugar-build only, instead of native sugar.  In
 the sugar-build emulator, the paths are changed to preference the chroot,
 so this problem would have been hidden.

--
Ticket URL: <https://bugs.sugarlabs.org/ticket/4976#comment:6>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list