https://bugzilla.wikimedia.org/show_bug.cgi?id=73122
Bug ID: 73122 Summary: Exception during Siteinfo can cause it to enter incorrect state Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: minor Priority: Unprioritized Component: network Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: jayvdb@gmail.com Web browser: --- Mobile Platform: ---
I've seen this occur a few times locally while in the shell, but not on travis previously.
https://travis-ci.org/wikimedia/pywikibot-core/jobs/40263585
test_direct_non_local fails during siteinfo , but then the site object is reused for test_indirect_non_local and it doesnt try again.
In my local testing, I can cause this to happen by pressing ^C during Site.namespaces, and then using the site object again.
https://bugzilla.wikimedia.org/show_bug.cgi?id=73122
--- Comment #1 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 171815 had a related patch set uploaded by XZise: [FIX] Site: Only store complete mapping
https://gerrit.wikimedia.org/r/171815
https://bugzilla.wikimedia.org/show_bug.cgi?id=73122
Gerrit Notification Bot gerritadmin@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |PATCH_TO_REVIEW
https://bugzilla.wikimedia.org/show_bug.cgi?id=73122
--- Comment #2 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 171815 merged by jenkins-bot: [FIX] Site: Only store complete mapping
https://gerrit.wikimedia.org/r/171815
https://bugzilla.wikimedia.org/show_bug.cgi?id=73122
Andre Klapper aklapper@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aklapper@wikimedia.org
--- Comment #3 from Andre Klapper aklapper@wikimedia.org --- All patches mentioned in this report were merged - is there more work left to do here (if yes: please reset the bug report status to NEW or ASSIGNED), or can you close this ticket as RESOLVED FIXED?
https://bugzilla.wikimedia.org/show_bug.cgi?id=73122
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |RESOLVED Resolution|--- |FIXED
--- Comment #4 from John Mark Vandenberg jayvdb@gmail.com --- Yup; done. thx Andre.
pywikipedia-bugs@lists.wikimedia.org