Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#13441 closed enhancement (fixed)

Render the log using JavaScript

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Component: TracDeveloperPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description (last modified by Ryan J Ollos)

The log is not rendering rendering correctly. Also, the ITemplateStreamFilter shouldn't be used in Trac 1.3.2+.

21:11:52 Trac[chrome] ERROR: Genshi AttributeError error while rendering template (unknown template location)
Traceback (most recent call last):
  File "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/trac/web/chrome.py", line 1849, in _iterable_genshi_content
    for chunk in stream.serialize(method, **kwargs):
  File "/Users/rjollos/.pyenv/versions/trac-2.7/lib/python2.7/site-packages/genshi/output.py", line 350, in __call__
    for kind, data, pos in stream:
  File "/Users/rjollos/.pyenv/versions/trac-2.7/lib/python2.7/site-packages/genshi/output.py", line 829, in __call__
    for kind, data, pos in stream:
  File "/Users/rjollos/.pyenv/versions/trac-2.7/lib/python2.7/site-packages/genshi/output.py", line 669, in __call__
    for kind, data, pos in stream:
  File "/Users/rjollos/.pyenv/versions/trac-2.7/lib/python2.7/site-packages/genshi/output.py", line 774, in __call__
    for kind, data, pos in chain(stream, [(None, None, None)]):
  File "/Users/rjollos/.pyenv/versions/trac-2.7/lib/python2.7/site-packages/genshi/output.py", line 594, in __call__
    for ev in stream:
  File "/Users/rjollos/.pyenv/versions/trac-2.7/lib/python2.7/site-packages/genshi/core.py", line 289, in _ensure
    for event in stream:
  File "/Users/rjollos/.pyenv/versions/trac-2.7/lib/python2.7/site-packages/genshi/core.py", line 289, in _ensure
    for event in stream:
  File "/Users/rjollos/.pyenv/versions/trac-2.7/lib/python2.7/site-packages/genshi/core.py", line 289, in _ensure
    for event in stream:
  File "/Users/rjollos/Documents/Workspace/trac-dev/trac-hacks/tracdeveloperplugin/trunk/tracdeveloper/log.py", line 93, in fn
    for evt in elm.generate():
AttributeError: 'Element' object has no attribute 'generate'

Attachments (0)

Change History (6)

comment:1 Changed 6 years ago by Ryan J Ollos

Owner: set to Ryan J Ollos
Status: newaccepted

comment:2 Changed 6 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

In 17207:

TracDeveloper 0.4.0dev: Render log using JavaScript

Fixes #13441.

comment:3 Changed 6 years ago by Ryan J Ollos

In 17208:

TracDeveloper 0.4.0dev: Make prefs compatible with Trac 1.3.2+

Refs #13441.

comment:4 Changed 6 years ago by Ryan J Ollos

In 17209:

TracDeveloper 0.4.0dev: Fix rendering of API docs

Refs #13441.

comment:5 Changed 6 years ago by Ryan J Ollos

In 17210:

TracDeveloper 0.4.0dev: Require Trac >= 1.0

Refs #13441.

comment:6 Changed 6 years ago by Ryan J Ollos

Description: modified (diff)

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.