Bugs item #3535710, was opened at 2012-06-16 14:59 Message generated for change (Comment added) made by grondin85 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3535710...
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: Open Resolution: None Priority: 5 Private: No Submitted By: Bertrand Grondin (grondin85) Assigned to: Nobody/Anonymous (nobody) Summary: 'sd' language obsolete in Wikinews
Initial Comment: When lauching interwiki.py I've the following message :
File "/home/bertrand/pywikipedia/wikipedia.py", line 5255, in __init__ % (self.__code, self.__family.name)) pywikibot.exceptions.NoSuchSite: Language sd in family wikinews is obsolete
I deleted 'sd' code in families/wikinews.py
this patch should solve this problem.
----------------------------------------------------------------------
Comment By: Bertrand Grondin (grondin85)
Date: 2012-06-17 01:59
Message: Page given to the command-line (catalan wikinews)
França: mor el periodista esportiu Thierry Roland
http://ca.wikinews.org/wiki/Fran%C3%A7a:_mor_el_periodista_esportiu_Thierry_...
----------------------------------------------------------------------
Comment By: Bertrand Grondin (grondin85) Date: 2012-06-17 01:54
Message: Command line :
python interwiki.py -page -putthrottle:"1" -lang:"ca"
----------------------------------------------------------------------
Comment By: Bertrand Grondin (grondin85) Date: 2012-06-17 01:48
Message: Trackback of error messages
Updating links on page [[fr:France : disparition de Thierry Roland]]. Changes to be made: Robot: Adding [[ca:França: mor el periodista esportiu Thierry Roland]] Dump fr (wikinews) appended. Traceback (most recent call last): File "interwiki.py", line 2583, in <module> main() File "interwiki.py", line 2557, in main bot.run() File "interwiki.py", line 2296, in run self.queryStep() File "interwiki.py", line 2274, in queryStep subj.finish(self) File "interwiki.py", line 1723, in finish if self.replaceLinks(page, new, bot): File "interwiki.py", line 1878, in replaceLinks template=template) File "/home/bertrand/pywikipedia/pywikibot/textlib.py", line 448, in replaceLanguageLinks s = interwikiFormat(new, insite = site) File "/home/bertrand/pywikipedia/pywikibot/textlib.py", line 524, in interwikiFormat ar = interwikiSort(links.keys(), insite) File "/home/bertrand/pywikipedia/pywikibot/textlib.py", line 557, in interwikiSort site = insite.getSite(code = code) File "/home/bertrand/pywikipedia/wikipedia.py", line 7819, in getSite return getSite(code = code, fam = self.family, user=self.user) File "/home/bertrand/pywikipedia/pywikibot/__init__.py", line 115, in wrapper return method(*__args, **__kw) File "/home/bertrand/pywikipedia/wikipedia.py", line 8000, in getSite _sites[key] = Site(code=code, fam=fam, user=user) File "/home/bertrand/pywikipedia/pywikibot/__init__.py", line 115, in wrapper return method(*__args, **__kw) File "/home/bertrand/pywikipedia/wikipedia.py", line 5255, in __init__ % (self.__code, self.__family.name)) pywikibot.exceptions.NoSuchSite: Language sd in family wikinews is obsolete
----------------------------------------------------------------------
Comment By: xqt (xqt) Date: 2012-06-16 22:59
Message: 'sd' is in family.obsolete dictionary. Your patch doesn't solve the problem. Please give your full traceback and the command line you have uses and if possible the page where this error occurred. Since this bug is not a general blocker, I degraded the priority.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3535710...
pywikipedia-bugs@lists.wikimedia.org