# Ticket #2192 (closed defect: worksforme)

Opened 6 years ago

## Can't install the plugin - Trac doesn't find it. [Need to Upgrade Genshi to V5]

Reported by: Assigned to: anonymous bobbysmith007 normal TimingAndEstimationPlugin blocker 0.11

### Description

I'm trying to install the plugin for single environment. I download the source using svn, then run

python setup.py bdist_egg


then copy dist/timingandestimationplugin-0.5.4-py2.5.egg file to my_project/plugins directory, and...nothing happens! It is not displayed in WebAdmin (even after restarting the server), and when I manually add 'timingandestimationplugin.* = enabled' string to trac.ini and try to update the database, it says "Database is up to date, no upgrade necessary.".

I'm using Trac 0.11dev-r6144.

## Change History

### 11/19/07 13:04:27 changed by awzm

I'm using Trac 0.11dev-r6169 and have the same problem. I've put the .egg file in the plugins directory and tried to install it using the AccountManager Plugin. Using that plugin to locate where the .egg file is tells me the TimingAndEstimationPlugin is already installed. I managed to install AccountManager fine and even the iniadminplugin.

### 11/19/07 15:50:12 changed by bobbysmith007

hmmm.... I have cleared everything out and installed it fresh on python 2.4 and trac11. I still do not get any errors. There must be some incompatibility with python 2.5 or something else different between our environments. Would you mind turning on the trac log (http://trac.edgewall.org/wiki/TracLogging) and telling me what error message it is reporting?

Thanks,

Russ

### 11/19/07 17:20:45 changed by awzm

I've had trac logs running for a few days at INFO level in a txt. The instances I found where timingandestimation plugin were mentioned were as follows..

Either side of that output was just repository sync's.

If you need anything more let me know.

### 11/19/07 17:55:06 changed by bobbysmith007

• status changed from new to closed.
• resolution set to fixed.

Awesome! All you need to do is upgrade to the head version of Genshi.

Cheers,

Russ

### 11/19/07 17:55:28 changed by bobbysmith007

also, I will make a note of this on the supported versions of section of the wiki

### 11/19/07 18:22:59 changed by anonymous

• status changed from closed to reopened.
• resolution deleted.

Thanks for the help bobbysmith007

However I'm already running Genshi 0.4.4 (http://ftp.edgewall.com/pub/genshi/Genshi-0.4.4.zip) so I'm not quite sure what you're asking me to do :/

### 11/19/07 18:48:16 changed by bobbysmith007

You need to be running > Genshi 0.5.1 (I think). The easiest way to accomplish this is to:

svn co http://svn.edgewall.org/repos/genshi/trunk python setup.py install

HTH, Russ

### 11/19/07 18:48:51 changed by bobbysmith007

Well that didnt quite work like I wanted it sorry for the wrong wiki syntax I meant:

svn co http://svn.edgewall.org/repos/genshi/trunk
python setup.py install


### 11/19/07 23:40:29 changed by bobbysmith007

• status changed from reopened to closed.
• resolution set to fixed.

### 12/21/07 11:11:17 changed by anonymous

• status changed from closed to reopened.
• resolution deleted.

### 12/21/07 11:12:09 changed by anonymous

So! At last! What do you suggest to do?

### 12/21/07 15:09:35 changed by bobbysmith007

For what?

Did you upgrade Genshi and that didn't work?

### 01/03/08 06:54:29 changed by anonymous

I get the same error:

ERROR: Skipping "timingandestimationplugin = timingandestimationplugin": (can't import "No module named transform")

I tried the workaround you suggested and updated Genshi to the latest version from trunk, but that doesn't seem to make any difference at all here. I'm using Trac 0.11b1 and Python 2.5, if that matters.

### 01/03/08 07:19:46 changed by anonymous

Sorry, forget my last comment. It works now.

### 01/06/08 20:15:34 changed by bobbysmith007

• status changed from reopened to closed.
• resolution set to fixed.

### (follow-up: ↓ 17 ) 01/14/08 11:44:08 changed by anonymous

• status changed from closed to reopened.
• resolution deleted.

I got the same error "ERROR: Skipping "timingandestimationplugin = timingandestimationplugin": (can't import "No module named transform")". I'm using Trac 0.11b1 and Python 2.5. Please let me know, how i can get and install Genshi 0.5.1, that mentioned above. It seems that there is genshi 0.4.4 at http://svn.edgewall.org/repos/genshi/trunk. Please give me step by step scenario how to upgreade genshi from 0.4.4 to 0.5.1.

### (in reply to: ↑ 16 ) 01/14/08 14:21:13 changed by anonymous

See Comment #8:

I got the same error "ERROR: Skipping "timingandestimationplugin = timingandestimationplugin": (can't import "No module named transform")". I'm using Trac 0.11b1 and Python 2.5. Please let me know, how i can get and install Genshi 0.5.1, that mentioned above. It seems that there is genshi 0.4.4 at http://svn.edgewall.org/repos/genshi/trunk. Please give me step by step scenario how to upgreade genshi from 0.4.4 to 0.5.1.

### 01/15/08 11:16:17 changed by anonymous

I did the following svn co http://svn.edgewall.org/repos/genshi/trunk python setup.py install

But the "ERROR: Skipping "timingandestimationplugin = timingandestimationplugin": (can't import "No module named transform")" appeared again.

What does the additional actions that should be done to make it work?

### 01/15/08 15:23:08 changed by bobbysmith007

That has always solved the problem in the past. I assume you restarted your environment.

This is the file (in the trunk): http://svn.edgewall.org/repos/genshi/trunk/genshi/filters/transform.py

The only further thing I can suggest is to remove all previously installed versions of genshi so that only the trunk one is installed on your system. Restart you environment and try again

Sorry I cannot be of more help,

Russ

### 01/16/08 05:17:25 changed by anonymous

• status changed from reopened to closed.
• resolution set to fixed.

OK! It works fine! Thank you!

### 02/14/08 02:56:51 changed by nlovinsky@gmail.com

• status changed from closed to reopened.
• resolution deleted.

I'm running in the exact same problem. I'm using Python 2.4.3 and trac .11b1. When I try to install the trunk version of Genshi I get the following dump:

running install running bdist_egg Traceback (most recent call last):

File "setup.py", line 115, in ?

cmdclass = {'build_doc': build_doc, 'test_doc': test_doc,

File "/usr/lib/python2.4/distutils/core.py", line 149, in setup

dist.run_commands()

File "/usr/lib/python2.4/distutils/dist.py", line 946, in run_commands

self.run_command(cmd)

File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command

cmd_obj.run()

File "/usr/lib/python2.4/site-packages/setuptools/command/install.py", line 76, in run

self.do_egg_install()

File "/usr/lib/python2.4/site-packages/setuptools/command/install.py", line 92, in do_egg_install

self.run_command('bdist_egg')

File "/usr/lib/python2.4/distutils/cmd.py", line 333, in run_command

self.distribution.run_command(command)

File "/usr/lib/python2.4/distutils/dist.py", line 965, in run_command

cmd_obj.ensure_finalized()

File "/usr/lib/python2.4/distutils/cmd.py", line 117, in ensure_finalized

self.finalize_options()

File "/usr/lib/python2.4/site-packages/setuptools/command/bdist_egg.py", line 94, in finalize_options

ei_cmd = self.ei_cmd = self.get_finalized_command("egg_info")

File "/usr/lib/python2.4/distutils/cmd.py", line 319, in get_finalized_command

cmd_obj.ensure_finalized()

File "/usr/lib/python2.4/distutils/cmd.py", line 117, in ensure_finalized

self.finalize_options()

File "/usr/lib/python2.4/site-packages/setuptools/command/egg_info.py", line 85, in finalize_options

self.vtags = self.tags()

File "/usr/lib/python2.4/site-packages/setuptools/command/egg_info.py", line 179, in tags

): version += '-r%s' % self.get_svn_revision()

File "/usr/lib/python2.4/site-packages/setuptools/command/egg_info.py", line 196, in get_svn_revision

dirurl = urlre.search(data).group(1) # get repository URL

AttributeError?: 'NoneType?' object has no attribute 'group'

### 03/14/08 18:42:39 changed by bobbysmith007

Sorry I missed this, trac-hacks doesnt always notify me of changes and I am not sure what to do about that. This is probably just a transient bug in the head branch of Genshi. I would suggest reinstalling genshi from head now and see if you get the same problem. Otherwise, I would look for a previous stable Genshi 5 revision and update to that. There are no tags so I cannot offer better advise than that at the moment.

### 03/17/08 16:15:53 changed by bobbysmith007

• summary changed from Can't install the plugin - Trac doesn't find it. to Can't install the plugin - Trac doesn't find it. [Need to Upgrade Genshi to V5].

### 04/15/08 06:40:29 changed by diegog

• priority changed from normal to highest.

I get the following error:

2008-04-14 21:18:30,318 Trac[loader] ERROR: Skipping "timingandestimationplugin = timingandestimationplugin": (can't import "cannot import name ITemplateStreamFilter")

I have not been able to determine where ItemplateStreamFilter? should be coming from?

I did upgrade to Genshi trunk which is version 0.5dev-r835.

I'm running trac 0.11dev-r5468.

Any ideas?

### 04/15/08 06:59:28 changed by anonymous

• priority changed from highest to normal.
• status changed from reopened to closed.
• resolution set to worksforme.

I upgraded to trac trunk and now it works. May want to put a note on the main wiki...

### 04/15/08 16:47:41 changed by bobbysmith007

I am not sure what broke in the previous trac revision you were using, but since trac 11 is unreleased and a moving target, and TimingAndEstimationPlugin works in the head revision, I am not sure what sort of note should be added (perhaps beware unreleased software).

Either way, this ticket will show up in both the trac searches and google, so hopefully will serve as enough documentation. If you feel that there is a specific note that would be useful, please let me know, or feel free to add it your self to the required versions section of the TimingAndEstimationPlugin wikipage.

Grats on getting this working :)

Russ

### Add/Change #2192 (Can't install the plugin - Trac doesn't find it. [Need to Upgrade Genshi to V5])

Change Properties