Modify

Opened 18 years ago

Closed 18 years ago

#1066 closed enhancement (fixed)

Missing an installation step?

Reported by: anonymous Owned by: Russ Tyndall
Priority: normal Component: TimingAndEstimationPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

I think the documentation is making an assumption that the plugin is installed in a certain way.

I install plugins like this, to avoid having to use yet another package management system:

  • python setup.py bdist_rpm
  • fakeroot --to-deb <rpm>
  • dpkg -i <deb>

And then add the appropriate line to "trac.ini" "[components]" section, in this case:

[components]
timingandestimationplugin.* = enable

However this apperantly isn't triggering the behavior that is expected to happen when "trac-admin /path/to/trac upgrade" is run - I just get:

Database is up to date, no upgrade necessary.

I'm assuming I'm just missing some step, but I'm having trouble figuring out what that step would be.

Attachments (0)

Change History (2)

comment:1 Changed 18 years ago by anonymous

My guess would be that wherever you installed this is not on the python path. However, I would kind of expect debian to install the python packages in a place that they would be on the python build path. I am not really familiar with debian commands you are calling there , so I am afraid I cant be too much help there.

The easiest way is to find the location where it is installed and then verify that that location is in the python sys.path. On my system trac and the plugin are both installed at /usr/lib/python2.4/site-packages/ (this is for a computer wide install of the plugin). You can also install the plugin to just one instance of trac by putting the egg in that plugins directory.

I typically install this program using python setup.py install. This seems to mostly just byte compile the source of the plugin and zip it up into and egg file and copy it to the python/site-packages directory.

Let me know if this solves your problem. If not, you might want to look around though the trac plugin page.

Russ

comment:2 Changed 18 years ago by anonymous

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Russ Tyndall.
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.