Modify

Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#2987 closed defect (worksforme)

ImportError: No module named transform

Reported by: anonymous Owned by: John Hampton
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 16 years ago by John Hampton

Resolution: worksforme
Status: newclosed
Trac Release: 0.100.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 16 years ago by John Hampton

(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 16 years ago by John Hampton

oops, meant to ref #2978

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain John Hampton.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.