https://bugzilla.wikimedia.org/show_bug.cgi?id=72942
Bug ID: 72942 Summary: interwiki option causes error Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: pagegenerators Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: jan.dudik@gmail.com Web browser: --- Mobile Platform: ---
D:\Py\rewrite>pwb.py replace -regex -interwiki:Category:Francouzština -family:wiktionary -regex "[[za:(.*?)]]\n" ""
Exception in thread Put-Thread: Traceback (most recent call last): File "C:\Python27\lib\threading.py", line 551, in __bootstrap_inner self.run() File "C:\Python27\lib\threading.py", line 504, in run self.__target(*self.__args, **self.__kwargs) File "D:\Py\rewrite\pywikibot__init__.py", line 679, in async_manager request(*args, **kwargs) File "D:\Py\rewrite\scripts\replace.py", line 724, in display_edit_counter pywikibot.output(u'\n%s pages changed.' % bot.changed_pages) AttributeError: 'NoneType' object has no attribute 'output'
in compat it works well