Opened 17 years ago
Last modified 17 years ago
#5220 closed defect
Downloading as PDF not working on wiki page — at Initial Version
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | wiki system | Version: | |
Severity: | major | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I was on a page I had created and clicked on the "Download as PDF" like and received the following traceback:
Python Traceback Traceback (most recent call last):
File "/usr/local/python/lib/python2.4/site-packages/trac/web/main.py", line 393, in dispatch_request
dispatcher.dispatch(req)
File "/usr/local/python/lib/python2.4/site-packages/trac/web/main.py", line 243, in dispatch
resp = chosen_handler.process_request(req)
File "build/bdist.linux-x86_64/egg/tractags/web_ui.py", line 64, in process_request File "/usr/local/python/lib/python2.4/site-packages/trac/wiki/web_ui.py", line 134, in process_request
page.text, format, page.name)
File "/usr/local/python/lib/python2.4/site-packages/trac/mimeview/api.py", line 604, in send_converted
content, selector)
File "/usr/local/python/lib/python2.4/site-packages/trac/mimeview/api.py", line 384, in convert_content
output = converter.convert_content(req, mimetype, content, ck)
File "build/bdist.linux-x86_64/egg/pagetopdf/pagetopdf.py", line 21, in convert_content
UnicodeEncodeError: 'latin-1' codec can't encode character u'\u201c' in position 1236: ordinal not in range(256)