Hi,

I believe the first search result should solve your problem:

http://groups.google.com/group/mwlib/search?hl=en_US&group=mwlib&q=localhost&qt_g=Search+this+group

Regards,
Volker

On 06/16/2011 07:32 PM, mikaelbook wrote:
Dear all,

MediaWiki 1.16.x with the Collection Extension  is beginning to work
on Localhost. I have installed mwlib and mwlib.rl.   Articles are
successfully rendered and written to to pdf-files from the command-
line with mw-render.

With the Book Creator, I have added articles to a book, which I have
saved under my User account :

  http://localhost/w/index.php/User:Mika/Books/MyBook

and pressed the 'DOWNLOAD PDF' button within Book Creator. I can see
that it tries to give this command:

  
http://localhost/w/index.php?title=Special:Book&bookcmd=render_collection&colltitle=User:Mika/Books/MyBook&writer=rl

However, no rendering happens. I see only a blank browserpage. Nor do
I find the test.pdf . Btw, where should I look for it?

Then I have tried to print MyBook to pdf from the command line with:

mw-render -w rl -o test.pdf -c http://localhost/w/ --collectionpage
'MyBook'

This gives no 'test.pdf' either. It says "Unhandled error in
Deferred:" and a lot more which I do not understand, like

File "/usr/local/lib/python2.6/dist-packages/mwlib-0.12.14-py2.6-linux-
i686.egg/mwlib/apps/make_nuwiki.py", line 223, in make_nuwiki
     raise RuntimeError(str(val))
RuntimeError: [Failure instance: Traceback:<type
'exceptions.KeyError'>: 'revisions'
/usr/local/lib/python2.6/dist-packages/Twisted-11.0.0-py2.6-linux-
i686.egg/twisted/internet/defer.py:542:_runCallbacks
/usr/local/lib/python2.6/dist-packages/mwlib-0.12.14-py2.6-linux-
i686.egg/mwlib/net/mwapi.py:323:got_result
/usr/local/lib/python2.6/dist-packages/Twisted-11.0.0-py2.6-linux-
i686.egg/twisted/internet/defer.py:361:callback
/usr/local/lib/python2.6/dist-packages/Twisted-11.0.0-py2.6-linux-
i686.egg/twisted/internet/defer.py:455:_startRunCallbacks
---<exception caught here>  ---
/usr/local/lib/python2.6/dist-packages/Twisted-11.0.0-py2.6-linux-
i686.egg/twisted/internet/defer.py:542:_runCallbacks
/usr/local/lib/python2.6/dist-packages/mwlib-0.12.14-py2.6-linux-
i686.egg/mwlib/apps/make_nuwiki.py:91:got_pages

Grateful for viewpoints on what the problem is.

- Mikael



--
volker haas                 brainbot technologies ag
fon +49 6131 2116394        boppstraße 64
fax +49 6131 2116392        55118 mainz
[email protected]    http://www.brainbot.com/

--
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.

Reply via email to