Modify

Opened 8 years ago

Closed 8 years ago

#664 closed defect (fixed)

PageToPDFPlugin fails

Reported by: gary@… Owned by: athomas
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)

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

Download all attachments as: .zip

Change History (6)

Changed 8 years ago by anonymous

comment:1 Changed 8 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 8 years ago by athomas

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 8 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 8 years ago by athomas

  • Priority changed from high to normal
  • Severity changed from critical to normal

comment:5 Changed 8 years ago by athomas

  • Resolution set to fixed
  • Status changed from new to 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).

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from athomas. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.