Bugs item #1830917, was opened at 2007-11-13 03:01 Message generated for change (Comment added) made by russblau You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1830917...
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: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Redirect.py cannot handle meta links and crashes
Initial Comment: When doing a "redirect.py double -xml:XX -always" on the French wikipedia :
Checking redirect 13106 of 385262...
Utilisateur:Céréales Killer/Parser <<<
Target link 'm:ParserFunctions/fr' has different family 'm' Exception in Page constructor site=wikipedia:fr, title=m:ParserFunctions/fr, insite=wikipedia:fr, defaultNamespace=0 Traceback (most recent call last): File "redirect.py", line 333, in <module> main() File "redirect.py", line 330, in main bot.run() File "redirect.py", line 285, in run self.fix_double_redirects() File "redirect.py", line 261, in fix_double_redirects secondTargetPage = secondRedir.getRedirectTarget() File "/home/nico/projets/pywikipedia/wikipedia.py", line 1580, in getRedirectTarget return Page(self.site(), arg[0]) File "/home/nico/projets/pywikipedia/wikipedia.py", line 380, in __init__ self._site = getSite(otherlang, familyName) File "/home/nico/projets/pywikipedia/wikipedia.py", line 4930, in getSite _sites[key] = Site(code=code, fam=fam, user=user, persistent_http=persistent_http) File "/home/nico/projets/pywikipedia/wikipedia.py", line 3574, in __init__ raise KeyError("Language %s does not exist in family %s"%(self.lang,self.family.name)) KeyError: 'Language fr does not exist in family meta'
----------------------------------------------------------------------
Comment By: Russell Blau (russblau) Date: 2007-11-14 17:54
Message: Logged In: YES user_id=855050 Originator: NO
Fixed in r4545.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1830917...