Modify

Opened 6 years ago

Closed 4 years ago

#2878 closed defect (fixed)

Trac[loader] ERROR: Skipping Gant

Reported by: didley@… Owned by: rjollos
Priority: normal Component: GanttChartPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Hello,

I'm using

  • Trac: 0.11dev
  • Python: 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)]
  • setuptools: 0.6c6
  • SQLite: 3.3.4
  • pysqlite: 2.3.2
  • Genshi: 0.4.5dev
  • Subversion: 1.4.3 (r23084)
  • jQuery: 1.2.3

After installing GanttChart my logfile contains

Trac[loader] ERROR: Skipping "gantt = gantt": (can't import "No module named yaml")

Attachments (0)

Change History (9)

comment:1 follow-up: Changed 6 years ago by Sil53r

One possible solution: install PyYAML from http://pyyaml.org/wiki/PyYAML

comment:2 in reply to: ↑ 1 Changed 6 years ago by didley@…

Replying to Sil53r:

One possible solution: install PyYAML from http://pyyaml.org/wiki/PyYAML

Now I got

ERROR: Skipping "gantt = gantt": (can't import "No module named Image")

Is there any desription where I can find the prerequisites?

comment:3 Changed 6 years ago by ag@…

You need the Python Imaging library (PIL) as well, and Python dateutil

comment:4 follow-up: Changed 6 years ago by didley@…

Thanx for this information. But after PIL and dateutil I got

The <b>gantt</b> section was not found in the trac configuration file

Please don't let me guess what have to do as next. Is there any desription where I can find the prerequisites and configuration?

comment:5 in reply to: ↑ 4 Changed 6 years ago by engram@…

I also got the same, and would really really like to know how to set this up properly please please.

Replying to didley@gmx.de:

Thanx for this information. But after PIL and dateutil I got

The <b>gantt</b> section was not found in the trac configuration file

Please don't let me guess what have to do as next. Is there any desription where I can find the prerequisites and configuration?

comment:6 Changed 6 years ago by kevin.mayfield@…

Simple fix.

Add this section to your trac.ini (I guess you'd need to create the cache_dir)

[gantt]
date_format = %m/%d/%Y
include_summary = true
show_opened = true
summary_length = 16
use_creation_date = true
cache_dir = c:\svn\gantt

comment:7 Changed 6 years ago by didley@…

thanx. Now it works.

didley

comment:8 Changed 4 years ago by rjollos

  • Owner changed from malsmith to rjollos
  • Status changed from new to assigned

Issues appears to be resolved and documentation, setup.py have been improved to handle dependencies.

comment:9 Changed 4 years ago by rjollos

  • Resolution set to fixed
  • Status changed from assigned to closed

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from rjollos. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.