Julian Petri
unread,Apr 19, 2012, 6:10:54 AM4/19/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mw...@googlegroups.com
Hi,
I have successfully installed mwlib on my openSUSE server and I managed to create a PDF file from Wikipedia. After that, I attempted to make my own MediaWiki use mwlib for PDF generation. I tried to start the mw-serve command to test the server, but the file /usr/local/bin/mw-serve is missing (mw-zip, mw-show etc. are there). I tried to create it manually by copying mw-serve-ctl and just removing the occurences of "-ctl" in it, but it tells me:
Traceback (most recent call last):
File "/usr/local/bin/mw-serve", line 8, in <module>
load_entry_point('mwlib==0.13.6', 'console_scripts', 'mw-serve')()
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 318, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2220, in load_entry_point
raise ImportError("Entry point %r not found" % ((group,name),))
ImportError: Entry point ('console_scripts', 'mw-serve') not found
I've not been able to find information on this problem so far. Can anybody help me with this?
Thanks very much in advance,
Julian