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 agoBest
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 list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l