Hi,
Yes i read the instructions on trac-hacks page and yes you are right, i'm
looking for "/path/to/DocumentRoot " namely on a ubuntu 8.04.
Again, i put images on a wikiside like this (recomended by trac-hacks):
* 1.
[[Image(wiki:TicketSystem:basic-workflow.png)]]
* 2.
[[Image(TicketSystem:basic-workflow.png)]]
* 3.
{{{ [[Image(basic-workflow.png)]] }}}
The third syntax is not suported so i marked it als code and so it throws no
more error.
The huge log-Output should show the somehow weird paths for both pictures
like src="/trac/raw-attachment/trac/attachments/wiki/
TicketSystem/basic-workflow.png" and href="/trac/attachment/wiki/
TicketSystem/basic-workflow.png".
None of both exists on the system, absolutely the Image-file lies under
/var/trac/wiki/attachments/wiki/TicketSystem/basic-workflow.png . This path
is the trac standard-path for wiki-attachments.
On the other hand i find the following working on a wiki-side:
{{{
#!html
<h1 style="text-align: right; color: red">MyWiki</h1>
</p><div class="wiki-toc"><img src="/trac/raw-attachment/
wiki/LinuxWorld/zayno-urahara-kisuke-tux-15268.png" width=250 height=250
><p>
}}}
while the image is located at path to /var/trac/wiki/attachments/
wiki/LinuxWorld/zayno-urahara-kisuke-tux-15268.png
At least the study of Ticket #3590 on trac-hacks couldn't clear the things.
sincerely
Ice
2009/3/5 yoheeb <[email protected]>
>
> On Mar 4, 4:18 am, Ice Polar <[email protected]> wrote:
> > Hi,
> >
> > thanks for replying.
> > It is definitvely not a problem of the third image which throws an error.
> > Without this third image the Log looks like this (the working things are
> > snipped out):
> > These yellow marked paths in the Log look strange for me. Is there e an
> > interrelation between them and the trac.ini entries?
> You realize this is an email list right? I don't get anything marked
> yellow
> >
> > [trac.ini]
> > [wikitopdf]
> > base_dir = /trac/raw-attachment
> > folder_name = trac
>
> I still think these settings are incorrect.
> [wikitopdf]
> # base_dir is the >>>>>>>Apache DocumentRoot<<<<<<<, It is need to get
> PDF files with images.
>
> my apache document root is:
> on my system is c:/bin/tools/Apache2.2/htdocs
> since I installed apache 2.2 on c:/bin/tools
>
> the folder_name parameter seems to be meant to work with the link
> paramater, which is used for links inside the pdf to get absolute
> URLs, which you don't seem to have entered.
> seems like you "expect" the directory to place/fetch images to be /
> trac/raw-attachment/trac but that is not how/what these parameters
> are used for.
>
> Now, I gleaned all this information from a quick glance at the
> wikitopdf trac-hacks page, I don't even use the tool. Did you READ
> this?
>
> sorry, but you have to do some of the work here, more importantly you
> need to slow down and work through this methodically.
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---