Edgewall Software
Modify

Ticket #8951 (closed defect: cantfix)

Opened 2 years ago

Last modified 17 months ago

LookupError: unknown encoding: A

Reported by: engineliu Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.6
Severity: normal Keywords: needinfo
Cc:
Release Notes:
API Changes:

Description

How to Reproduce

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

(please provide additional details here)

User Agent was: Opera/9.80 (Windows NT 6.1; U; en) Presto/2.2.15 Version/10.10

System Information

Trac 0.11.6
Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)]
setuptools 0.6c11
SQLite 3.5.9
pysqlite 2.4.1
Genshi 0.5.1
Subversion 1.6.6 (r40053)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "C:\Python26\lib\site-packages\trac-0.11.6-py2.6-win32.egg\trac\web\main.py", line 450, in _dispatch_request
    dispatcher.dispatch(req)
  File "C:\Python26\lib\site-packages\trac-0.11.6-py2.6-win32.egg\trac\web\main.py", line 206, in dispatch
    resp = chosen_handler.process_request(req)
  File "C:\Python26\lib\site-packages\trac-0.11.6-py2.6-win32.egg\trac\timeline\web_ui.py", line 123, in process_request
    'today': format_date(today),
  File "C:\Python26\lib\site-packages\trac-0.11.6-py2.6-win32.egg\trac\util\datefmt.py", line 140, in format_date
    return format_datetime(t, format, tzinfo=tzinfo)
  File "C:\Python26\lib\site-packages\trac-0.11.6-py2.6-win32.egg\trac\util\datefmt.py", line 132, in format_datetime
    return unicode(text, encoding, 'replace')
LookupError: unknown encoding: A


Attachments

Change History

comment:1 Changed 2 years ago by rblank

  • Keywords needinfo added

Something seems to be borked with your locale settings. Could you please try the following in a Python shell:

>>> import locale, sys
>>> print locale.getpreferredencoding(), sys.getdefaultencoding()
UTF-8 ascii

comment:2 Changed 17 months ago by cboos

  • Resolution set to cantfix
  • Status changed from new to closed

No feedback, closing.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from (none). Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.