https://bugzilla.wikimedia.org/show_bug.cgi?id=73494
--- Comment #4 from Jesús Martínez Novo (Ciencia Al Poder) martineznovo@gmail.com --- Now the error is a bit further:
Traceback (most recent call last): File "pwb.py", line 181, in <module> run_python_file(fn, argv, argvu) File "pwb.py", line 75, in run_python_file exec(compile(source, filename, "exec"), main_mod.__dict__) File "scripts/replace.py", line 731, in <module> main() File "scripts/replace.py", line 720, in main allowoverlap, recursive, add_cat, sleep, edit_summary) File "scripts/replace.py", line 290, in __init__ self.site = site File ".../pywikibot/core/pywikibot/bot.py", line 1075, in site % (site, unicode(site.version()))) AttributeError: 'NoneType' object has no attribute 'version' <type 'exceptions.AttributeError'>