Hi,

i have a problem with mw-render. I have installed mwlib and another
package named Texml on the Wiki Page of the Company where i work.
My target is to build an PDF with more article depth as its possible
in the collection extension. So i want to take several pages convert
them to xml and then to latex, witch i can customize with differend
programms.

When i input the code at the shell:

mw-render --config=http://wiki.expecco.de/wiki/ --writer=docbook --
output=./FAQ_expecco_en.xml --imagesize=320 FAQ_expecco_en

i became this failure message:

creating nuwiki in '/tmp/tmpipC7SK/nuwiki'
Unhandled error in Deferred:
Traceback (most recent call last):
Failure: exceptions.RuntimeError: could not get collection params
fatal: could not get collection params [[Failure instance: Traceback:
<type 'exceptions.ValueError'>: No JSON object could be decoded
/usr/local/lib/python2.6/dist-packages/Twisted-10.2.0-py2.6-linux-
x86_64.egg/twisted/web/client.py:175:handleResponse
/usr/local/lib/python2.6/dist-packages/Twisted-10.2.0-py2.6-linux-
x86_64.egg/twisted/web/client.py:340:page
/usr/local/lib/python2.6/dist-packages/Twisted-10.2.0-py2.6-linux-
x86_64.egg/twisted/internet/defer.py:361:callback
/usr/local/lib/python2.6/dist-packages/Twisted-10.2.0-py2.6-linux-
x86_64.egg/twisted/internet/defer.py:455:_startRunCallbacks
--- <exception caught here> ---
/usr/local/lib/python2.6/dist-packages/Twisted-10.2.0-py2.6-linux-
x86_64.egg/twisted/internet/defer.py:542:_runCallbacks
/usr/local/lib/python2.6/dist-packages/mwlib-0.12.14-py2.6-linux-
x86_64.egg/mwlib/net/mwapi.py:444:done
/usr/local/lib/python2.6/dist-packages/mwlib-0.12.14-py2.6-linux-
x86_64.egg/mwlib/net/mwapi.py:22:loads
/usr/lib/python2.6/json/__init__.py:307:loads
/usr/lib/python2.6/json/decoder.py:319:decode
/usr/lib/python2.6/json/decoder.py:338:raw_decode
]]
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/Twisted-10.2.0-py2.6-
linux-x86_64.egg/twisted/web/client.py", line 175, in handleResponse
    self.factory.page(response)
  File "/usr/local/lib/python2.6/dist-packages/Twisted-10.2.0-py2.6-
linux-x86_64.egg/twisted/web/client.py", line 340, in page
    self.deferred.callback(page)
  File "/usr/local/lib/python2.6/dist-packages/Twisted-10.2.0-py2.6-
linux-x86_64.egg/twisted/internet/defer.py", line 361, in callback
    self._startRunCallbacks(result)
  File "/usr/local/lib/python2.6/dist-packages/Twisted-10.2.0-py2.6-
linux-x86_64.egg/twisted/internet/defer.py", line 455, in
_startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/local/lib/python2.6/dist-packages/Twisted-10.2.0-py2.6-
linux-x86_64.egg/twisted/internet/defer.py", line 542, in
_runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/mwlib-0.12.14-py2.6-
linux-x86_64.egg/mwlib/net/mwapi.py", line 444, in done
    r = loads(r)
  File "/usr/local/lib/python2.6/dist-packages/mwlib-0.12.14-py2.6-
linux-x86_64.egg/mwlib/net/mwapi.py", line 22, in loads
    return json.loads(s)
  File "/usr/lib/python2.6/json/__init__.py", line 307, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.6/json/decoder.py", line 319, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.6/json/decoder.py", line 338, in raw_decode
    raise ValueError("No JSON object could be decoded")
exceptions.ValueError: No JSON object could be decoded
retrying: could not fetch 'http://wiki.expecco.de/wiki/api.php?
action=query&meta format=json'
removing tmpdir '/tmp/tmpipC7SK'
Traceback (most recent call last):
  File "/usr/local/bin/mw-render", line 9, in <module>
    load_entry_point('mwlib==0.12.14', 'console_scripts', 'mw-render')
()
  File "/usr/local/lib/python2.6/dist-packages/mwlib-0.12.14-py2.6-
linux-x86_64.
    return Main()()
  File "/usr/local/lib/python2.6/dist-packages/mwlib-0.12.14-py2.6-
linux-x86_64.
    env = self.get_environment()
  File "/usr/local/lib/python2.6/dist-packages/mwlib-0.12.14-py2.6-
linux-x86_64.
    self.zip_filename = make_zip(output=self.options.keep_zip,
options=self.opti
  File "/usr/local/lib/python2.6/dist-packages/mwlib-0.12.14-py2.6-
linux-x86_64.
    make_nuwiki(fsdir, metabook=metabook, options=options,
podclient=podclient,
  File "/usr/local/lib/python2.6/dist-packages/mwlib-0.12.14-py2.6-
linux-x86_64.
    raise RuntimeError(str(val))
RuntimeError: [Failure instance: Traceback (failure with no frames):
<type 'exce]

i searched for die message and found a threat in this group, but its
not the same failure. So is my question. Can someone help me.

Regards Ice_Devil

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