Last modified: 2013-12-18 12:10:02 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 T60505, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58505 - KeyError in _getEditPage, invalid '*' key on site 'ko'
KeyError in _getEditPage, invalid '*' key on site 'ko'
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
compat-(1.0)
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-15 12:49 UTC by xqt
Modified: 2013-12-18 12:10 UTC (History)
0 users

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


Attachments

Description xqt 2013-12-15 12:49:23 UTC
>>> Fixing redirects on wikipedia:ko <<<
Retrieving special page...
Retrieved 63 redirects from special page.

>>> Coding rule <<<
Traceback (most recent call last):
  File "C:\Pywikipedia\compat\redirect.py", line 1078, in <module>
    main()
  File "C:\Pywikipedia\compat\redirect.py", line 1069, in main
    bot.run()
  File "C:\Pywikipedia\compat\redirect.py", line 951, in run
    self.fix_double_redirects()
  File "C:\Pywikipedia\compat\redirect.py", line 685, in fix_double_redirects
    self.fix_1_double_redirect(redir_name)
  File "C:\Pywikipedia\compat\redirect.py", line 743, in fix_1_double_redirect
    targetPage = newRedir.getRedirectTarget()
  File "C:\Pywikipedia\compat\wikipedia.py", line 3163, in getRedirectTarget
    self.get()
  File "C:\Pywikipedia\compat\wikipedia.py", line 790, in get
    expandtemplates=expandtemplates)
  File "C:\Pywikipedia\compat\wikipedia.py", line 877, in _getEditPage
    if isinstance(lastRev['*'], basestring):
KeyError: '*'

c:\Pywikipedia\compat>
Comment 1 Gerrit Notification Bot 2013-12-15 13:20:05 UTC
Change 101646 had a related patch set uploaded by Xqt:
(bug 58505) pass 'textmissing' error and raise serverError

https://gerrit.wikimedia.org/r/101646
Comment 2 Gerrit Notification Bot 2013-12-18 10:45:11 UTC
Change 101646 merged by Alex S.H. Lin:
(bug 58505) pass 'textmissing' error and raise serverError

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

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


Navigation
Links