On Mar 3, 11:38 am, Ice Polar <[email protected]> wrote:
> Hi there,
>
> i've installed the WikiToPDF-Plugin 
> fromhttp://trac-hacks.org/changeset/latest/tracwikitopdfplugin?old_path=/...
> my trac 0.11.4 instance on ubuntu 8.04.2. It's a single instance
> running
> with apache2, no big thing.
> Trac project is located at /var/trac/wiki. I have copied the cover folder to
> /var/trac/wiki/cover.  The parameter  logoimage =
> /var/trac/wiki/htdocs/Header_image.png
> works fine.
<snip>

Well, I have not even looked at the wikitopdf plugin code.  however,
it looks like your images are page attachements. (by your "[[Image]]
macros in the debug/error codes.

I also see this line in the ini file you provided:
   [wikitopdf]
   # base_dir is the Apache DocumentRoot, It is need to get PDF files
with
   images.
   base_dir = /path/to/DocumentRoot

and this is clearly not your Apache htdocs directory.  of course you
may of obfuscated it.

based on the comment, I get the impression for the WikiToPDF plugin,
you would need to put a copy of the image files in your Apache
document root in order for the HTMLDoc tool to pick them up insert
them into the temporary documents that are fed to the other python/PIL
tools to create a PDF.

Outside of that, I did notice that "failed" image was referenced
unqualified in the image macro, which is valid for trac, but might be
a limitation or bug in the wiki-to-pdf plugin.  It could also be that
the fact that 1 image failed, they all failed and the resultant PDF
file was only fed the html that was extracted from the wiki.

to eliminate this last, remote possibility, I would consider changing
that "failed" image macro to pass and see what happens.  I suspect
your images will still be missing because of something else, possibly
the first observation, or your base_url for the trac site iteself,
etc.

of course, it could also be something complete different.  It's miller
time here, I am out of brainpower.  Good luck.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to