Opened 12 years ago
Closed 12 years ago
#2666 closed defect (invalid)
Fails to start: ImportError: No module named util.RtfParser
Reported by: | sascha_silbe | Owned by: | walter |
---|---|---|---|
Priority: | Unspecified by Maintainer | Milestone: | Unspecified |
Component: | Turtleart | Version: | Git as of bugdate |
Severity: | Blocker | Keywords: | |
Cc: | Distribution/OS: | ||
Bug Status: | New |
Description
The latest git version of org.laptop.TurtleArtActivity fails to start:
Traceback (most recent call last): File "/home/sascha.silbe/sugar-jhbuild/install/bin/sugar-activity", line 21, in <module> main.main() File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.6/site-packages/sugar/activity/main.py", line 121, in main module = __import__(module_name) File "/home/sascha.silbe/sugar-jhbuild/install/share/sugar/activities/TurtleArt.activity/TurtleArtActivity.py", line 52, in <module> from TurtleArt.tawindow import TurtleArtWindow File "/home/sascha.silbe/sugar-jhbuild/install/share/sugar/activities/TurtleArt.activity/TurtleArt/tawindow.py", line 62, in <module> from talogo import LogoCode File "/home/sascha.silbe/sugar-jhbuild/install/share/sugar/activities/TurtleArt.activity/TurtleArt/talogo.py", line 35, in <module> from util.RtfParser import RtfTextOnly ImportError: No module named util.RtfParser
This is in sugar-jhbuild on Debian Squeeze.
Change History (2)
comment:1 follow-up: ↓ 2 Changed 12 years ago by walter
comment:2 in reply to: ↑ 1 Changed 12 years ago by sascha_silbe
- Resolution set to invalid
- Status changed from new to closed
Replying to walter:
Curious, since the file in question seems to be in the correct place in the git tree:
http://git.sugarlabs.org/turtleart/mainline/blobs/master/util/RtfParser.py
Is there some import voodoo I am missing? Works fine in my jhbuild environment on F14.
The voodoo was missing on my side: the MANIFEST was stale. I've now added fix_manifest calls to the build phase in sugar-jhbuild. We're going to get rid of MANIFEST support anyway.
Note: See
TracTickets for help on using
tickets.
Curious, since the file in question seems to be in the correct place in the git tree:
http://git.sugarlabs.org/turtleart/mainline/blobs/master/util/RtfParser.py
Is there some import voodoo I am missing? Works fine in my jhbuild environment on F14.