Opened 13 years ago
#1704 new defect
XOlympics activity fails if python-elements package installed on Fedora 12
Reported by: | DeanBrettle | Owned by: | garycmartin |
---|---|---|---|
Priority: | Unspecified by Maintainer | Milestone: | Unspecified |
Component: | ActivityTeam | Version: | Unspecified |
Severity: | Unspecified | Keywords: | |
Cc: | Distribution/OS: | Fedora | |
Bug Status: | Unconfirmed |
Description
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"
Note: See
TracTickets for help on using
tickets.