Hello,
I try to use mwlib 0.11.2.
When I try :
$ mw-render -c example_conf.txt Pythagoras --output foo --writer mwxml
I obtain the following message:
Traceback (most recent call last):
File "/usr/bin/mw-render", line 8, in <module>
load_entry_point('mwlib==0.11.2', 'console_scripts', 'mw-render')()
File
"/usr/lib/python2.5/site-packages/mwlib-0.11.2-py2.5-linux-i686.egg/mwlib/apps/render.py",
line 222, in main
return Main()()
File
"/usr/lib/python2.5/site-packages/mwlib-0.11.2-py2.5-linux-i686.egg/mwlib/apps/render.py",
line 182, in __call__
env = self.get_environment()
File
"/usr/lib/python2.5/site-packages/mwlib-0.11.2-py2.5-linux-i686.egg/mwlib/apps/render.py",
line 108, in get_environment
self.zip_filename = hack(output=self.options.keep_zip,
options=self.options, env=env, status=self.status,
keep_tmpfiles=self.options.keep_tmpfiles)
File
"/usr/lib/python2.5/site-packages/mwlib-0.11.2-py2.5-linux-i686.egg/mwlib/apps/buildzip.py",
line 49, in hack
base_url = env.wiki.api_helper.base_url
AttributeError: 'NetDB' object has no attribute 'api_helper'
I have not a good knlowledge of Python language... Could you please help me
to debug ?
(My version of Python is 2.5.4).
Regards,
Alex
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---