Changes between Version 1 and Version 2 of Ticket #12568


Ignore:
Timestamp:
Nov 6, 2015, 1:27:03 PM (8 years ago)
Author:
Ryan J Ollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12568 – Description

    v1 v2  
    1 How to Reproduce
     1==== How to Reproduce ====
    22
    3 While doing a GET operation on  /roadmap , Trac issued an internal error.
     3While doing a GET operation on `/roadmap`, Trac issued an internal error.
    44
    5 please provide additional details here
     5User agent: `Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/601.2.7 (KHTML, like Gecko) Version/9.0.1 Safari/601.2.7`
    66
    7 Request parameters: {{{ {} }}}
    8 User agent:  Mozilla/5.0  Windows NT 6.1; WOW64; rv:41.0  Gecko/20100101 Firefox/41.0
     7==== System Information ====
     8|| '''`Trac`''' || `1.0.2` ||
     9|| '''`Babel`''' || `1.3` ||
     10|| '''`CustomFieldAdmin`''' || `0.2.6` ||
     11|| '''`Docutils`''' || `0.12` ||
     12|| '''`Genshi`''' || `0.7 (with speedups)` ||
     13|| '''`GIT`''' || `2.1.4` ||
     14|| '''`mod_wsgi`''' || `4.3.0 (WSGIProcessGroup  WSGIApplicationGroup %{GLOBAL})` ||
     15|| '''`Pygments`''' || `2.0.1` ||
     16|| '''`pysqlite`''' || `2.6.0` ||
     17|| '''`Python`''' || `2.7.9 (default, Mar  1 2015, 13:01:26) ` [[br]] `[GCC 4.9.2]` ||
     18|| '''`pytz`''' || `2012c` ||
     19|| '''`setuptools`''' || `5.5.1` ||
     20|| '''`SQLite`''' || `3.8.7.1` ||
     21|| '''`Subversion`''' || `1.8.10 (r1615264)` ||
     22|| '''`jQuery`''' || `1.7.2` ||
     23|| '''`jQuery UI`''' || `1.10.1` ||
     24|| '''`jQuery Timepicker`''' || `1.2` ||
    925
    10 System Information
     26==== Enabled Plugins ====
     27|| '''`NavAdd`''' || `0.3` ||
     28|| '''`SimpleMultiProject`''' || `0.5.1dev` ||
     29|| '''`Trac-jsGantt`''' || `0.9` ||
     30|| '''`TracCustomFieldAdmin`''' || `0.2.6` ||
     31|| '''`TracMasterTickets`''' || `3.0.2` ||
     32|| '''`TracSubTicketsPlugin`''' || `0.1.1.dev-20120115` ||
    1133
    12 ||     Trac     ||  1.0.1  ||
    13 ||     Babel     ||  0.9.4  ||
    14 ||     FullBlog     ||  0.1.4  ||
    15 ||     Genshi     ||  0.7  without speedups   ||
    16 ||     mod_python     ||  3.3.1  ||
    17 ||     Pygments     ||  1.1.1  ||
    18 ||     pysqlite     ||  2.4.1  ||
    19 ||     Python     ||  2.6.6  r266:84292, Nov 21 2013, 10:50:32      br     GCC 4.4.7 20120313  Red Hat 4.4.7-4    ||
    20 ||     pytz     ||  2010h  ||
    21 ||     RPC     ||  1.1.2  ||
    22 ||     setuptools     ||  0.6  ||
    23 ||     SQLite     ||  3.6.20  ||
    24 ||     Subversion     ||  1.6.11  r934486   ||
    25 ||     JQUERY     ||  1.7.2  ||
    26 
    27 Enabled Plugins
    28 ||     SimpleMultiProject     ||  0.5.1dev  ||
    29 ||     TicketImport     ||  0.8.3  ||
    30 ||     TracAccountManager     ||  0.4.4  ||
    31 ||     TracCustomFieldAdmin     ||  0.2.12  ||
    32 ||     TracDateField     ||  3.0.0  ||
    33 ||     TracFullBlogPlugin     ||  0.1.4  ||
    34 ||     TracReposReadMePlugin     ||  0.1  ||
    35 ||     TracSubTicketsPlugin     ||  0.2.0.dev-20131112  ||
    36 ||     TracXMLRPC     ||  1.1.2  ||
    37 
    38 
    39 Python Traceback
     34==== Python Traceback ====
    4035{{{
    41 Traceback  most recent call last :
    42 File  /usr/lib/python2.6/site-packages/Trac-1.0.1-py2.6.egg/trac/web/main.py,
    43 line 497, in _dispatch_request  dispatcher.dispatch req
    44 File  /usr/lib/python2.6/site-packages/Trac-1.0.1-py2.6.egg/trac/web/main.py,
    45 line 233, in dispatch  content_type
    46 File  /usr/lib/python2.6/site-packages/Trac-1.0.1-py2.6.egg/trac/web/chrome.py,
    47 line 983, in render_template  stream |  self._filter_stream req, method, fileNAME, stream, data
    48 File  /usr/lib64/python2.6/site-packages/Genshi-0.7-py2.6-linux-x86_64.egg/genshi/core.py,
    49 line 133, in __or__  return Stream _ensure FUNCTION self  , serializer self.serializer
    50 File  /usr/lib/python2.6/site-packages/Trac-1.0.1-py2.6.egg/trac/web/chrome.py,
    51 line 1162, in inner  data
    52 File  build/bdist.linux-x86_64/egg/simplemultiproject/roadmap.py,
    53 line 113, in filter_stream  stream   stream | filter_.replace HTML   label for  showcompleted >Show completed milestones and
    54 File  /usr/lib64/python2.6/site-packages/Genshi-0.7-py2.6-linux-x86_64.egg/genshi/input.py,
    55 line 442, in HTML  return Stream list HTMLParser BytesIO text , encoding encoding
    56 File  /usr/lib64/python2.6/site-packages/Genshi-0.7-py2.6-linux-x86_64.egg/genshi/core.py,
    57 line 273, in _ensure  event   stream.next
    58 File  /usr/lib64/python2.6/site-packages/Genshi-0.7-py2.6-linux-x86_64.egg/genshi/input.py,
    59 line 449, in _coalesce  for kind, data, pos in chain stream,   None, None, None   :
    60 File  /usr/lib64/python2.6/site-packages/Genshi-0.7-py2.6-linux-x86_64.egg/genshi/input.py,
    61 line 337, in _generate  raise UnicodeError  source returned bytes, but no encoding specified
     36Traceback (most recent call last):
     37  File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 512, in _dispatch_request
     38    dispatcher.dispatch(req)
     39  File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 240, in dispatch
     40    content_type)
     41  File "/usr/lib/python2.7/dist-packages/trac/web/chrome.py", line 1009, in render_template
     42    stream |= self._filter_stream(req, method, filename, stream, data)
     43  File "/usr/lib/python2.7/dist-packages/genshi/core.py", line 133, in __or__
     44    return Stream(_ensure(function(self)), serializer=self.serializer)
     45  File "/usr/lib/python2.7/dist-packages/trac/web/chrome.py", line 1192, in inner
     46    data)
     47  File "build/bdist.linux-x86_64/egg/simplemultiproject/roadmap.py", line 113, in filter_stream
     48    stream = stream | filter_.replace(HTML('<label for="showcompleted">Show completed milestones and '
     49  File "/usr/lib/python2.7/dist-packages/genshi/input.py", line 442, in HTML
     50    return Stream(list(HTMLParser(BytesIO(text), encoding=encoding)))
     51  File "/usr/lib/python2.7/dist-packages/genshi/core.py", line 273, in _ensure
     52    event = stream.next()
     53  File "/usr/lib/python2.7/dist-packages/genshi/input.py", line 449, in _coalesce
     54    for kind, data, pos in chain(stream, [(None, None, None)]):
     55  File "/usr/lib/python2.7/dist-packages/genshi/input.py", line 337, in _generate
     56    raise UnicodeError("source returned bytes, but no encoding specified")
    6257UnicodeError: source returned bytes, but no encoding specified
    6358}}}