Last modified: 2014-09-02 01:45:20 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1134/ Reported by: paleozavr Created on: 2010-03-07 20:39:31 Subject: imagetransfer.py does not work Original description: This text it writes instead of working C:\bot3>imagetransfer.py -fromlang:en -tolang:uk C:\bot3\imagetransfer.py:32: DeprecationWarning: the md5 module is deprecated; u se hashlib instead import re, sys, md5, urllib Traceback \(most recent call last\): File "C:\bot3\imagetransfer.py", line 310, in <module> main\(\) File "C:\bot3\imagetransfer.py", line 306, in main bot.run\(\) File "C:\bot3\imagetransfer.py", line 235, in run imagelist = page.imagelinks\(followRedirects = True\) File "C:\bot3\wikipedia.py", line 2262, in imagelinks for page in self.linkedPages\(withImageLinks = True\): File "C:\bot3\wikipedia.py", line 2209, in linkedPages thistxt = removeLanguageLinks\(self.get\(get\_redirect=True\), File "C:\bot3\wikipedia.py", line 618, in get self.\_contents = self.\_getEditPage\(get\_redirect = get\_redirect, throttle = t hrottle, sysop = sysop\) File "C:\bot3\wikipedia.py", line 692, in \_getEditPage raise NoPage\(self.site\(\), self.aslink\(forceInterwiki = True\),"Page does not exist. In rare cases, if you are certain the page does exist, look into overridi ng family.RversionTab" \) pywikibot.exceptions.NoPage: \(wikipedia:uk, u'\[\[uk:-fromlang:en\]\]', 'Page does n ot exist. In rare cases, if you are certain the page does exist, look into overr iding family.RversionTab'\)
The argument -fromlang: is invalid. The source is set using the global -lang: and -family: arguments or user-config.py settings.