Hi Danny
you should create /var/www/pywikipedia/i18n sub-directory and copy its content from from rewrite branch http://svn.wikimedia.org/viewvc/pywikipedia/branches/rewrite/scripts/i18n/?p...
It seems externals are no longer included to nightly dump. @Merlijn: could you change this behaviour especial for i18n subdir?
Greetings Xqt
----- Original Nachricht ---- Von: Danny danny373@gmail.com An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 22.05.2011 11:52 Betreff: Re: [Pywikipedia-l] pywikipedia - ImportError: No module named i18n
Hello Merlijn, and thank you for your reply.
On Sat, May 21, 2011 at 1:23 PM, Merlijn van Deen valhallasw@arctus.nl wrote:
Where did you download the framework?
I downloaded it from this page: http://toolserver.org/~pywikipedia/nightly/ Then:
- I unpacked the files to a directory /var/www/pywikipedia on our server.
- I created user-config.py file.
- I created /var/www/pywikipedia/families/WBDWiki_family.py file.
What version are you running (python version.py)?
root@/var/www/pywikipedia> python version.py Pywikipedia (r9212 (wikipedia.py), 2011/05/04, 03:59:16) Python 2.4.3 (#1, May 24 2008, 13:47:28) [GCC 4.1.2 20070626 (Red Hat 4.1.2-14)] config-settings: use_api = True use_api_login = True unicode test: ok
And as a quick check, does the 'i18n' directory exist?
No, this directory does not exist. But there is a file 'i18n.py' in directory /var/www/pywikibot.
Best regards,
Danny
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l