Ticket #2666 (closed defect: invalid)

Opened 2 years ago

Last modified 2 years ago

Fails to start: ImportError: No module named util.RtfParser

Reported by: sascha_silbe Owned by: walter
Priority: Unspecified by Maintainer Milestone: Unspecified by Release Team
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

follow-up: ↓ 2   Changed 2 years ago by 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.

in reply to: ↑ 1   Changed 2 years ago by sascha_silbe

  • status changed from new to closed
  • resolution set to invalid

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.