Last modified: 2014-09-02 01:45:20 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57286, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55286 - imagetransfer.py -fromlang does not work
imagetransfer.py -fromlang does not work
Status: RESOLVED INVALID
Product: Pywikibot
Classification: Unclassified
Other scripts (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 04:57 UTC by Kunal Mehta (Legoktm)
Modified: 2014-09-02 01:45 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:57:24 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'\)
Comment 1 John Mark Vandenberg 2014-05-25 06:13:20 UTC
The argument -fromlang: is invalid.  The source is set using the global -lang: and -family: arguments or user-config.py settings.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links