Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#13292 closed defect (fixed)

Genshi UnicodeError error while rendering template report_list.html

Reported by: tractest@… Owned by: Ryan J Ollos
Priority: normal Component: PrivateReportsPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description

I've installed PrivateReportsPlugin into this Trac environment (W7-64):

Package	Version
Trac 1.0.15
Genshi 0.7 (with speedups)
Pygments 2.2.0
pysqlite 2.6.0
Python	2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]
RPC 1.1.7.dev0
setuptools 36.0.1
SQLite	3.8.11
jQuery	1.7.2
jQuery UI 1.8.21
jQuery Timepicker 1.0.1

Other installed plugins:

ListMilestonesMacro	0.1.3	c:\python27\lib\site-packages
privatereports	0.4.dev0	c:\python27\lib\site-packages\privatereports-0.4.dev0-py2.7.egg
sensitivetickets	0.23	c:\python27\lib\site-packages\sensitivetickets-0.23-py2.7.egg
timingandestimationplugin	1.5.2	c:\python27\lib\site-packages\timingandestimationplugin-1.5.2-py2.7.egg
trac-jsgantt	0.11	c:\python27\lib\site-packages\trac_jsgantt-0.11-py2.7.egg
tracaccountmanager	0.4.4	c:\python27\lib\site-packages\tracaccountmanager-0.4.4-py2.7.egg
tracannouncer	1.0.dev0	c:\python27\lib\site-packages\tracannouncer-1.0.dev0-py2.7.egg
traccustomfieldadmin	0.2.13	c:\python27\lib\site-packages\traccustomfieldadmin-0.2.13-py2.7.egg
tracdatefield	3.0.0	c:\python27\lib\site-packages\tracdatefield-3.0.0-py2.7.egg
tracestimationtools	0.5.0.dev0	c:\python27\lib\site-packages\tracestimationtools-0.5.0.dev0-py2.7.egg
trackanbanboard	0.2	c:\python27\lib\site-packages\trackanbanboard-0.2-py2.7.egg
tracmastertickets	4.0.2.dev0	c:\python27\lib\site-packages\tracmastertickets-4.0.2.dev0-py2.7.egg
tracplantuml	2.3.dev0	c:\python27\lib\site-packages\tracplantuml-2.3.dev0-py2.7.egg
tracprivatewiki	1.1.0	c:\python27\lib\site-packages\tracprivatewiki-1.1.0-py2.7.egg
tracsectioneditplugin	0.2.6	c:\python27\lib\site-packages\tracsectioneditplugin-0.2.6-py2.7.egg
tracstats	0.6.1	c:\python27\lib\site-packages\tracstats-0.6.1-py2.7.egg
tracsubticketsplugin	0.5.3	c:\python27\lib\site-packages\tracsubticketsplugin-0.5.3-py2.7.egg
tracxmlrpc	1.1.7.dev0	c:\python27\lib\site-packages\tracxmlrpc-1.1.7.dev0-py2.7.egg

Following error appears when clicking on "View Tickets" link and the PrivateReportsPlugin is enabled:

Genshi UnicodeError error while rendering template report_list.html (unknown template location)

I have 261 reports defined and everything else seems to be working correctly.

Attachments (0)

Change History (11)

comment:1 Changed 7 years ago by anonymous

Trac Release: 1.0

comment:2 Changed 7 years ago by Ryan J Ollos

Owner: changed from Michael Henke to Ryan J Ollos
Status: newaccepted

comment:3 Changed 7 years ago by Ryan J Ollos

Please check the logs to see if there is a traceback.

comment:4 Changed 7 years ago by Ryan J Ollos

In 16856:

PrivateReports 0.4dev: Tidy codebase and require Trac >= 0.12

Refs #13292.

comment:5 Changed 7 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

In 16857:

PrivateReports 0.4dev: Fix Genshi UnicodeError

Fixes #13292.

comment:6 Changed 7 years ago by Ryan J Ollos

See also #13293. If you confirm the fix, I'll tag the trunk and the next version of the plugin will only be compatible with Trac 1.2+.

comment:7 Changed 7 years ago by anonymous

Great! It works now. Thanks. (So simple update... I still have a lot to learn.)

comment:8 Changed 7 years ago by Ryan J Ollos

I think there is a better way to do this. See #13298.

comment:9 Changed 7 years ago by Ryan J Ollos

In 16862:

TracPrivateReports 1.0.0dev: Implement as a permission policy

Refs #13292, Fixes #13298.

comment:10 Changed 7 years ago by Ryan J Ollos

Please consider trying #13298. See notes in comment:2:ticket:13298.

comment:11 Changed 7 years ago by Ryan J Ollos

In 16877:

TracPrivateReports 1.0.0: Tag release 1.0.0

Refs #13292.

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.