Xqt created this task.
Herald added subscribers: pywikibot-bugs-list, Zppix, Aklapper.
TASK DESCRIPTION
Page.getVersion() gives a list of HistEntry object but not a list of tuples
as expected. The breaking change was probably submitted on 18th may because my
bot made the last edit [1] and failed since that date with
C:\pwb\SVN\core>pwb.py imagereview -review
Traceback (most recent call last):
File "C:\pwb\SVN\core\pwb.py", line 259, in <module>
if not main():
File "C:\pwb\SVN\core\pwb.py", line 255, in main
run_python_file(filename, [filename] + args, argvu, file_package)
File "C:\pwb\SVN\core\pwb.py", line 121, in run_python_file
main_mod.__dict__)
File ".\scripts\xqbot\imagereview.py", line 937, in <module>
main()
File ".\scripts\xqbot\imagereview.py", line 932, in main
bot.run()
File ".\scripts\xqbot\imagereview.py", line 758, in run
self.run_review()
File ".\scripts\xqbot\imagereview.py", line 753, in run_review
self.review(image)
File ".\scripts\xqbot\imagereview.py", line 816, in review
for oldid, time, username, summary, size, tags in vh:
ValueError: need more than 4 values to unpack
<type 'exceptions.ValueError'>
CRITICAL: Closing network session.
Seems additional tests are needed to prevent such failures.
[1]
https://de.wikipedia.org/w/index.php?title=Kategorie%3AWikipedia%3ADatei%C3%BCberpr%C3%BCfung_%282016-05-18%29&type=revision&diff=154471618&oldid=154411796
TASK DETAIL
https://phabricator.wikimedia.org/T136513
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Aklapper, Mpaa, jayvdb, Zppix, Xqt, pywikibot-bugs-list, Mdupont
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs