https://bugzilla.wikimedia.org/show_bug.cgi?id=69064
Bug ID: 69064 Summary: getFileVersionHistoryTable raises ValueError: too many values to unpack Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: jayvdb@gmail.com Web browser: --- Mobile Platform: ---
For example running imagetransfer
$ python pwb.py imagetransfer -family:wikipedia -lang:en 'File:blahblahblah.jpg' -tolang:fa
URL should be: https://upload.wikimedia.org/wikipedia/en/d/d4/blahblahblah.jpg Traceback (most recent call last): File "pwb.py", line 157, in <module> run_python_file(fn, argv, argvu) File "pwb.py", line 67, in run_python_file exec(compile(source, filename, "exec"), main_mod.__dict__) File "scripts/imagetransfer.py", line 356, in <module> main() File "scripts/imagetransfer.py", line 353, in main bot.run() File "scripts/imagetransfer.py", line 293, in run self.transferImage(imagelist[todo]) File "scripts/imagetransfer.py", line 188, in transferImage description += '\n\n' + str(sourceImagePage.getFileVersionHistoryTable()) File ".../pywikibot/page.py", line 1870, in getFileVersionHistoryTable in self.getFileVersionHistory(): ValueError: too many values to unpack <type 'exceptions.ValueError'>