Opened 9 years ago

Closed 6 years ago

# Installation instruction

Reported by: Owned by: anderson.spam.br@… Ryan J Ollos normal GanttChartPlugin major 0.11

### Description

Can you please add installation instructions? I am trying to install it and I found that I need python-dateutil and PyYAML, and after installing it I got error about trac section missing on trac.ini and now I can't get it running because of the following error:

### comment:1 follow-up:  5 Changed 9 years ago by anonymous

Severity: normal → major

i looked into this some more. looks like this is a problem with the sample text at line 4, column 54, from the wiki page we're trying to create from the sample, namely &#34.... the macro can't parse traclinks for some reason, and i get complaints in the log that trac is running an outdated version of a macro (ganttchartplugin).

### comment:2 Changed 9 years ago by anonymous

Trac Release: 0.10 → 0.11

### Changed 9 years ago by nigelsim

Adds package dependencies, and sets as not zip-safe

### comment:3 Changed 9 years ago by nigelsim

I just added a patch to this ticket, which specifies the dependencies. This helps when installing with easy_install, as it will attempt to fetch the requirements, and bawk if there is something missing.

### comment:4 follow-up:  6 Changed 7 years ago by Stefan Simroth

mmh, I just applied this setup patch, but with it I get the following:

Although, i can do "import dateutil" on the python prompt.

I installed the python-dateutil package via apt on a debian lenny system and without the dependencies-patch added, it works fine.

### comment:5 in reply to:  1 Changed 6 years ago by Ryan J Ollos

i looked into this some more. looks like this is a problem with the sample text at line 4, column 54, from the wiki page we're trying to create from the sample, namely &#34.... the macro can't parse traclinks for some reason, and i get complaints in the log that trac is running an outdated version of a macro (ganttchartplugin).

Looks like you or someone else has fixed the example on the wiki page: wiki/GanttChartPlugin.

### comment:6 in reply to:  4 Changed 6 years ago by Ryan J Ollos

Owner: changed from malsmith to Ryan J Ollos new → assigned

mmh, I just applied this setup patch, but with it I get the following:

I think the package needs to be specified as python-dateutil. I added that dependency in [9448].

### comment:7 in reply to:  description Changed 6 years ago by Ryan J Ollos

Installation instructions now exist on the main wiki page: wiki/GanttChartPlugin.

### comment:8 Changed 6 years ago by Ryan J Ollos

Resolution: → fixed assigned → closed

I'm not sure what the reasoning is for setting the zip_safe flag, but it appears to be set TRUE for the Trac installation, see t:#8062.

Please let me know if there is a reason that the option needs to be specified.

### Modify Ticket

Change Properties