Bugs item #3305475, was opened at 2011-05-21 11:09 Message generated for change (Settings changed) made by xqt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3305475...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None
Status: Closed
Resolution: Rejected Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: xqt (xqt) Summary: category.py: raise "ImportError: No module named i18n" error
Initial Comment: root@/var/www/pywikipedia> python category.py move -from:"foo" -to:"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
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
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,