Modify

Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#2987 closed defect (worksforme)

ImportError: No module named transform

Reported by: anonymous Owned by: pacopablo
Priority: normal Component: TaskListPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Hello,

I installed this plugin and Genshi too. I've followed this steps to install Genshi:

easy_install CherryPy
easy_install FormEncode
easy_install Genshi

Just that.

After, when I tried to use the plugin, it didn't work.

This is part of my log file:

Trac[TEST.db:loader] DEBUG: Loading egg plugin tasklist from c:\arquivos de programas\phyton24\lib\site-packages\tasklist-0.1-py2.4.egg
Trac[TEST.db:loader] ERROR: Failed to load plugin tasklist from c:\arquivos de programas\phyton24\lib\site-packages\tasklist-0.1-py2.4.egg
Traceback (most recent call last):

File "C:\Arquivos de programas\Phyton24\Lib\site-packages\trac\loader.py", line 101, in load_components

entry_point.load()

File "c:\arquivos de programas\phyton24\lib\site-packages\setuptools-0.6c8-py2.4.egg\pkg_resources.py", line 1912, in load

entry = import(self.module_name, globals(),globals(), __name__?)

File "build\bdist.win32\egg\tasklist\init.py", line 10, in ?
File "build\bdist.win32\egg\tasklist\main.py", line 17, in ?

ImportError: No module named transform

Do I have to do something else?

What is wrong?

Attachments (0)

Change History (3)

comment:1 Changed 6 years ago by pacopablo

  • Resolution set to worksforme
  • Status changed from new to closed
  • Trac Release changed from 0.10 to 0.11

You need to use the version of Genshi from trunk

easy_install http://svn.edgewall.org/repos/genshi/trunk

When released, this will be Genshi 0.5

Now, a bigger question: What version of Trac are you running? from some of your comments, it seems that you are running Trac 0.10.x. If this is the case, the plugin won't work. It requires Trac 0.11. 0.11rc1 was released this past week, I would suggest you install that, as it is very close to what will be the final 0.11 release.

comment:2 Changed 6 years ago by pacopablo

(In [3627])

  • Move import of resource_filename to module scope to avoid issue with error re: no module os.path.
  • Refs #2987, possible solution

comment:3 Changed 6 years ago by pacopablo

oops, meant to ref #2978

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from pacopablo. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.