Modify

Opened 16 years ago

Closed 16 years ago

Last modified 14 years ago

#3599 closed defect (fixed)

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 219: ordinal not in range(128)

Reported by: hyooooooob@… Owned by: Diorgenes Felipe Grzesiuk
Priority: normal Component: TracWikiToPdfPlugin
Severity: normal Keywords: ASCII
Cc: Trac Release: 0.11

Description

How to Reproduce

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

(please provide additional details here)

Request parameters:

{'page': u'CDC', 'format': u'pdf'}

User Agent was: Opera/9.50 (Windows NT 5.1; U; fr)

System Information

Trac 0.11
Python 2.4.4 (#1, Apr 15 2008, 23:37:53)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)]
setuptools 0.6c3
SQLite 3.3.8
pysqlite 1.1.8
Genshi 0.5.1
mod_python 3.2.10
Subversion 1.4.2 (r22196)
jQuery: 1.2.3

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/web/main.py", line 423, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/web/main.py", line 197, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/wiki/web_ui.py", line 161, in process_request
    format, versioned_page.name)
  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/mimeview/api.py", line 833, in send_converted
    content, selector)
  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/mimeview/api.py", line 559, in convert_content
    output = converter.convert_content(req, mimetype, content, ck)
  File "build/bdist.linux-i686/egg/wikitopdf/wikitopdf.py", line 97, in convert_content
  File "build/bdist.linux-i686/egg/wikitopdf/wikitopdf.py", line 35, in wiki_to_pdf
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 219: ordinal not in range(128)

Attachments (0)

Change History (3)

comment:1 Changed 16 years ago by hyooooooob@…

It's a page containing french characters.

comment:2 in reply to:  1 Changed 16 years ago by Diorgenes Felipe Grzesiuk

Resolution: fixed
Status: newclosed

Replying to hyooooooob@gmail.com:

It's a page containing french characters.

Hi

This was correction in new version 2.2.1

Regards

Diorgenes F. Grzesiuk

comment:3 Changed 14 years ago by Adrian Fritz

Keywords: ASCII added; ascii removed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Diorgenes Felipe Grzesiuk.
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.