Modify

Opened 18 years ago

Closed 18 years ago

Last modified 17 years ago

#1058 closed defect (fixed)

Installation instructions would be nice.

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

Description

So far I've downloaded and run setup.py install
I added the line timingandestimation.* = enabled to my trac.ini
I attempt to run trac-admin.py c:\projects\trac\test upgrade and it tells me the db is up to date.
I can see the plugin in the webadmin pluging and can enable and disable differentparts of it, however I don't see it in my nav bar.

What am I doing wrong?

efeldt@…

Attachments (0)

Change History (3)

comment:1 Changed 18 years ago by Russ Tyndall

Resolution: fixed
Status: newclosed

A couple things

  • All components of the plugin must be enabled. timingandestimation.* = enabled is correct and is the same as enabling it via webadmin. Just be sure that if you were checking boxes in webadmin, that they are all checked.
  • You need to trac-admin upgrade and restart the webserver/httpd/tracd for things to show up
  • Once the above steps have been taken, there should be a 'Management' button in the main title bar. If this is still not here or you have done these already, please let me know, and I will try to find better answers for you. Another thing that might help you debug your problem, is to turn on trac logging and then check the log files for extended error information.

Normally it will tell you that it needs to be updated, but someone else was having problems with this as well.

As for more installation help, I would be happy if you could suggest or edit in more helpful instructions than are currently available from: http://trac-hacks.org/wiki/TimingAndEstimationPlugin#InstallationHelp and http://trac.edgewall.org/search?q=TracPlugins

If you continue to have trouble, please send me the version numbers of the software you are running (trac, sqlite/postgre, TimingAndEstimationPlugin).

Hope this helps,

Russ

comment:2 Changed 18 years ago by james.britt@…

The docs leave out an important detail. When you add timingandestimation.* = enabled to trac.ini it has to go in a component section. And if that section does not exist, you have to create it.

I had the exact some problem getting this plugin installed, and after much Googling I found an example of another plugin that specified the correct trac.ini changes. (See http://trac.edgewall.org/wiki/WebAdmin)

This is what worked for me:

[components] timingandestimationplugin.* = enabled

And I had to add both lines; without the section header, the call to 'upgrade' ignores the new item.

I then had a problem with

[Errno 13] Permission denied: '/root/.python-eggs'

which I fixed by adding a configuration line to the virtual host settings in my Apache configuration for the trac instance using this plugin:

SetEnv PYTHON_EGG_CACHE /usr/local/webstuff/trac/.python-eggs

and restarting Apache. (Note that this is simply what worked for me; it may not be te best or even a good solution.)

I appreciate that writing docs is both tedious and hard, but perhaps they could include a bit more detail on each step, and be mindful than many people learn just enough Python and Apache admin stuff to get Trac going, and are not aware f the myriad little things that more experienced Trac users may take for granted.

Thanks. Trac rocks.

comment:3 Changed 18 years ago by Russ Tyndall

For future reference, the following page contains all of the information about installing plugins: http://trac.edgewall.org/wiki/TracPlugins.

I felt that one definitive source of documentation by the trac authors was superior to any docs I might produce on the subject. Thus a link to this document is the first step in the install process.

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.