Opened 11 years ago

Closed 11 years ago

#664 closed defect (fixed)

PageToPDFPlugin fails

Reported by: gary@… Owned by: Alec Thomas
Priority: normal Component: PageToPdfPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10


I'm running Trac 0.10b1 and just installed this plugin. I'm also running htmldoc just built/installed from SVN. When I run the PDF plugin, it starts up, but then fails, generating a bogus PDF file.

Attachments (1)

TracWikiStart.pdf (164 bytes) - added by anonymous 11 years ago.

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by anonymous

Attachment: TracWikiStart.pdf added

comment:1 Changed 11 years ago by gary@…

I found the reason for this failure - the plugin tells htmldoc to use codepage 8859-15, but the default install of htmldoc only has iso-8859-15.

I notice in the plugin you strip the iso- from the locale. Why?

For now, I'll just not do that.

comment:2 Changed 11 years ago by Alec Thomas

Because that's what the man page with my version (1.8.26) of htmldoc tells me to do:

       --charset {8859-1...8859-15}
            Specifies the ISO character set to use for the output.

comment:3 Changed 11 years ago by gary@…

This must have changed with version 1.9 (I'm running the bleeding edge version from SVN)

Maybe it's OK to just leave it out? I have a feeling that this will be more of a problem once 1.9 becomes the standard version.

comment:4 Changed 11 years ago by Alec Thomas

Priority: highnormal
Severity: criticalnormal

comment:5 Changed 11 years ago by Alec Thomas

Resolution: fixed
Status: newclosed

(In [1421]) Any configuration items in the [pagetopdf] section will be passed through to htmldoc as command line arguments. Closes #664 and #837 (override charset and size, respectively).

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Alec Thomas.
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.