Opened 13 years ago

Last modified 13 years ago

#8642 closed defect

Gantt chart not visible -- javascript in page source not executed — at Initial Version

Reported by: ejray@… Owned by: Chris Nelson
Priority: normal Component: TracJsGanttPlugin
Severity: normal Keywords:
Cc: ejray@… Trac Release: 0.12

Description

Setup: Ubuntu Lucid. Python 2.6.5. Had this problem with Trac .11, upgraded to .12 and still see it. Using current tracjsganttplugin-r9995 installed by building then using easy install to install the egg.

Firefox and Chrome on Mac OS X Snow Leopard as client.

I see this problem with both the tracd Web server and my Apache Web server.

In a page containing nothing else, I include: TracJSGanttChart(milestone=Test)? or TracJSGanttChart(sample=1)? If I set the local milestone to something that I don't have, I do get the "No tasks selected" error, so things seem to be basically sane.

When looking for the remote (sample) tasks, or local ones with a valid milestone, I get nothing at all (beyond the usual header/footer) showing up in the page. Looking at the source, I see a lot of unexecuted Javascript where the chart should be (and it looks like the data for the chart).

I have trac log set to debug, and I see nothing obvious there either.

2011-03-29 13:36:56,849 Trac[main] DEBUG: Dispatching <Request "GET '/chrome/tracjsgantt/tracjsgantt.css'"> 2011-03-29 13:37:30,439 Trac[main] DEBUG: Dispatching <Request "GET '/wiki/NewPage'"> 2011-03-29 13:37:30,440 Trac[api] INFO: Synchronized repository in 0.00 seconds 2011-03-29 13:37:30,442 Trac[session] DEBUG: Retrieving session for ID 'ejray' 2011-03-29 13:37:30,445 Trac[chrome] DEBUG: Prepare chrome data for request 2011-03-29 13:37:30,535 Trac[formatter] DEBUG: Executing Wiki macro TracJSGanttChart by provider <tracjsgantt.tracjsgantt.TracJSGanttChart object at 0x7f548bf919d0> 2011-03-29 13:37:30,542 Trac[query] DEBUG: Count results in Query: 0 2011-03-29 13:37:30,543 Trac[query] DEBUG: Query SQL: SELECT t.id AS id,t.description AS description,t.owner AS owner,t.type AS type,t.status AS status,t.summary AS summary,t.milestone AS milestone,t.priority AS priority,t.time AS time,t.changetime AS changetime,priority.value AS priority_value FROM ticket AS t

LEFT OUTER JOIN enum AS priority ON (priority.type='priority' AND priority.name=priority)

WHERE ((COALESCE(t.milestone,)=u'Test')) ORDER BY COALESCE(priority.value,)=,CAST(priority.value AS signed),t.id

BUT...I just don't get the chart. What am I missing here?

(This looks rather like the discussion that you took offline when you announced in December...is it?)

Change History (0)

Note: See TracTickets for help on using tickets.