Edgewall Software
Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#13048 closed defect (cantfix)

Genshi UnicodeEncodeError error while rendering template wiki_view.html (unknown template location)

Reported by: hgrapt@… Owned by:
Priority: normal Milestone:
Component: rendering Version: 1.2.2
Severity: major Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

After upgrading trac to 1.2.2 i get following error accessing the wiki

"Genshi UnicodeEncodeError error while rendering template wiki_view.html (unknown template location)"

The error occurs only on the Wiki Page, all other functions are not concerned.

Attachments (1)

trac_debug.log (34.5 KB ) - added by hgrapt@… 6 years ago.
debug.log after enabling use_chunked_encoding

Download all attachments as: .zip

Change History (12)

comment:1 by Jun Omae, 6 years ago

Component: web frontendrendering
Keywords: Genshi UnicodeEncodeError template wiki_view.html removed
Priority: highnormal
Version: 1.2.2

Please provide trac.log about the error after enabling TracLogging with DEBUG level, and system information and installed plugins from your Trac About page.

comment:2 by Jun Omae, 6 years ago

Keywords: needinfo added

comment:3 by hgraptgmx.de, 6 years ago

System Information

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0
Package Version
Trac 1.2.2
Babel 2.3.4
Docutils 0.11
Genshi 0.6 (without speedups)
mod_wsgi 3.4 (WSGIProcessGroup trac-a350-2spd-ssl WSGIApplicationGroup %{GLOBAL})
MySQL server: "10.1.32-MariaDB", client: "5.5.56-MariaDB", thread-safe: 1
MySQLdb 1.2.5
Pygments 1.4
Python 2.7.5 (default, Apr 11 2018, 17:41:36) [GCC 4.8.5 20150623 (Red Hat 4.8.5-28.0.1)]
pytz 2016.6.1
setuptools 18.7
Subversion 1.8.19 (r1800620)
jQuery 1.11.3
jQuery UI 1.11.4
jQuery Timepicker 1.5.5

Installed Plugins

Name Version Location
cc-selector 0.0.3.dev0 /var/trac-gate/instances/a350-2spd/trac/a350-2spd/plugins/cc_selector-0.0.3dev-py2.7.egg
TracCustomFieldAdmin 0.2.13 /usr/lib/python2.7/site-packages/TracCustomFieldAdmin-0.2.13-py2.7.egg
TracDateField 3.0.0 /var/trac-gate/instances/a350-2spd/trac/a350-2spd/plugins/TracDateField-3.0.0-py2.7.egg
TracUsernameDecoratePlugin 0.12.0.1 /var/trac-gate/instances/a350-2spd/trac/a350-2spd/plugins/TracUsernameDecoratePlugin-0.12.0.1-py2.7.egg
TracWikiPrintPlugin 2.0.0dev-r0 /var/trac-gate/instances/a350-2spd/trac/a350-2spd/plugins/TracWikiPrintPlugin-2.0.0dev_r0-py2.7.egg
[components]
datefield.* = enabled
tracopt.versioncontrol.svn.svn_fs.subversionconnector = enabled
tracopt.versioncontrol.svn.svn_prop.subversionmergepropertydiffrenderer = enabled
tracopt.versioncontrol.svn.svn_prop.subversionmergepropertyrenderer = enabled
tracopt.versioncontrol.svn.svn_prop.subversionpropertyrenderer = enabled
wikiprint.* = enabled
wikiprint.formats.wikiprintoutput = enabled
wikiprint.web_ui.wikiprintadmin = enabled
wikiprint.wikiprint.wikiprint = enabled
wikiprint.wikiprint.wikitohtmlpage = enabled
wikiprint.wikiprint.wikitopdfpage = enabled
Last edited 6 years ago by Jun Omae (previous) (diff)

comment:4 by hgraptgmx.de, 6 years ago

trac.log

...
2018-06-22 11:54:01,796 Trac[env] INFO: -------------------------------- environment startup [Trac 1.2.2] --------------------------------
2018-06-22 11:54:01,826 Trac[loader] DEBUG: Loading plugin "cc_selector.cc_selector" from "/var/trac-gate/instances/a350-2spd/trac/a350-2spd/plugins/cc_selector-0.0.3dev-py2.7.egg"
2018-06-22 11:54:01,827 Trac[loader] DEBUG: Loading plugin "customfieldadmin.admin" from "/usr/lib/python2.7/site-packages/TracCustomFieldAdmin-0.2.13-py2.7.egg"
2018-06-22 11:54:01,828 Trac[loader] DEBUG: Loading plugin "customfieldadmin.api" from "/usr/lib/python2.7/site-packages/TracCustomFieldAdmin-0.2.13-py2.7.egg"
2018-06-22 11:54:01,829 Trac[loader] DEBUG: Loading plugin "datefield.filter" from "/var/trac-gate/instances/a350-2spd/trac/a350-2spd/plugins/TracDateField-3.0.0-py2.7.egg"
2018-06-22 11:54:01,829 Trac[loader] DEBUG: Loading plugin "trac.about" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,829 Trac[loader] DEBUG: Loading plugin "trac.admin.console" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,830 Trac[loader] DEBUG: Loading plugin "trac.admin.web_ui" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,830 Trac[loader] DEBUG: Loading plugin "trac.attachment" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,831 Trac[loader] DEBUG: Loading plugin "trac.db.mysql" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,832 Trac[loader] DEBUG: Loading plugin "trac.db.postgres" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,853 Trac[loader] DEBUG: Skipping "trac.db.postgres = trac.db.postgres_backend [postgresql]": DistributionNotFound: The 'psycopg2>=2.0' distribution was not found and is required by the application
2018-06-22 11:54:01,854 Trac[loader] DEBUG: Loading plugin "trac.db.sqlite" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,854 Trac[loader] DEBUG: Loading plugin "trac.mimeview.patch" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,855 Trac[loader] DEBUG: Loading plugin "trac.mimeview.pygments" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,855 Trac[loader] DEBUG: Loading plugin "trac.mimeview.rst" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,856 Trac[loader] DEBUG: Loading plugin "trac.mimeview.txtl" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,878 Trac[loader] DEBUG: Skipping "trac.mimeview.txtl = trac.mimeview.txtl [textile]": DistributionNotFound: The 'textile>=2.0' distribution was not found and is required by the application
2018-06-22 11:54:01,878 Trac[loader] DEBUG: Loading plugin "trac.notification.api" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,878 Trac[loader] DEBUG: Loading plugin "trac.notification.compat" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,879 Trac[loader] DEBUG: Loading plugin "trac.notification.mail" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,879 Trac[loader] DEBUG: Loading plugin "trac.notification.prefs" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,880 Trac[loader] DEBUG: Loading plugin "trac.prefs" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,880 Trac[loader] DEBUG: Loading plugin "trac.search" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,881 Trac[loader] DEBUG: Loading plugin "trac.ticket.admin" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,881 Trac[loader] DEBUG: Loading plugin "trac.ticket.batch" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,882 Trac[loader] DEBUG: Loading plugin "trac.ticket.notification" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,882 Trac[loader] DEBUG: Loading plugin "trac.ticket.query" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,883 Trac[loader] DEBUG: Loading plugin "trac.ticket.report" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,883 Trac[loader] DEBUG: Loading plugin "trac.ticket.roadmap" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,884 Trac[loader] DEBUG: Loading plugin "trac.ticket.web_ui" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,884 Trac[loader] DEBUG: Loading plugin "trac.timeline" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,885 Trac[loader] DEBUG: Loading plugin "trac.versioncontrol.admin" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,885 Trac[loader] DEBUG: Loading plugin "trac.versioncontrol.svn_authz" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,886 Trac[loader] DEBUG: Loading plugin "trac.versioncontrol.web_ui" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,886 Trac[loader] DEBUG: Loading plugin "trac.web.auth" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,887 Trac[loader] DEBUG: Loading plugin "trac.web.main" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,887 Trac[loader] DEBUG: Loading plugin "trac.web.session" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,888 Trac[loader] DEBUG: Loading plugin "trac.wiki.admin" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,888 Trac[loader] DEBUG: Loading plugin "trac.wiki.interwiki" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,889 Trac[loader] DEBUG: Loading plugin "trac.wiki.macros" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,889 Trac[loader] DEBUG: Loading plugin "trac.wiki.web_api" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,890 Trac[loader] DEBUG: Loading plugin "trac.wiki.web_ui" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,890 Trac[loader] DEBUG: Loading plugin "tracopt.perm.authz_policy" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,891 Trac[loader] DEBUG: Loading plugin "tracopt.perm.config_perm_provider" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,891 Trac[loader] DEBUG: Loading plugin "tracopt.ticket.clone" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,892 Trac[loader] DEBUG: Loading plugin "tracopt.ticket.commit_updater" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,892 Trac[loader] DEBUG: Loading plugin "tracopt.ticket.deleter" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,893 Trac[loader] DEBUG: Loading plugin "tracopt.versioncontrol.git.git_fs" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,893 Trac[loader] DEBUG: Loading plugin "tracopt.versioncontrol.svn.svn_fs" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,894 Trac[loader] DEBUG: Loading plugin "tracopt.versioncontrol.svn.svn_prop" from "/usr/lib/python2.7/site-packages/Trac-1.2.2-py2.7.egg"
2018-06-22 11:54:01,894 Trac[loader] DEBUG: Loading plugin "tracusernamedecorate.web_ui" from "/var/trac-gate/instances/a350-2spd/trac/a350-2spd/plugins/TracUsernameDecoratePlugin-0.12.0.1-py2.7.egg"
2018-06-22 11:54:01,894 Trac[loader] DEBUG: Loading plugin "wikiprint.formats" from "/var/trac-gate/instances/a350-2spd/trac/a350-2spd/plugins/TracWikiPrintPlugin-2.0.0dev_r0-py2.7.egg"
2018-06-22 11:54:01,895 Trac[loader] DEBUG: Loading plugin "wikiprint.web_ui" from "/var/trac-gate/instances/a350-2spd/trac/a350-2spd/plugins/TracWikiPrintPlugin-2.0.0dev_r0-py2.7.egg"
2018-06-22 11:54:01,896 Trac[loader] DEBUG: Loading plugin "wikiprint.wikiprint" from "/var/trac-gate/instances/a350-2spd/trac/a350-2spd/plugins/TracWikiPrintPlugin-2.0.0dev_r0-py2.7.egg"
2018-06-22 11:54:01,899 Trac[default_workflow] DEBUG: Workflow actions at initialization: defaultdict(<type 'dict'>, {u'resolve': {u'operations': [u'set_resolution'], 'name': '', 'default': 0, 'newstate': u'closed', 'label': u'resolve', 'oldstates': [u'new', u'assigned', u'accepted', u'reopened'], u'permissions': [u'TICKET_MODIFY']}, u'create': {'operations': [], 'name': '', u'default': 1, 'newstate': u'new', 'label': u'create', 'oldstates': [None], 'permissions': []}, u'accept': {u'operations': [u'set_owner_to_self'], 'name': '', 'default': 0, 'newstate': u'accepted', 'label': u'accept', 'oldstates': [u'new', u'assigned', u'accepted', u'reopened'], u'permissions': [u'TICKET_MODIFY']}, u'leave': {u'operations': [u'leave_status'], 'name': '', u'default': 1, 'newstate': u'*', 'label': u'leave', 'oldstates': [u'*'], 'permissions': []}, u'reopen': {u'operations': [u'del_resolution'], 'name': '', 'default': 0, 'newstate': u'reopened', 'label': u'reopen', 'oldstates': [u'closed'], u'permissions': [u'TICKET_CREATE']}, u'create_and_assign': {u'operations': [u'may_set_owner'], 'name': '', 'default': 0, 'newstate': u'assigned', u'label': u'assign', 'oldstates': [None], u'permissions': [u'TICKET_MODIFY']}, u'reassign': {u'operations': [u'set_owner'], 'name': '', 'default': 0, 'newstate': u'assigned', 'label': u'reassign', 'oldstates': [u'new', u'assigned', u'accepted', u'reopened'], u'permissions': [u'TICKET_MODIFY']}, '_reset': {'operations': ['reset_workflow'], 'default': 0, 'newstate': 'new', 'label': 'reset', 'oldstates': [], 'permissions': ['TICKET_ADMIN']}})

2018-06-22 11:54:01,911 Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/admin/general/logging'">
2018-06-22 11:54:01,912 Trac[main] DEBUG: Chosen handler is <Component trac.admin.web_ui.AdminModule>
2018-06-22 11:54:01,916 Trac[svn_fs] DEBUG: Subversion bindings imported
2018-06-22 11:54:01,921 Trac[cache] DEBUG: cache metadata undefined (youngest_rev=0)
2018-06-22 11:54:01,922 Trac[cache] INFO: repos rev [0] != cached rev [None]
2018-06-22 11:54:01,922 Trac[session] DEBUG: Retrieving session for ID u'ng1b872'
2018-06-22 11:54:01,929 Trac[main] DEBUG: Negotiated locale: None -> en_US
2018-06-22 11:54:01,994 Trac[api] INFO: Synchronized '(default)' repository in 0.08 seconds
2018-06-22 11:54:01,995 Trac[api] DEBUG: action controllers for ticket workflow: ['ConfigurableTicketWorkflow']
2018-06-22 11:54:01,999 Trac[chrome] DEBUG: Prepare chrome data for request
2018-06-22 11:54:02,009 Trac[main] DEBUG: Rendering response from handler
2018-06-22 11:54:02,213 Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/chrome/usernamedecorate/base.css'">
2018-06-22 11:54:02,213 Trac[main] DEBUG: Chosen handler is <Component trac.web.chrome.Chrome>
2018-06-22 11:54:02,257 Trac[session] DEBUG: Retrieving session for ID u'ng1b872'
2018-06-22 11:55:26,931 Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/wiki'">
2018-06-22 11:55:26,931 Trac[main] DEBUG: Chosen handler is <Component trac.wiki.web_ui.WikiModule>
2018-06-22 11:55:26,936 Trac[cache] DEBUG: cache metadata undefined (youngest_rev=0)
2018-06-22 11:55:26,936 Trac[cache] INFO: repos rev [0] != cached rev [None]
2018-06-22 11:55:26,937 Trac[session] DEBUG: Retrieving session for ID u'ng1b872'
2018-06-22 11:55:26,944 Trac[main] DEBUG: Negotiated locale: None -> en_US
2018-06-22 11:55:27,011 Trac[api] INFO: Synchronized '(default)' repository in 0.08 seconds
2018-06-22 11:55:27,015 Trac[chrome] DEBUG: Prepare chrome data for request
2018-06-22 11:55:27,030 Trac[main] DEBUG: Rendering response from handler
2018-06-22 11:55:27,194 Trac[main] WARNING: [172.16.0.173] HTTPInternalError: 500 Trac Error (Genshi UnicodeEncodeError error while rendering template wiki_view.html (unknown template location)), <RequestWithSession "GET '/wiki'">, referrer 'https://casiv1.ham.de.eu.airbus.corp/trac/a350-2spd/admin/general/logging'
2018-06-22 11:55:27,353 Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/chrome/common/css/wiki.css'">
2018-06-22 11:55:27,353 Trac[main] DEBUG: Chosen handler is <Component trac.web.chrome.Chrome>
2018-06-22 11:55:27,379 Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/chrome/usernamedecorate/tipsy.css'">
2018-06-22 11:55:27,380 Trac[main] DEBUG: Chosen handler is <Component trac.web.chrome.Chrome>
2018-06-22 11:55:27,385 Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/chrome/usernamedecorate/base.css'">
2018-06-22 11:55:27,386 Trac[main] DEBUG: Chosen handler is <Component trac.web.chrome.Chrome>
2018-06-22 11:55:27,386 Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/chrome/common/css/code.css'">
2018-06-22 11:55:27,391 Trac[main] DEBUG: Chosen handler is <Component trac.web.chrome.Chrome>
2018-06-22 11:55:27,482 Trac[session] DEBUG: Retrieving session for ID u'ng1b872'
2018-06-22 11:55:27,602 Trac[session] DEBUG: Retrieving session for ID u'ng1b872'
2018-06-22 11:55:27,654 Trac[session] DEBUG: Retrieving session for ID u'ng1b872'
2018-06-22 11:55:27,706 Trac[session] DEBUG: Retrieving session for ID u'ng1b872'

comment:5 by Jun Omae, 6 years ago

It seems that the error is caused by content of WikiStart in your Trac. Could you please attach content of your WikiStart to this ticket, if possible?

comment:6 by anonymous, 6 years ago

Additional Info: Some of the Reports raise also an error, for examle the report "{10} All Tickets by Owner"

Query:

query:?status=accepted
&
status=assigned
&
status=new
&
status=reopened
&
group=owner
&
order=priority

"Genshi UnicodeEncodeError error while rendering template query.html (unknown template location)"

  • Content of WikiStart
    cat /root/a350-2spd_tmp/WikiStart
    = Welcome to Trac 1.0.1 =
    
    Trac is a '''minimalistic''' approach to '''web-based''' management of
    '''software projects'''. Its goal is to simplify effective tracking and handling of software issues, enhancements and overall progress.
    
    All aspects of Trac have been designed with the single goal to
    '''help developers write great software''' while '''staying out of the way'''
    and imposing as little as possible on a team's established process and
    culture.
    
    As all Wiki pages, this page is editable, this means that you can
    modify the contents of this page simply by using your
    web-browser. Simply click on the "Edit this page" link at the bottom
    of the page. WikiFormatting will give you a detailed description of
    available Wiki formatting commands.
    
    "[wiki:TracAdmin trac-admin] ''yourenvdir'' initenv" created
    a new Trac environment, containing a default set of wiki pages and some sample
    data. This newly created environment also contains
    [wiki:TracGuide documentation] to help you get started with your project.
    
    You can use [wiki:TracAdmin trac-admin] to configure
    [http://trac.edgewall.org/ Trac] to better fit your project, especially in
    regard to ''components'', ''versions'' and ''milestones''.
    
    
    TracGuide is a good place to start.
    
    Enjoy! [[BR]]
    ''The Trac Team''
    
    == Starting Points ==
    
     * TracGuide --  Built-in Documentation
     * [http://trac.edgewall.org/ The Trac project] -- Trac Open Source Project
     * [http://trac.edgewall.org/wiki/TracFaq Trac FAQ] -- Frequently Asked Questions
     * TracSupport --  Trac Support
    
    For a complete list of local wiki pages, see TitleIndex.
    
    == Test Bench Dokumentation ==
    
    Here you find the entry Page to the 2SPD TestBenchDocumentation
    

comment:7 by Jun Omae, 6 years ago

Thanks, but wiki text and custom query are valid and cannot lead the error.

Hmm, could you please configure [trac] use_chunked_encoding = enabled temporarily? After the configuration, stack trace of the error should be dumped in trac.log when Genshi UnicodeEncodeError is raised.

by hgrapt@…, 6 years ago

Attachment: trac_debug.log added

debug.log after enabling use_chunked_encoding

comment:8 by hgrapt@…, 6 years ago

after enabling use_chunked encoding, there ara no more errors in Wiki nor Reports.

comment:9 by Jun Omae, 6 years ago

Resolution: cantfix
Status: newclosed

Thanks. The issue is caused by old th:UsernameDecoratePlugin (th:r14262, th:#12061). Please upgrade to latest of th:UsernameDecoratePlugin.

2018-06-25 07:41:10,604 Trac[main] DEBUG: Rendering response from handler
2018-06-25 07:41:10,934 Trac[chrome] ERROR: Genshi UnicodeEncodeError error while rendering template (unknown template location)
Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/trac/web/chrome.py", line 1229, in iterable_content
    for chunk in stream.serialize(method, **kwargs):
  ...
  File "/var/trac-gate/instances/a350-2spd/trac/a350-2spd/plugins/TracUsernameDecoratePlugin-0.12.0.1-py2.7.egg/tracusernamedecorate/web_ui.py", line 205, in _authorinfo
    print author, label
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 4: ordinal not in range(128)
Last edited 6 years ago by Jun Omae (previous) (diff)

comment:10 by Jun Omae, 6 years ago

Keywords: needinfo removed

comment:11 by hgrapt@…, 6 years ago

OK, thank you, works with newer version of the plugin.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.