Bugs item #1877535, was opened at 2008-01-22 20:10 Message generated for change (Comment added) made by rotemliss You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1877535...
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: Closed Resolution: Fixed
Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Crashing on unexist language
Initial Comment: Interwiki.py is crashing on projects which does not exist. I hope it skip the page for longer working.
This the output when I'm working on wiktionary:
Getting 1 pages from wiktionary:sco... Wiki <wikipedia._GetAll object at 0x1441cd0> does not exist yet Dump ar (wiktionary) saved Traceback (most recent call last): File "interwiki.py", line 1609, in ? bot.run() File "interwiki.py", line 1384, in run self.queryStep() File "interwiki.py", line 1363, in queryStep subj.finish(self) File "interwiki.py", line 967, in finish if self.replaceLinks(page, new, bot): File "interwiki.py", line 1094, in replaceLinks qdone = bot.oneQuery() File "interwiki.py", line 1354, in oneQuery subject.workDone(self) File "interwiki.py", line 671, in workDone iw = page.interwiki() File "/pywikipedia/wikipedia.py", line 1424, in interwiki ll = getLanguageLinks(self.get(), insite=self.site(), File "/pywikipedia/wikipedia.py", line 603, in get self._contents = self._getEditPage(get_redirect = get_redirect, throttle = throttle, sysop = sysop, nofollow_redirects=nofollow_redirects) File "/pywikipedia/wikipedia.py", line 659, in _getEditPage raise NoSuchSite(u'Wiki %s does not exist yet' % self.site()) wikipedia.NoSuchSite: Wiki wiktionary:sco does not exist yet
----------------------------------------------------------------------
Comment By: Rotem Liss (rotemliss)
Date: 2008-01-24 20:00
Message: Logged In: YES user_id=1327030 Originator: NO
Displaying a message rather than crashing as of r4934.
About the second comment: I think zh, ie and ca Wikiversities don't exist, do they?
----------------------------------------------------------------------
Comment By: David Crochet (crochet_david) Date: 2008-01-23 17:41
Message: Logged In: YES user_id=1944800 Originator: NO
Perhaps linked to a correction due to this bug, but since then the relationship interwiki which there is no account listed in user_config.py are not verified
Example: in the page wikiversity:es:Plantilla:Traducción (http://es.wikiversity.org/wiki/Plantilla:Traducci%C3%B3n) linkages between projects, es, en, el, it and fr are audited (because I have an account on all these projects), however it does not check the links related to zh, ie and ca (because they are not in user_config.py).
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1877535...