Opened 11 years ago

Closed 11 years ago

PageToPDFPlugin fails

Reported by: Owned by: gary@… Alec Thomas normal PageToPdfPlugin normal 0.10

Description

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.

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: high → normal critical → normal

comment:5 Changed 11 years ago by Alec Thomas

Resolution: → fixed new → closed

(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