Opened 4 years ago
Last modified 4 years ago
#13713 closed defect
Getting TracJsGanttPlugin to work with Trac 1.4 — at Version 3
Reported by: | Owned by: | Chris Nelson | |
---|---|---|---|
Priority: | normal | Component: | TracJsGanttPlugin |
Severity: | normal | Keywords: | Gantt |
Cc: | lukas.arnold@… | Trac Release: | 1.4 |
Description (last modified by )
A user has been using Trac 1.0.4. I've tried to set up a separate web server with just Trac under CentOS7, python 2.7.5. I used "pip install Trac" and got Trac 1.4.
The user specifically requested that the TracJsGanttPlugin work. I've been fiddling with the code, and have made the changes indicated below. It's at the point where I don't get error messages when the plugin is enabled... but the plugin doesn't display anything. I tried the example:
[[TracJSGanttChart(sample=1)]]
but I just get a blank line.
Have I missed anything?
The attached files show the code changes I made to trac/env.py, tracjsgantt/tracpm.py, and tracjsgantt/tracjsgantt.py.
Change History (6)
Changed 4 years ago by
Attachment: | env.py-diff.txt added |
---|
Changed 4 years ago by
Attachment: | tracpm.py-diff.txt added |
---|
Changed 4 years ago by
Attachment: | tracjsgantt.py-diff.txt added |
---|
comment:1 Changed 4 years ago by
comment:2 Changed 4 years ago by
Oops! Forgot to include the trac log:
2019-12-10 14:13:55,170 Trac[env] INFO: -------------------------------- environment startup [Trac 1.4] -------------------------------- 2019-12-10 14:13:55,667 Trac[loader] ERROR: Skipping "datefield.filter = datefield.filter": VersionConflict: (Trac 1.4 (/usr/lib64/python2.7/site-packages), Requirement.parse('Trac<1.2,>=1.0')) 2019-12-10 14:13:56,353 Trac[tracpm] INFO: Initializing TracPM 2019-12-10 14:13:56,546 Trac[register] WARNING: RegistrationModule is disabled because the password store does not support writing. 2019-12-10 14:13:56,547 Trac[web_ui] WARNING: AccountModule is disabled because no configured password store supports writing. 2019-12-10 14:13:56,668 Trac[git_fs] INFO: detected GIT version 1.8.3.1 2019-12-10 14:13:56,980 Trac[chrome] WARNING: Component TotalHoursFilter relies on deprecated Genshi stream filtering 2019-12-10 14:13:57,385 Trac[tracpm] INFO: Found 2 enabled ITaskSorter implementations. Using <Component tracjsgantt.tracpm.ProjectSorter>.
comment:3 Changed 4 years ago by
Description: | modified (diff) |
---|
I should add: I know nothing about Trac or its API. I've just tried to get things to compile/interpret based on previous tickets I found on the web.