mw-serve missing

76 views
Skip to first unread message

Julian Petri

unread,
Apr 19, 2012, 6:10:54 AM4/19/12
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

Reply all
Reply to author
Forward
0 new messages