Page MenuHomePhabricator

revertbot doesn't work
Closed, ResolvedPublic

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