Hi! In my work we have a wikipedia on MediaWiki engine. Yesterday I downloaded pywikipedia framework to use a bot. Unfortunately, when I try to run category.py script I get the following error message: ======================================== root@/var/www/pywikipedia> python category.py move Please enter the old name of the category: foo Please enter the new name of the category: bar Traceback (most recent call last): File "category.py", line 949, in ? main() File "category.py", line 919, in main bot.run() File "category.py", line 395, in run self.editSummary = i18n.twtranslate(site, 'category-changing') \ File "/var/www/pywikipedia/pywikibot/i18n.py", line 226, in twtranslate transdict = getattr(__import__("i18n", {}, {}, [package]), package).msg ImportError: No module named i18n ========================================
My user-config.py file is: family = 'WBDWiki' mylang = 'pl' usernames['WBDWiki']['pl'] = u'WikiBot' console_encoding = 'utf-8'
where 'pl' = Polish (Poland)
MediaWiki 1.16.1, PHP 5.2.10, MySQL 5.0.45, Python 2.4.3
Any ideas?
Thank in advance for your help.
Regards,