Hello all,
Because Strainu is coordinating Google Code-In for pywikibot, I have given him +2 voting rights on our repositories.
Merlijn
I'm getting 'last move nof defined' and disabiguationpage does not exist'. Can somebody tell me why?
Hello, Please run it in verbose mode (add -v) and copy output here
Best On Nov 22, 2013 4:25 AM, "Bojan Kalkan" bokicak@gmail.com wrote:
I'm getting 'last move nof defined' and disabiguationpage does not exist'. Can somebody tell me why?
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Hi Bojan,
Based on those strings, it's a bit hard to determine -- the typical method to get more information is to search through all files for the message you get, e.g.
(venv)valhallasw@lisilwen:~/src/pwb/pywikibot-core$ grep -R * -i -e 'disambiguationspage does not exist'
but this returns nothing for your errors. Could you copy-paste some more context (in windows, right-click on the icon in the top-left corner, edit, mark; then select the area with your mouse, then right-click on the icon in the top-left corner, edit, copy), or check the verbose output, as Amir suggested?
Merlijn
On 22 November 2013 01:55, Bojan Kalkan bokicak@gmail.com wrote:
I'm getting 'last move nof defined' and disabiguationpage does not exist'. Can somebody tell me why?
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
This is output
C:\pywikipedia>commonscat.py -new -v Config.py WARNING: Running on Windows and transliteration_target is not set. Please see http://www.mediawiki.org/wiki/Manual:Pywikipediabot/Windows - base_dir: C:\pywikipedia - done. 'git' is not recognized as an internal or external command, operable program or batch file. No handlers could be found for logger "pywiki" Pywikipediabot wikipedia.py (r-1 (unknown), c459615, 2013/08/31, 09:33:20, OUTDA TED) Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] ==== API action:query ==== rcprop: user|comment|timestamp|title|ids|loginfo|sizes rclimit: 60 rctype: new list: recentchanges rcnamespace: 0 rcshow: !redirect rcdir: older ---------------- Requesting API query from wikipedia:sr Getting 60 pages from wikipedia:sr... WARNING: Family file wikipedia contains version number 1.22wmf12, but it should be 1.23wmf4 getting huge siprop magicwords... ==== API action:query ==== meta: siteinfo siprop: magicwords ---------------- Requesting API query from wikipedia:sr Sleeping for 0.9 seconds, 2013-11-22 12:43:17 ==== API action:query ==== inprop: protection|subjectid rvprop: content|ids|flags|timestamp|user|comment|size prop: revisions|info titles: Medijaviki:Disambiguationspage rvlimit: 1 ---------------- Requesting API query from wikipedia:sr Working on Zheljko Luchicj Getting information for site wikipedia:sr ==== API action:query ==== meta: userinfo uiprop: blockinfo|groups|rights|hasmsg|ratelimits|preferencestoken ---------------- Requesting API query from wikipedia:sr ==== API action:query ==== titles: Zheljko Luchicj prop: langlinks ---------------- Requesting API query from wikipedia:sr Working on Ivan Jovic ==== API action:query ==== titles: Ivan Jovic prop: langlinks ---------------- Requesting API query from wikipedia:sr Working on Hotel kragujevac ==== API action:query ==== titles: Hotel kragujevac prop: langlinks ---------------- Requesting API query from wikipedia:sr Working on Topkapi ==== API action:query ==== titles: Topkapi prop: langlinks ---------------- Requesting API query from wikipedia:sr Working on Klada ==== API action:query ==== titles: Klada prop: langlinks ---------------- Requesting API query from wikipedia:sr Working on Krajina (oblast) ==== API action:query ==== titles: Krajina (oblast) prop: langlinks ---------------- Requesting API query from wikipedia:sr Working on KK Lukoil Akademik ==== API action:query ==== titles: KK Lukoil Akademik prop: langlinks ---------------- Requesting API query from wikipedia:sr ==== API action:query ==== llcontinue: 838792|la titles: KK Lukoil Akademik prop: langlinks ---------------- Requesting API query from wikipedia:sr ==== API action:query ==== inprop: protection|subjectid rvprop: content|ids|flags|timestamp|user|comment|size prop: revisions|info titles: Lukojl Akademik rvlimit: 1 ---------------- Requesting API query from wikipedia:bg getting huge siprop magicwords... ==== API action:query ==== meta: siteinfo siprop: magicwords ---------------- Requesting API query from wikipedia:bg ==== API action:query ==== inprop: protection|subjectid rvprop: content|ids|flags|timestamp|user|comment|size prop: revisions|info titles: MediyaUiki:Disambiguationspage rvlimit: 1 ---------------- Requesting API query from wikipedia:bg Sleeping for 0.2 seconds, 2013-11-22 12:43:26 ==== API action:query ==== inprop: protection|subjectid rvprop: content|ids|flags|timestamp|user|comment|size prop: revisions|info titles: PBC Academic Sofia rvlimit: 1 ---------------- Requesting API query from wikipedia:ca getting huge siprop magicwords... ==== API action:query ==== meta: siteinfo siprop: magicwords ---------------- Requesting API query from wikipedia:ca ==== API action:query ==== inprop: protection|subjectid rvprop: content|ids|flags|timestamp|user|comment|size prop: revisions|info titles: MediaWiki:Disambiguationspage rvlimit: 1 ---------------- Requesting API query from wikipedia:ca Sleeping for 0.4 seconds, 2013-11-22 12:43:28 ==== API action:query ==== inprop: protection|subjectid rvprop: content|ids|flags|timestamp|user|comment|size prop: revisions|info titles: Akademik Sofia (Basketball) rvlimit: 1 ---------------- Requesting API query from wikipedia:de getting huge siprop magicwords... ==== API action:query ==== meta: siteinfo siprop: magicwords ---------------- Requesting API query from wikipedia:de ==== API action:query ==== inprop: protection|subjectid rvprop: content|ids|flags|timestamp|user|comment|size prop: revisions|info titles: MediaWiki:Disambiguationspage rvlimit: 1 ---------------- Requesting API query from wikipedia:de Retrieving mediawiki messages from Special:Allmessages ==== API action:query ==== ammessages: Disambiguationspage meta: allmessages ---------------- Requesting API query from wikipedia:de Traceback (most recent call last): File "C:\pywikipedia\commonscat.py", line 628, in <module> main() File "C:\pywikipedia\commonscat.py", line 624, in main bot.run() File "C:\pywikipedia\commonscat.py", line 237, in run self.treat(page) File "C:\pywikipedia\commonscat.py", line 254, in treat (status, always) = self.addCommonscat(page) File "C:\pywikipedia\commonscat.py", line 414, in addCommonscat commonscatLink = self.findCommonscatLink(page) File "C:\pywikipedia\commonscat.py", line 467, in findCommonscatLink and not ipage.isDisambig()): File "C:\pywikipedia\wikipedia.py", line 1561, in isDisambig 'Disambiguationspage').split(':', 1)[1] File "C:\pywikipedia\wikipedia.py", line 6994, in mediawiki_message raise KeyError("message '%s' does not exist." % key) KeyError: "message 'Disambiguationspage' does not exist."
I get this on sr.wiki (always) and on sh.wiki (sometimes)
Are you using out-dated pwb? can you run version.py and give the output? because I fixed it (or I thought I fixed it) like a couple weeks ago
Best
On Fri, Nov 22, 2013 at 3:16 PM, Bojan Kalkan bokicak@gmail.com wrote:
This is output
C:\pywikipedia>commonscat.py -new -v Config.py WARNING: Running on Windows and transliteration_target is not set. Please see http://www.mediawiki.org/wiki/Manual:Pywikipediabot/Windows
- base_dir: C:\pywikipedia
- done.
'git' is not recognized as an internal or external command, operable program or batch file. No handlers could be found for logger "pywiki" Pywikipediabot wikipedia.py (r-1 (unknown), c459615, 2013/08/31, 09:33:20, OUTDA TED) Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] ==== API action:query ==== rcprop: user|comment|timestamp|title|ids|loginfo|sizes rclimit: 60 rctype: new list: recentchanges rcnamespace: 0 rcshow: !redirect rcdir: older
Requesting API query from wikipedia:sr Getting 60 pages from wikipedia:sr... WARNING: Family file wikipedia contains version number 1.22wmf12, but it should be 1.23wmf4 getting huge siprop magicwords... ==== API action:query ==== meta: siteinfo siprop: magicwords
Requesting API query from wikipedia:sr Sleeping for 0.9 seconds, 2013-11-22 12:43:17 ==== API action:query ==== inprop: protection|subjectid rvprop: content|ids|flags|timestamp|user|comment|size prop: revisions|info titles: Medijaviki:Disambiguationspage rvlimit: 1
Requesting API query from wikipedia:sr Working on Zheljko Luchicj Getting information for site wikipedia:sr ==== API action:query ==== meta: userinfo uiprop: blockinfo|groups|rights|hasmsg|ratelimits|preferencestoken
Requesting API query from wikipedia:sr ==== API action:query ==== titles: Zheljko Luchicj prop: langlinks
Requesting API query from wikipedia:sr Working on Ivan Jovic ==== API action:query ==== titles: Ivan Jovic prop: langlinks
Requesting API query from wikipedia:sr Working on Hotel kragujevac ==== API action:query ==== titles: Hotel kragujevac prop: langlinks
Requesting API query from wikipedia:sr Working on Topkapi ==== API action:query ==== titles: Topkapi prop: langlinks
Requesting API query from wikipedia:sr Working on Klada ==== API action:query ==== titles: Klada prop: langlinks
Requesting API query from wikipedia:sr Working on Krajina (oblast) ==== API action:query ==== titles: Krajina (oblast) prop: langlinks
Requesting API query from wikipedia:sr Working on KK Lukoil Akademik ==== API action:query ==== titles: KK Lukoil Akademik prop: langlinks
Requesting API query from wikipedia:sr ==== API action:query ==== llcontinue: 838792|la titles: KK Lukoil Akademik prop: langlinks
Requesting API query from wikipedia:sr ==== API action:query ==== inprop: protection|subjectid rvprop: content|ids|flags|timestamp|user|comment|size prop: revisions|info titles: Lukojl Akademik rvlimit: 1
Requesting API query from wikipedia:bg getting huge siprop magicwords... ==== API action:query ==== meta: siteinfo siprop: magicwords
Requesting API query from wikipedia:bg ==== API action:query ==== inprop: protection|subjectid rvprop: content|ids|flags|timestamp|user|comment|size prop: revisions|info titles: MediyaUiki:Disambiguationspage rvlimit: 1
Requesting API query from wikipedia:bg Sleeping for 0.2 seconds, 2013-11-22 12:43:26 ==== API action:query ==== inprop: protection|subjectid rvprop: content|ids|flags|timestamp|user|comment|size prop: revisions|info titles: PBC Academic Sofia rvlimit: 1
Requesting API query from wikipedia:ca getting huge siprop magicwords... ==== API action:query ==== meta: siteinfo siprop: magicwords
Requesting API query from wikipedia:ca ==== API action:query ==== inprop: protection|subjectid rvprop: content|ids|flags|timestamp|user|comment|size prop: revisions|info titles: MediaWiki:Disambiguationspage rvlimit: 1
Requesting API query from wikipedia:ca Sleeping for 0.4 seconds, 2013-11-22 12:43:28 ==== API action:query ==== inprop: protection|subjectid rvprop: content|ids|flags|timestamp|user|comment|size prop: revisions|info titles: Akademik Sofia (Basketball) rvlimit: 1
Requesting API query from wikipedia:de getting huge siprop magicwords... ==== API action:query ==== meta: siteinfo siprop: magicwords
Requesting API query from wikipedia:de ==== API action:query ==== inprop: protection|subjectid rvprop: content|ids|flags|timestamp|user|comment|size prop: revisions|info titles: MediaWiki:Disambiguationspage rvlimit: 1
Requesting API query from wikipedia:de Retrieving mediawiki messages from Special:Allmessages ==== API action:query ==== ammessages: Disambiguationspage meta: allmessages
Requesting API query from wikipedia:de Traceback (most recent call last): File "C:\pywikipedia\commonscat.py", line 628, in <module> main() File "C:\pywikipedia\commonscat.py", line 624, in main bot.run() File "C:\pywikipedia\commonscat.py", line 237, in run self.treat(page) File "C:\pywikipedia\commonscat.py", line 254, in treat (status, always) = self.addCommonscat(page) File "C:\pywikipedia\commonscat.py", line 414, in addCommonscat commonscatLink = self.findCommonscatLink(page) File "C:\pywikipedia\commonscat.py", line 467, in findCommonscatLink and not ipage.isDisambig()): File "C:\pywikipedia\wikipedia.py", line 1561, in isDisambig 'Disambiguationspage').split(':', 1)[1] File "C:\pywikipedia\wikipedia.py", line 6994, in mediawiki_message raise KeyError("message '%s' does not exist." % key) KeyError: "message 'Disambiguationspage' does not exist."
I get this on sr.wiki (always) and on sh.wiki (sometimes)
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
On 11/22/2013 1:27 PM, Amir Ladsgroup wrote:
Are you using out-dated pwb? can you run version.py and give the output? because I fixed it (or I thought I fixed it) like a couple weeks ago
Best
On Fri, Nov 22, 2013 at 3:16 PM, Bojan Kalkan <bokicak@gmail.com mailto:bokicak@gmail.com> wrote:
This is output C:\pywikipedia>commonscat.py -new -v Config.py WARNING: Running on Windows and transliteration_target is not set. Please see http://www.mediawiki.org/wiki/Manual:Pywikipediabot/Windows - base_dir: C:\pywikipedia - done. 'git' is not recognized as an internal or external command, operable program or batch file. No handlers could be found for logger "pywiki" Pywikipediabot wikipedia.py (r-1 (unknown), c459615, 2013/08/31, 09:33:20, OUTDA TED) Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] ==== API action:query ==== rcprop: user|comment|timestamp|title|ids|loginfo|sizes rclimit: 60 rctype: new list: recentchanges rcnamespace: 0 rcshow: !redirect rcdir: older ---------------- Requesting API query from wikipedia:sr Getting 60 pages from wikipedia:sr... WARNING: Family file wikipedia contains version number 1.22wmf12, but it should be 1.23wmf4 getting huge siprop magicwords... ==== API action:query ==== meta: siteinfo siprop: magicwords ---------------- Requesting API query from wikipedia:sr Sleeping for 0.9 seconds, 2013-11-22 12:43:17 ==== API action:query ==== inprop: protection|subjectid rvprop: content|ids|flags|timestamp|user|comment|size prop: revisions|info titles: Medijaviki:Disambiguationspage rvlimit: 1 ---------------- Requesting API query from wikipedia:sr Working on Zheljko Luchicj Getting information for site wikipedia:sr ==== API action:query ==== meta: userinfo uiprop: blockinfo|groups|rights|hasmsg|ratelimits|preferencestoken ---------------- Requesting API query from wikipedia:sr ==== API action:query ==== titles: Zheljko Luchicj prop: langlinks ---------------- Requesting API query from wikipedia:sr Working on Ivan Jovic ==== API action:query ==== titles: Ivan Jovic prop: langlinks ---------------- Requesting API query from wikipedia:sr Working on Hotel kragujevac ==== API action:query ==== titles: Hotel kragujevac prop: langlinks ---------------- Requesting API query from wikipedia:sr Working on Topkapi ==== API action:query ==== titles: Topkapi prop: langlinks ---------------- Requesting API query from wikipedia:sr Working on Klada ==== API action:query ==== titles: Klada prop: langlinks ---------------- Requesting API query from wikipedia:sr Working on Krajina (oblast) ==== API action:query ==== titles: Krajina (oblast) prop: langlinks ---------------- Requesting API query from wikipedia:sr Working on KK Lukoil Akademik ==== API action:query ==== titles: KK Lukoil Akademik prop: langlinks ---------------- Requesting API query from wikipedia:sr ==== API action:query ==== llcontinue: 838792|la titles: KK Lukoil Akademik prop: langlinks ---------------- Requesting API query from wikipedia:sr ==== API action:query ==== inprop: protection|subjectid rvprop: content|ids|flags|timestamp|user|comment|size prop: revisions|info titles: Lukojl Akademik rvlimit: 1 ---------------- Requesting API query from wikipedia:bg getting huge siprop magicwords... ==== API action:query ==== meta: siteinfo siprop: magicwords ---------------- Requesting API query from wikipedia:bg ==== API action:query ==== inprop: protection|subjectid rvprop: content|ids|flags|timestamp|user|comment|size prop: revisions|info titles: MediyaUiki:Disambiguationspage rvlimit: 1 ---------------- Requesting API query from wikipedia:bg Sleeping for 0.2 seconds, 2013-11-22 12:43:26 ==== API action:query ==== inprop: protection|subjectid rvprop: content|ids|flags|timestamp|user|comment|size prop: revisions|info titles: PBC Academic Sofia rvlimit: 1 ---------------- Requesting API query from wikipedia:ca getting huge siprop magicwords... ==== API action:query ==== meta: siteinfo siprop: magicwords ---------------- Requesting API query from wikipedia:ca ==== API action:query ==== inprop: protection|subjectid rvprop: content|ids|flags|timestamp|user|comment|size prop: revisions|info titles: MediaWiki:Disambiguationspage rvlimit: 1 ---------------- Requesting API query from wikipedia:ca Sleeping for 0.4 seconds, 2013-11-22 12:43:28 ==== API action:query ==== inprop: protection|subjectid rvprop: content|ids|flags|timestamp|user|comment|size prop: revisions|info titles: Akademik Sofia (Basketball) rvlimit: 1 ---------------- Requesting API query from wikipedia:de getting huge siprop magicwords... ==== API action:query ==== meta: siteinfo siprop: magicwords ---------------- Requesting API query from wikipedia:de ==== API action:query ==== inprop: protection|subjectid rvprop: content|ids|flags|timestamp|user|comment|size prop: revisions|info titles: MediaWiki:Disambiguationspage rvlimit: 1 ---------------- Requesting API query from wikipedia:de Retrieving mediawiki messages from Special:Allmessages ==== API action:query ==== ammessages: Disambiguationspage meta: allmessages ---------------- Requesting API query from wikipedia:de Traceback (most recent call last): File "C:\pywikipedia\commonscat.py", line 628, in <module> main() File "C:\pywikipedia\commonscat.py", line 624, in main bot.run() File "C:\pywikipedia\commonscat.py", line 237, in run self.treat(page) File "C:\pywikipedia\commonscat.py", line 254, in treat (status, always) = self.addCommonscat(page) File "C:\pywikipedia\commonscat.py", line 414, in addCommonscat commonscatLink = self.findCommonscatLink(page) File "C:\pywikipedia\commonscat.py", line 467, in findCommonscatLink and not ipage.isDisambig()): File "C:\pywikipedia\wikipedia.py", line 1561, in isDisambig 'Disambiguationspage').split(':', 1)[1] File "C:\pywikipedia\wikipedia.py", line 6994, in mediawiki_message raise KeyError("message '%s' does not exist." % key) KeyError: "message 'Disambiguationspage' does not exist." I get this on sr.wiki (always) and on sh.wiki (sometimes) _______________________________________________ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org <mailto:Pywikipedia-l@lists.wikimedia.org> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
-- Amir
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
'git' is not recognized as an internal or external command, operable program or batch file. Pywikipedia wikipedia.py (r-1 (unknown), c459615, 2013/08/31, 09:33:20, OUTDATED ) Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] config-settings: use_api = True use_api_login = True unicode test: ok
C:\pywikipedia>
I updated pwb once (I think) when git is introduced. It worked well until few months ago.
retry with downloading from https://tools.wmflabs.org/pywikibot It will work :) Best
On Fri, Nov 22, 2013 at 4:17 PM, Bojan Kalkan bokicak@gmail.com wrote:
On 11/22/2013 1:27 PM, Amir Ladsgroup wrote:
Are you using out-dated pwb? can you run version.py and give the output? because I fixed it (or I thought I fixed it) like a couple weeks ago
Best
On Fri, Nov 22, 2013 at 3:16 PM, Bojan Kalkan bokicak@gmail.com wrote:
This is output
C:\pywikipedia>commonscat.py -new -v Config.py WARNING: Running on Windows and transliteration_target is not set. Please see http://www.mediawiki.org/wiki/Manual:Pywikipediabot/Windows
- base_dir: C:\pywikipedia
- done.
'git' is not recognized as an internal or external command, operable program or batch file. No handlers could be found for logger "pywiki" Pywikipediabot wikipedia.py (r-1 (unknown), c459615, 2013/08/31, 09:33:20, OUTDA TED) Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] ==== API action:query ==== rcprop: user|comment|timestamp|title|ids|loginfo|sizes rclimit: 60 rctype: new list: recentchanges rcnamespace: 0 rcshow: !redirect rcdir: older
Requesting API query from wikipedia:sr Getting 60 pages from wikipedia:sr... WARNING: Family file wikipedia contains version number 1.22wmf12, but it should be 1.23wmf4 getting huge siprop magicwords... ==== API action:query ==== meta: siteinfo siprop: magicwords
Requesting API query from wikipedia:sr Sleeping for 0.9 seconds, 2013-11-22 12:43:17 ==== API action:query ==== inprop: protection|subjectid rvprop: content|ids|flags|timestamp|user|comment|size prop: revisions|info titles: Medijaviki:Disambiguationspage rvlimit: 1
Requesting API query from wikipedia:sr Working on Zheljko Luchicj Getting information for site wikipedia:sr ==== API action:query ==== meta: userinfo uiprop: blockinfo|groups|rights|hasmsg|ratelimits|preferencestoken
Requesting API query from wikipedia:sr ==== API action:query ==== titles: Zheljko Luchicj prop: langlinks
Requesting API query from wikipedia:sr Working on Ivan Jovic ==== API action:query ==== titles: Ivan Jovic prop: langlinks
Requesting API query from wikipedia:sr Working on Hotel kragujevac ==== API action:query ==== titles: Hotel kragujevac prop: langlinks
Requesting API query from wikipedia:sr Working on Topkapi ==== API action:query ==== titles: Topkapi prop: langlinks
Requesting API query from wikipedia:sr Working on Klada ==== API action:query ==== titles: Klada prop: langlinks
Requesting API query from wikipedia:sr Working on Krajina (oblast) ==== API action:query ==== titles: Krajina (oblast) prop: langlinks
Requesting API query from wikipedia:sr Working on KK Lukoil Akademik ==== API action:query ==== titles: KK Lukoil Akademik prop: langlinks
Requesting API query from wikipedia:sr ==== API action:query ==== llcontinue: 838792|la titles: KK Lukoil Akademik prop: langlinks
Requesting API query from wikipedia:sr ==== API action:query ==== inprop: protection|subjectid rvprop: content|ids|flags|timestamp|user|comment|size prop: revisions|info titles: Lukojl Akademik rvlimit: 1
Requesting API query from wikipedia:bg getting huge siprop magicwords... ==== API action:query ==== meta: siteinfo siprop: magicwords
Requesting API query from wikipedia:bg ==== API action:query ==== inprop: protection|subjectid rvprop: content|ids|flags|timestamp|user|comment|size prop: revisions|info titles: MediyaUiki:Disambiguationspage rvlimit: 1
Requesting API query from wikipedia:bg Sleeping for 0.2 seconds, 2013-11-22 12:43:26 ==== API action:query ==== inprop: protection|subjectid rvprop: content|ids|flags|timestamp|user|comment|size prop: revisions|info titles: PBC Academic Sofia rvlimit: 1
Requesting API query from wikipedia:ca getting huge siprop magicwords... ==== API action:query ==== meta: siteinfo siprop: magicwords
Requesting API query from wikipedia:ca ==== API action:query ==== inprop: protection|subjectid rvprop: content|ids|flags|timestamp|user|comment|size prop: revisions|info titles: MediaWiki:Disambiguationspage rvlimit: 1
Requesting API query from wikipedia:ca Sleeping for 0.4 seconds, 2013-11-22 12:43:28 ==== API action:query ==== inprop: protection|subjectid rvprop: content|ids|flags|timestamp|user|comment|size prop: revisions|info titles: Akademik Sofia (Basketball) rvlimit: 1
Requesting API query from wikipedia:de getting huge siprop magicwords... ==== API action:query ==== meta: siteinfo siprop: magicwords
Requesting API query from wikipedia:de ==== API action:query ==== inprop: protection|subjectid rvprop: content|ids|flags|timestamp|user|comment|size prop: revisions|info titles: MediaWiki:Disambiguationspage rvlimit: 1
Requesting API query from wikipedia:de Retrieving mediawiki messages from Special:Allmessages ==== API action:query ==== ammessages: Disambiguationspage meta: allmessages
Requesting API query from wikipedia:de Traceback (most recent call last): File "C:\pywikipedia\commonscat.py", line 628, in <module> main() File "C:\pywikipedia\commonscat.py", line 624, in main bot.run() File "C:\pywikipedia\commonscat.py", line 237, in run self.treat(page) File "C:\pywikipedia\commonscat.py", line 254, in treat (status, always) = self.addCommonscat(page) File "C:\pywikipedia\commonscat.py", line 414, in addCommonscat commonscatLink = self.findCommonscatLink(page) File "C:\pywikipedia\commonscat.py", line 467, in findCommonscatLink and not ipage.isDisambig()): File "C:\pywikipedia\wikipedia.py", line 1561, in isDisambig 'Disambiguationspage').split(':', 1)[1] File "C:\pywikipedia\wikipedia.py", line 6994, in mediawiki_message raise KeyError("message '%s' does not exist." % key) KeyError: "message 'Disambiguationspage' does not exist."
I get this on sr.wiki (always) and on sh.wiki (sometimes)
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
-- Amir
Pywikipedia-l mailing listPywikipedia-l@lists.wikimedia.orghttps://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
'git' is not recognized as an internal or external command, operable program or batch file. Pywikipedia wikipedia.py (r-1 (unknown), c459615, 2013/08/31, 09:33:20, OUTDATED
) Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] config-settings: use_api = True use_api_login = True unicode test: ok
C:\pywikipedia>
I updated pwb once (I think) when git is introduced. It worked well until few months ago.
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
On 11/22/2013 1:57 PM, Amir Ladsgroup wrote:
retry with downloading from https://tools.wmflabs.org/pywikibot It will work :) Best
One problem is solved, but then appeared next
C:\pywikipedia>commonscat.py -new -cc WARNING: Running on Windows and transliteration_target is not set. Please see http://www.mediawiki.org/wiki/Manual:Pywikipediabot/Windows cannot import name config Serious import error; pywikibot not available - was it configured? Traceback (most recent call last): File "C:\pywikipedia\commonscat.py", line 68, in <module> import add_text File "C:\pywikipedia\add_text.py", line 80, in <module> from pywikibot import config ImportError: cannot import name config
pywikipedia-l@lists.wikimedia.org