https://bugzilla.wikimedia.org/show_bug.cgi?id=68665
Bug ID: 68665 Summary: misspelling breaks when script is not configured for the site Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: minor Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: jayvdb@gmail.com Web browser: --- Mobile Platform: ---
$ python pwb misspelling -family:wikipedia -lang:ar -simulate <type 'exceptions.KeyError'> Traceback (most recent call last): File "pwb.py", line 157, in <module> run_python_file(fn, argv, argvu) File "pwb.py", line 67, in run_python_file exec(compile(source, filename, "exec"), main_mod.__dict__) File "scripts/misspelling.py", line 140, in <module> main() File "scripts/misspelling.py", line 135, in main bot = MisspellingRobot(always, firstPageTitle, main_only) File "scripts/misspelling.py", line 60, in __init__ self.createPageGenerator(firstPageTitle), False, main_only) File "scripts/misspelling.py", line 73, in createPageGenerator % self.misspellingTemplate[mylang] KeyError: u'ar' CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
https://bugzilla.wikimedia.org/show_bug.cgi?id=68665
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |69069
https://bugzilla.wikimedia.org/show_bug.cgi?id=68665
--- Comment #1 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 152810 had a related patch set uploaded by Mpaa: Bug 68665-misspelling fails if site not configured
https://gerrit.wikimedia.org/r/152810
https://bugzilla.wikimedia.org/show_bug.cgi?id=68665
Gerrit Notification Bot gerritadmin@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |PATCH_TO_REVIEW
https://bugzilla.wikimedia.org/show_bug.cgi?id=68665
--- Comment #2 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 152810 merged by jenkins-bot: Bug 68665-misspelling fails if site not configured
https://gerrit.wikimedia.org/r/152810
https://bugzilla.wikimedia.org/show_bug.cgi?id=68665
Mpaa mpaa.wiki@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |RESOLVED CC| |mpaa.wiki@gmail.com Resolution|--- |FIXED
https://bugzilla.wikimedia.org/show_bug.cgi?id=68665
Ricordisamoa ricordisamoa@openmailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|General |Other scripts Assignee|Pywikipedia-bugs@lists.wiki |mpaa.wiki@gmail.com |media.org |
pywikipedia-bugs@lists.wikimedia.org