I screwed up. I meant to type family file and typed user-config.py instead.
I changed the ignore_certificate_error return value to true in pywikibot/family.py, but it still chokes on ssl verify. That surprised me. It's like the code is being ignored.
--On November 15, 2017 at 10:19:26 AM +0330 Dalba <firstname.lastname@example.org> wrote:
I even added this to user-config.py, but still got the same result.
def ignore_certificate_error(self, code):
I think ignore_certificate_error should be defined inside the family file
and has no effect in user-config.py.
As a workaround you can modify the ignore_certificate_error in
pywikibot/family.py to make it return True. Then generate your family
file using the generator script (hopefully there won't be any error now).
After that you can revert the change in family.py and define
ignore_certificate_error in the newly generated file.
"The man who never looks into a newspaper is better informed than he who
reads them, inasmuch as he who knows nothing is nearer the truth than he
whose mind is filled with falsehoods and errors." - Thomas Jefferson
Paul Schmehl (email@example.com)
pywikibot mailing list