In earlier try, I had two versions of 'mw.ext' -
'mw.ext-0.12' in '/usr/lib/python-2.5' and
'mw.ext-0.11.x' in '/usr/lib64/python-2.5'
Then I removed older 'mw.ext-0.11.x' and as of now it works (with
images and without inline expansion of articles).
Apparently the output is without any critical errors. I have appended
the text here.
Thanks to all.
./harshal
---8<----
$ mw-render -o test.pdf -w rl -c http://localhost/wiki 'Main Page'
2>&1 | grep -v font
1% creating nuwiki in '/tmp/tmpTh2dzQ/nuwiki'
1% fetching 1% fetching 1% fetching 1% fetching 1% fetching 1%
fetching 1% fetching 1% fetching 1% fetching 1% fetching 1% fetching
1% fetching 1% fetching 1% fetching 1% fetching 1% fetching 1%
fetching 1% fetching
removing tmpdir '/tmp/tmpTh2dzQ'
reading /tmp/tmprQidRI/revisions-1.txt
34% layouting 2009-10-28T20:13:25 advtree.warn >> fixTagNodes,
unknowntagnode TagNode tagname='inputbox'->'inputbox'
2009-10-28T20:13:25 rlwriter.info >> rendering: u'http://localhost/
wiki/index.php?title=Main_Page'
34% layouting Main Page83% layouting Main Page83% rendering
2009-10-28T20:13:25 rlwriter.info >> start rendering: u'/root/
tmpi8Ptdk'
2009-10-28T20:13:25 rlwriter.info >> memory usage after layouting:
250.81640625
93% rendering 100% rendering 2009-10-28T20:13:25 rlwriter.info >>
memory usage after reportlab rendering: 251.83984375
2009-10-28T20:13:25 rlwriter.info >> RENDERING OK
100% finished removing '/tmp/tmprQidRI'
---->8-----
On Oct 28, 4:05 pm, Johannes Beigel <[email protected]>
wrote:
> On 28.10.2009, at 09:42, harshal wrote:
>
> > the PDF document contains only links to the pages I had
> > added. It shows image thumbnails correctly (in earlier try, it was
> > showing articles correctly and not thumbnails).
>
> What did you change between the "earlier try" and now?
>
> What is the output when you render a PDF of a single article on the
> command line:
>
> $ mw-render -o test.pdf -w rl -chttp://yourwikis/base/url/"Some
> article"
>
> (Wherehttp://yourwikis/base/url/is the "base URL" of your wiki, i.e.
> the URL path up to – but not including – index.php and api.php.)
>
> -- Johannes
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"mwlib" 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/mwlib?hl=en
-~----------~----~----~----~------~----~------~--~---