Edgewall Software
Modify

Ticket #7117 (closed defect: wontfix)

Opened 4 years ago

Last modified 4 years ago

Cannot make PDF of wiki page

Reported by: anonymous Owned by: jonas
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords: plugin
Cc:
Release Notes:
API Changes:

Description (last modified by eblot) (diff)

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)

Attachments

Change History

comment:1 Changed 4 years ago by eblot

  • Description modified (diff)
  • Keywords plugin added
  • Resolution set to wontfix
  • Status changed from new to closed

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

Please report the error to the plugin maintainer.

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 jonas. 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.