Tags:
create new tag
, view all tags

Question

Hi,

I just installed GenPDFAddOn, latest Version, 31 Aug 2007 on Centos Linux 5, htmldoc V 1.8.27.

When testing using:

[[%SCRIPTURL%/genpdf/%WEB%/%TOPIC%?pdfrecursive=on][print pdf...]]

the generated document misses all attached graphics - whereas they show up fine in the normal twiki print preview.

Twiki builtin graphics, like Filter do not appear either.

The website is not read - protected, anybody can view and print pages.

any hints on resolving this issue would be very appreciated...

This is the errormessage in /var/log/httpd/error_log:

[Sat Sep 22 13:23:12 2007] [error] [client 129.103.170.96] [Sat Sep 22 13:23:12 2007] GenPDF.pm: \\1 better written as $1 at /var/www/twiki/lib/TWiki/Contrib/GenPDF.pm line 367., referer: http://sbs189/twiki/bin/view/SISWiki/BDKeePass
[Sat Sep 22 13:23:12 2007] [error] [client 129.103.170.96] [Sat Sep 22 13:23:12 2007] GenPDF.pm: \\1 better written as $1 at /var/www/twiki/lib/TWiki/Contrib/GenPDF.pm line 367., referer: http://sbs189/twiki/bin/view/SISWiki/BDKeePass
[Sat Sep 22 13:23:12 2007] [error] [client 129.103.170.96] [Sat Sep 22 13:23:12 2007] GenPDF.pm: \\1 better written as $1 at /var/www/twiki/lib/TWiki/Contrib/GenPDF.pm line 372., referer: http://sbs189/twiki/bin/view/SISWiki/BDKeePass
[Sat Sep 22 13:23:13 2007] [error] [client 129.103.170.96] Calling htmldoc with args: --book --quiet --links --linkstyle plain --outfile /tmp/GenPDFAddOnryeMzpHGMP.pdf --format pdf14 --portrait --size a4 --browserwidth 860 --titlefile /tmp/GenPDFAddOnpyKhArWAuq.html --toclevels 5 --tocheader ... --tocfooter ..i --firstpage toc /tmp/GenPDFAddOnhdVIR721Sl.html, referer: http://sbs189/twiki/bin/view/SISWiki/BDKeePass
[Sat Sep 22 13:23:13 2007] [error] [client 129.103.170.96] child exited with value 6, referer: http://sbs189/twiki/bin/view/SISWiki/BDKeePass

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Centos5, 2.6.18-8.1.10.el5
Web server: Apache/2.2.3
Perl version: v5.8.8
Client OS: Windows XP SP2
Web Browser: Firefox 2.0.0.7
Categories: Add-Ons

-- HaraldLipke - 01 Oct 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

Do you write the articles using the Kupu editor? When I once did a quick test of GenPDFAddOn, I came across the same issue. It's caused by Kupu changing the links to attached files from the %ATTACHURL% notation to a relative path. See also CopyPasteLinksInWysiwyg. I don't know whether it was ever fixed.

-- MartinKaufmann - 01 Oct 2007

This happens in both editors - wysiwyg and standard - with absolute path and using variables. The graphics are properly shown in std. twiki print preview but not in the pdf file. The pdf file is completely raw text - not even twiki builtin graphics displayed.

-- HaraldLipke - 01 Oct 2007

After having spent hours working on this problem I noticed there is a new Version of the plugin. Installed - and it works perfectly now right out of the box. Thanks for the great work!!!

-- HaraldLipke - 25 Oct 2007

-- HaraldLipke - 25 Oct 2007

 
Change status to:
Topic revision: r5 - 2007-10-25 - HaraldLipke
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.