Bugs item #1817623, was opened at 2007-10-22 08:40
Message generated for change (Comment added) made by a_engels
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=181762…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: interwiki
Group: None
Status: Pending
Resolution: Works For Me
Priority: 5
Private: No
Submitted By: AnMaster (anmaster)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py crash "Language aa does not exist..."
Initial Comment:
$ python -O interwiki.py -start:! -whenneeded
Checked for running processes. 1 processes currently running, including the current
process.
Missing main page name
NOTE: Number of pages queued is 0, trying to add 60 more.
Retrieving Allpages special page for gentoo:en from %21, namespace 0
Getting 60 pages from gentoo:en...
Sleeping for 27.1 seconds, 2007-10-22 08:37:17
NOTE: [[en:2005-08 Screenshots]] does not have any interwiki links
NOTE: [[en:2005-09 Screenshots]] does not have any interwiki links
NOTE: [[en:2005-10 Screenshots]] does not have any interwiki links
NOTE: [[en:2005-11 Screenshots]] does not have any interwiki links
<snip>
NOTE: [[en:Admin Support Systems]] does not have any interwiki links
NOTE: [[en:Advanced Emerge World]] does not have any interwiki links
NOTE: [[en:Ae-current-ebuilds]] does not have any interwiki links
======Post-processing [[en:Ae-current-ebuilds]]======
Updating links on page [[en:Ae-current-ebuilds]].
No changes needed
Dump en (gentoo) saved
Traceback (most recent call last):
File "interwiki.py", line 1580, in ?
bot.run()
File "interwiki.py", line 1357, in run
self.queryStep()
File "interwiki.py", line 1336, in queryStep
subj.finish(self)
File "interwiki.py", line 904, in finish
site = wikipedia.getSite(code = siteCode)
File "/home/arvid/wikibots/gentoo-wiki/wikipedia.py", line 4922, in getSite
_sites[key] = Site(code=code, fam=fam, user=user, persistent_http=persistent_http)
File "/home/arvid/wikibots/gentoo-wiki/wikipedia.py", line 3566, in __init__
raise KeyError("Language %s does not exist in family
%s"%(self.lang,self.family.name))
KeyError: 'Language aa does not exist in family gentoo'
And indeed
gentoo-wiki.com does not have such a language.
----------------------------------------------------------------------
Comment By: Andre Engels (a_engels)
Date:
2007-10-22 12:16
Message:
Logged In: YES
user_id=843018
Originator: NO
Works correctly for me:
<snip>
NOTE: [[en:Ae-current-ebuilds]] does not have any interwiki links
=====Post-processing [[en:Ae-current-ebuilds]]=====
=====Post-processing [[en:Advanced Emerge World]]=====
=====Post-processing [[en:Admin Support Systems]]=====
<snip>
Please:
1. Ensure you have a current version, at least of interwiki.py and
wikipedia.py, but preferably of the whole framework
2. Check your user-conig.py
And send a reaction back if that does not solve the problem.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=181762…