Modify

Opened 6 years ago

Closed 6 years ago

Last modified 4 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
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 follow-up: Changed 6 years ago by hyooooooob@…

It's a page containing french characters.

comment:2 in reply to: ↑ 1 Changed 6 years ago by diorgenes

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

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 4 years ago by AdrianFritz

  • Keywords ASCII added; ascii removed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.