Ticket #664 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

PageToPDFPlugin fails

Reported by: gary@mlbassoc.com Assigned to: 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

TracWikiStart.pdf (164 bytes) - added by anonymous on 08/29/06 16:04:32.

Change History

08/29/06 16:04:32 changed by anonymous

  • attachment TracWikiStart.pdf added.

08/30/06 08:26:49 changed by gary@mlbassoc.com

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.

08/31/06 07:16:02 changed 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.

08/31/06 07:20:32 changed by gary@mlbassoc.com

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.

09/08/06 20:26:40 changed by athomas

  • priority changed from high to normal.
  • severity changed from critical to normal.

10/22/06 01:15:20 changed by athomas

  • status changed from new to closed.
  • resolution set to fixed.

(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/Change #664 (PageToPDFPlugin fails)




Change Properties
Action