Hi there,
great extension, we're using it a lot!
As I wrote as subject the extension works well the last few months.
Today I wanted to export an article as PDF when I received the
following error:
PDF server error
An error occured on the PDF Server: traceback Traceback (most recent
call last):
File "/home/tools/py25/lib/python2.5/site-packages/mwlib-0.11.3.dev-
py2.5-linux-x86_64.egg/mwlib/apps/render.py", line 186, in __call__
writer(env, output=tmpout, status_callback=self.status,
**writer_options)
File "/home/tools/py25/lib/python2.5/site-packages/
mwlib.rl-0.11.4.dev-py2.5.egg/mwlib/rl/rlwriter.py", line 1870, in
writer
book = writerbase.build_book(env, status_callback=buildbook_status)
File "/home/tools/py25/lib/python2.5/site-packages/mwlib-0.11.3.dev-
py2.5-linux-x86_64.egg/mwlib/writerbase.py", line 45, in build_book
revision=item.get('revision'),
File "/home/tools/py25/lib/python2.5/site-packages/mwlib-0.11.3.dev-
py2.5-linux-x86_64.egg/mwlib/nuwiki.py", line 272, in getParsedArticle
raw = self.getRawArticle(title, revision=revision)
File "/home/tools/py25/lib/python2.5/site-packages/mwlib-0.11.3.dev-
py2.5-linux-x86_64.egg/mwlib/nuwiki.py", line 227, in getRawArticle
p = self.nuwiki.normalize_and_get_page(title, defaultns=0)
File "/home/tools/py25/lib/python2.5/site-packages/mwlib-0.11.3.dev-
py2.5-linux-x86_64.egg/mwlib/nuwiki.py", line 108, in
normalize_and_get_page
fqname = self.nshandler.get_fqname(name, defaultns=defaultns)
File "/home/tools/py25/lib/python2.5/site-packages/mwlib-0.11.3.dev-
py2.5-linux-x86_64.egg/mwlib/nshandling.py", line 87, in get_fqname
return self.splitname(title, defaultns=defaultns)[2]
File "/home/tools/py25/lib/python2.5/site-packages/mwlib-0.11.3.dev-
py2.5-linux-x86_64.egg/mwlib/nshandling.py", line 110, in splitname
prefix = self.siteinfo["namespaces"][str(defaultns)]["*"]
KeyError: 'namespaces'
I tried different article pages but none of them works.
/** URL of PDF server */
$wgCollectionMWServeURL = 'http://tools.pediapress.com/mw-serve/';
I found some topics in this group regarding "namespaces" but they all
use custom servers.
Thank you for your help!
David
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---