Modify ↓
Opened 19 years ago
Closed 19 years ago
#664 closed defect (fixed)
PageToPDFPlugin fails
| Reported by: | Owned by: | Alec Thomas | |
|---|---|---|---|
| Priority: | normal | Component: | PageToPdfPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 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.
Attachments (1)
Change History (6)
Changed 19 years ago by
| Attachment: | TracWikiStart.pdf added |
|---|
comment:1 Changed 19 years ago by
comment:2 Changed 19 years ago by
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 19 years ago by
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 19 years ago by
| Priority: | high → normal |
|---|---|
| Severity: | critical → normal |
comment:5 Changed 19 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note: See
TracTickets for help on using
tickets.



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.