[Bugs] #1704 UNSP: XOlympics activity fails if python-elements package installed on Fedora 12

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sun Feb 7 04:10:49 EST 2010


#1704: XOlympics activity fails if python-elements package installed on Fedora 12
------------------------------------------+---------------------------------
    Reporter:  DeanBrettle                |          Owner:  garycmartin                
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  ActivityTeam               |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Fedora                     |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
 XOlympics uses a custom local "elements" module, but if python-elements is
 installed, XOlympics can't find box2d because it looks it finds the site-
 wide elements module first. The Physics activity seems to require that
 python-elements is installed, so the only workaround I found was to add:

 import sys
 sys.path.insert(0, ".")

 to the top of "XOlympics.activity/tools.py"

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/1704>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list