https://bugzilla.wikimedia.org/show_bug.cgi?id=72942
Maarten Dammers maarten@mdammers.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |maarten@mdammers.nl
--- Comment #1 from Maarten Dammers maarten@mdammers.nl --- I was able to reproduce this. I ran pwb.py replace.py -lang:commons -family:commons -regex "(|\s*Wikidata\s*=\s*)(\d+)" "\1Q\2" -usercontribs:Dexbot -summary:"Adding missing Wikidata Q"
After reviewing several edits (y,y,y), I switched to always (a).
It did quite a few edits and when it was supposed to stop and output some statistics:
No changes were necessary in [[Creator:Zamfir C. Arbure]] Exception in thread Put-Thread: Traceback (most recent call last): File "C:\Python27\lib\threading.py", line 552, in __bootstrap_inner self.run() File "C:\Python27\lib\threading.py", line 505, in run self.__target(*self.__args, **self.__kwargs) File "C:\pywikibot\coredev\pywikibot__init__.py", line 679, in async_manager request(*args, **kwargs) File "C:\pywikibot\coredev\scripts\replace.py", line 724, in display_edit_coun ter pywikibot.output(u'\n%s pages changed.' % bot.changed_pages) AttributeError: 'NoneType' object has no attribute 'output'