Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#8522 closed defect (invalid)

LookupError: unknown encoding: iso885915_euro

Reported by: wagner Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.1
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /ticket/1, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'id': u'1'}

User Agent was: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5

System Information

Trac 0.11.1
Python 2.5.2 (r252:60911, Jan 4 2009, 22:17:10)
[GCC 4.3.2]
setuptools 0.6c8
SQLite 3.5.9
pysqlite 2.4.1
Genshi 0.5.1
mod_python 3.3.1
Pygments 0.10
Subversion 1.5.1 (r32289)
RPC 1.0.6
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 423, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 219, in dispatch
    data, content_type)
  File "/usr/lib/python2.5/site-packages/trac/web/chrome.py", line 715, in render_template
    return stream.render(method, doctype=doctype)
  File "/var/lib/python-support/python2.5/genshi/core.py", line 179, in render
    return encode(generator, method=method, encoding=encoding, out=out)
  File "/var/lib/python-support/python2.5/genshi/output.py", line 60, in encode
    return _encode(u''.join(list(iterator)))
  File "/var/lib/python-support/python2.5/genshi/output.py", line 311, in __call__
    for kind, data, pos in stream:
  File "/var/lib/python-support/python2.5/genshi/output.py", line 753, in __call__
    for kind, data, pos in stream:
  File "/var/lib/python-support/python2.5/genshi/output.py", line 592, in __call__
    for kind, data, pos in stream:
  File "/var/lib/python-support/python2.5/genshi/output.py", line 698, in __call__
    for kind, data, pos in chain(stream, [(None, None, None)]):
  File "/var/lib/python-support/python2.5/genshi/output.py", line 532, in __call__
    for ev in stream:
  File "/var/lib/python-support/python2.5/genshi/core.py", line 283, in _ensure
    for event in stream:
  File "/var/lib/python-support/python2.5/genshi/core.py", line 283, in _ensure
    for event in stream:
  File "/usr/lib/python2.5/site-packages/trac/web/chrome.py", line 767, in _strip_accesskeys
    for kind, data, pos in stream:
  File "/var/lib/python-support/python2.5/genshi/core.py", line 283, in _ensure
    for event in stream:
  File "/usr/lib/python2.5/site-packages/trac/web/chrome.py", line 756, in _generate
    for kind, data, pos in stream:
  File "/var/lib/python-support/python2.5/genshi/template/base.py", line 569, in _include
    for event in stream:
  File "/var/lib/python-support/python2.5/genshi/template/markup.py", line 298, in _match
    ctxt, start=idx + 1, **vars):
  File "/var/lib/python-support/python2.5/genshi/template/markup.py", line 298, in _match
    ctxt, start=idx + 1, **vars):
  File "/var/lib/python-support/python2.5/genshi/template/markup.py", line 245, in _match
    for event in stream:
  File "/var/lib/python-support/python2.5/genshi/template/base.py", line 543, in _exec
    for event in stream:
  File "/var/lib/python-support/python2.5/genshi/template/base.py", line 533, in _eval
    for event in substream:
  File "/var/lib/python-support/python2.5/genshi/template/base.py", line 496, in _eval
    for kind, data, pos in stream:
  File "/var/lib/python-support/python2.5/genshi/template/base.py", line 551, in _flatten
    for event in stream:
  File "/var/lib/python-support/python2.5/genshi/core.py", line 283, in _ensure
    for event in stream:
  File "/var/lib/python-support/python2.5/genshi/path.py", line 141, in _generate
    subevent = stream.next()
  File "/var/lib/python-support/python2.5/genshi/template/base.py", line 569, in _include
    for event in stream:
  File "/var/lib/python-support/python2.5/genshi/template/markup.py", line 234, in _strip
    event = stream.next()
  File "/var/lib/python-support/python2.5/genshi/template/base.py", line 543, in _exec
    for event in stream:
  File "/var/lib/python-support/python2.5/genshi/template/base.py", line 533, in _eval
    for event in substream:
  File "/var/lib/python-support/python2.5/genshi/template/base.py", line 496, in _eval
    for kind, data, pos in stream:
  File "/var/lib/python-support/python2.5/genshi/template/base.py", line 551, in _flatten
    for event in stream:
  File "/var/lib/python-support/python2.5/genshi/core.py", line 283, in _ensure
    for event in stream:
  File "/var/lib/python-support/python2.5/genshi/path.py", line 141, in _generate
    subevent = stream.next()
  File "/var/lib/python-support/python2.5/genshi/template/base.py", line 569, in _include
    for event in stream:
  File "/var/lib/python-support/python2.5/genshi/template/markup.py", line 234, in _strip
    event = stream.next()
  File "/var/lib/python-support/python2.5/genshi/template/base.py", line 543, in _exec
    for event in stream:
  File "/var/lib/python-support/python2.5/genshi/template/base.py", line 520, in _eval
    result = _eval_expr(data, ctxt, **vars)
  File "/var/lib/python-support/python2.5/genshi/template/base.py", line 286, in _eval_expr
    retval = expr.evaluate(ctxt)
  File "/var/lib/python-support/python2.5/genshi/template/eval.py", line 180, in evaluate
    return eval(self.code, _globals, {'__data__': data})
  File "/usr/lib/python2.5/site-packages/trac/ticket/templates/ticket.html", line 129, in <Expression u'dateinfo(ticket.time_created)'>
    <p py:if="ticket.exists">Opened ${dateinfo(ticket.time_created)} ago</p>
  File "/usr/lib/python2.5/site-packages/trac/timeline/web_ui.py", line 231, in dateinfo
    precision='second')
  File "/usr/lib/python2.5/site-packages/trac/timeline/web_ui.py", line 264, in get_timeline_link
    iso_date = display_date = format_datetime(date, 'iso8601', req.tz)
  File "/usr/lib/python2.5/site-packages/trac/util/datefmt.py", line 113, in format_datetime
    return unicode(text, encoding, 'replace')
LookupError: unknown encoding: iso885915_euro

Attachments (0)

Change History (2)

comment:1 by Emmanuel Blot, 15 years ago

InstallationIssue: the selected locale (iso885915_euro) is not installed/configured on your server.

It is neither a Trac nor a Python issue.

comment:2 by Emmanuel Blot, 15 years ago

Resolution: invalid
Status: newclosed

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.