You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a revision is not found in the archive table, it outputs the below error:
---------------
Checking an archived edit
---------------
Traceback (most recent call last):
File "demo_db_check.py", line 51, in <module>
mwreverts.db.check_archive(enwiki, 21995518)
File "/mnt/nfs/labstore-secondary-tools-home/diyi/delete_check/python-mwreverts/mwreverts/db.py", line 256, in check_archive
get_archived_namespace_title_and_timestamp(schema, rev_id)
File "/mnt/nfs/labstore-secondary-tools-home/diyi/delete_check/python-mwreverts/mwreverts/db.py", line 199, in get_archived_namespace_title_and_timestamp
return row[0], row[1], Timestamp(row[2])
TypeError: 'NoneType' object is not subscriptable
This error should be reported more friendly.
The text was updated successfully, but these errors were encountered:
When a revision is not found in the archive table, it outputs the below error:
This error should be reported more friendly.
The text was updated successfully, but these errors were encountered: