Edgewall Software

Opened 16 years ago

Closed 16 years ago

#7117 closed defect (wontfix)

Cannot make PDF of wiki page — at Version 1

Reported by: anonymous Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords: plugin
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Emmanuel Blot)

I tried to make a PDF of the following page in my wiki:

https://alecorp-trac.cvsdude.com/USA-ATB/wiki/ATBDoc

and I received the following error. This was repeatable by myself and others.

Traceback (most recent call last):
  File "/usr/local/python/lib/python2.5/site-packages/trac/web/main.py", line 393, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/python/lib/python2.5/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 76, in process_request
    result = WikiModule.process_request(self, req)
  File "/usr/local/python/lib/python2.5/site-packages/trac/wiki/web_ui.py", line 134, in process_request
    page.text, format, page.name)
  File "/usr/local/python/lib/python2.5/site-packages/trac/mimeview/api.py", line 606, in send_converted
    content, selector)
  File "/usr/local/python/lib/python2.5/site-packages/trac/mimeview/api.py", line 385, 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
    page = wiki_to_html(source, self.env, req).encode(codepage)
UnicodeEncodeError: 'latin-1' codec can't encode character u'\u201c' in position 4760: ordinal not in range(256)

Change History (1)

comment:1 by Emmanuel Blot, 16 years ago

Description: modified (diff)
Keywords: plugin added
Resolution: wontfix
Status: newclosed

This error is triggered from a plugin, "pagetopdf".

Please report the error to the plugin maintainer.

Note: See TracTickets for help on using tickets.