Last modified: 2013-10-25 15:16:51 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 T57117, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55117 - KeyError: "message 'Disambiguationspage' does not exist.
KeyError: "message 'Disambiguationspage' does not exist.
Status: RESOLVED DUPLICATE of bug 54480
Product: Pywikibot
Classification: Unclassified
interwiki.py (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 04:27 UTC by Kunal Mehta (Legoktm)
Modified: 2013-10-25 15:16 UTC (History)
1 user (show)

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


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:27:59 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1674/
Reported by: malafaya
Created on: 2013-09-18 08:57:52.069000
Subject: KeyError: "message 'Disambiguationspage' does not exist.
Original description:
>> interwiki.py -family:wiktionary -lang:pt Category:Russo

'git' is not recognized as an internal or external command,
operable program or batch file.
Getting 1 page from wiktionary:pt...
Dump pt (wiktionary) appended.
Traceback (most recent call last):
  File "D:\Work\pywikipedia\interwiki.py", line 2678, in <module>
    main()
  File "D:\Work\pywikipedia\interwiki.py", line 2652, in main
    bot.run()
  File "D:\Work\pywikipedia\interwiki.py", line 2370, in run
    self.queryStep()
  File "D:\Work\pywikipedia\interwiki.py", line 2343, in queryStep
    self.oneQuery()
  File "D:\Work\pywikipedia\interwiki.py", line 2339, in oneQuery
    subject.batchLoaded(self)
  File "D:\Work\pywikipedia\interwiki.py", line 1391, in batchLoaded
    (skip, alternativePage) = self.disambigMismatch(page, counter)
  File "D:\Work\pywikipedia\interwiki.py", line 1142, in disambigMismatch
    if self.originPage.isDisambig() and not page.isDisambig():
  File "D:\Work\pywikipedia\wikipedia.py", line 1561, in isDisambig
    'Disambiguationspage').split(':', 1)[1]
  File "D:\Work\pywikipedia\wikipedia.py", line 6991, in mediawiki_message
    raise KeyError("message '%s' does not exist." % key)
KeyError: "message 'Disambiguationspage' does not exist."


>> interwiki.py -family:wiktionary -lang:lt Category:Kalbos

'git' is not recognized as an internal or external command,
operable program or batch file.
Getting 1 page from wiktionary:lt...
Dump lt (wiktionary) appended.
Traceback (most recent call last):
  File "D:\Work\pywikipedia\interwiki.py", line 2678, in <module>
    main()
  File "D:\Work\pywikipedia\interwiki.py", line 2652, in main
    bot.run()
  File "D:\Work\pywikipedia\interwiki.py", line 2370, in run
    self.queryStep()
  File "D:\Work\pywikipedia\interwiki.py", line 2343, in queryStep
    self.oneQuery()
  File "D:\Work\pywikipedia\interwiki.py", line 2339, in oneQuery
    subject.batchLoaded(self)
  File "D:\Work\pywikipedia\interwiki.py", line 1391, in batchLoaded
    (skip, alternativePage) = self.disambigMismatch(page, counter)
  File "D:\Work\pywikipedia\interwiki.py", line 1142, in disambigMismatch
    if self.originPage.isDisambig() and not page.isDisambig():
  File "D:\Work\pywikipedia\wikipedia.py", line 1561, in isDisambig
    'Disambiguationspage').split(':', 1)[1]
  File "D:\Work\pywikipedia\wikipedia.py", line 6991, in mediawiki_message
    raise KeyError("message '%s' does not exist." % key)
KeyError: "message 'Disambiguationspage' does not exist."


version.py output (updated from git on 17/Sep/2013)
===
Pywikipedia wikipedia.py (r-1 (unknown), a9f799b, 2013/09/18, 09:53:00, OUTDATED)
Python 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
===
Comment 1 Kunal Mehta (Legoktm) 2013-10-05 04:28:01 UTC
I've the same problem with interwiki.py running in wikinews projets.

python interwiki.py -page -putthrottle:"1" -lang:"fr" -force 
What page do you want to use? catégorie:15 septembre 2013
NOTE: Number of pages queued is 0, trying to add 60 more.
Getting 1 page from wikinews:fr...

[same error messages]]
Comment 2 Kunal Mehta (Legoktm) 2013-10-05 04:28:03 UTC
- **Priority**: 4 --> 2
Comment 3 Kunal Mehta (Legoktm) 2013-10-05 04:28:05 UTC
upping the priority: operation broken for both wiktionaries and wikinews
Comment 4 Amir Ladsgroup 2013-10-25 15:14:37 UTC

*** This bug has been marked as a duplicate of bug 54480 ***

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


Navigation
Links