Modify

Opened 9 years ago

Closed 7 years ago

#2972 closed defect (fixed)

Installation instruction

Reported by: anderson.spam.br@… Owned by: Ryan J Ollos
Priority: normal Component: GanttChartPlugin
Severity: major Keywords:
Cc: Trac Release: 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:

Data Loading Error: <br />Error position: (4:54)

Attachments (1)

gantt-setup.patch (671 bytes) - added by nigelsim 9 years ago.
Adds package dependencies, and sets as not zip-safe

Download all attachments as: .zip

Change History (9)

comment:1 Changed 9 years ago by anonymous

Severity: normalmajor

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.100.11

Changed 9 years ago by nigelsim

Attachment: gantt-setup.patch added

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 Changed 7 years ago by Stefan Simroth

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

("DistributionNotFound: dateutil" not found)

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 7 years ago by Ryan J Ollos

Replying to anonymous:

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 7 years ago by Ryan J Ollos

Owner: changed from malsmith to Ryan J Ollos
Status: newassigned

Replying to StefanSimroth:

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

("DistributionNotFound: dateutil" not found)

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

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

Replying to anderson.spam.br@gmail.com:

Can you please add installation instructions?

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

comment:8 Changed 7 years ago by Ryan J Ollos

Resolution: fixed
Status: assignedclosed

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
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
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.