Dvorapa created this task.
Dvorapa added projects: Pywikibot-core, Pywikibot-Other-scripts, Patch-For-Review.
Herald added a subscriber: Zppix.
Herald removed a project: Patch-For-Review.

TASK DESCRIPTION

revertbot doesn't work and throws a following error:

> python pwb.py revertbot
Fetching new batch of contributions
Traceback (most recent call last):
  File "pwb.py", line 257, in <module>
    if not main():
  File "pwb.py", line 251, in main
    run_python_file(filename, [filename] + args, argvu, file_package)
  File "pwb.py", line 121, in run_python_file
    main_mod.__dict__)
  File "./scripts/revertbot.py", line 182, in <module>
    main()
  File "./scripts/revertbot.py", line 179, in main
    bot.revert_contribs()
  File "./scripts/revertbot.py", line 85, in revert_contribs
    if callback(item):
  File "./scripts/revertbot.py", line 154, in callback
    return pattern.search(text) >= 0
TypeError: unorderable types: NoneType() >= int()
<class 'TypeError'>
CRITICAL: Closing network session.
>

It can maybe have something in common with T124537.

Configuration
last commit of pwb core from gerrit, Python v3.5.2


TASK DETAIL
https://phabricator.wikimedia.org/T140506

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Dvorapa
Cc: Zppix, valhallasw, pywikibot-bugs-list, Aklapper, jayvdb, Wesalius, gerritbot, Dvorapa, Mdupont
_______________________________________________
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to