Last modified: 2014-09-02 01:37:23 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T70665, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68665 - misspelling breaks when script is not configured for the site
misspelling breaks when script is not configured for the site
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
Other scripts (Other open bugs)
core-(2.0)
All All
: Unprioritized minor
: ---
Assigned To: Mpaa
:
Depends on:
Blocks: pwb_script_tests
  Show dependency treegraph
 
Reported: 2014-07-27 06:36 UTC by John Mark Vandenberg
Modified: 2014-09-02 01:37 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description John Mark Vandenberg 2014-07-27 06:36:14 UTC
$ 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
Comment 1 Gerrit Notification Bot 2014-08-08 19:39:11 UTC
Change 152810 had a related patch set uploaded by Mpaa:
Bug 68665-misspelling fails if site not configured

https://gerrit.wikimedia.org/r/152810
Comment 2 Gerrit Notification Bot 2014-08-08 20:12:27 UTC
Change 152810 merged by jenkins-bot:
Bug 68665-misspelling fails if site not configured

https://gerrit.wikimedia.org/r/152810

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links