Bugs item #2736331, was opened at 2009-04-06 07:17 Message generated for change (Settings changed) made by nicdumz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2736331...
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: Closed Resolution: Fixed
Priority: 5 Private: No Submitted By: Mikko Silvonen (silvonen) Assigned to: Nobody/Anonymous (nobody) Summary: Interwiki run terminated by error in uncyclopedia_family.py
Initial Comment: My autonomous interwiki run was terminated at the Uncyclopedia article by an indentation error in families\uncyclopedia_family.py. Here's a quick way to reproduce the error:
interwiki.py -lang:fi Uncyclopedia
... Updating links on page [[ru:Absurdopediya]]. Dump fi (wikipedia) saved Traceback (most recent call last): File "C:\svn\pywikipedia\interwiki.py", line 1860, in <module> bot.run() File "C:\svn\pywikipedia\interwiki.py", line 1575, in run self.queryStep() File "C:\svn\pywikipedia\interwiki.py", line 1554, in queryStep subj.finish(self) File "C:\svn\pywikipedia\interwiki.py", line 1147, in finish if self.replaceLinks(page, new, bot): File "C:\svn\pywikipedia\interwiki.py", line 1191, in replaceLinks ignorepage = wikipedia.Page(page.site(), iw.groups()[0]) File "c:\svn\pywikipedia\wikipedia.py", line 433, in __init__ self._site = getSite(otherlang, familyName) File "c:\svn\pywikipedia\wikipedia.py", line 6284, in getSite persistent_http=persistent_http) File "c:\svn\pywikipedia\wikipedia.py", line 4336, in __init__ self.family = Family(fam, fatal = False) File "c:\svn\pywikipedia\wikipedia.py", line 4148, in Family exec "import %s_family as myfamily" % fam File "<string>", line 1, in <module> File "C:\svn\pywikipedia\families\uncyclopedia_family.py", line 19 family.Family.__init__(self) ^ IndentationError: expected an indented block
python version.py
Pywikipedia [http] trunk/pywikipedia (r6577, Apr 05 2009, 11:19:22) Python 2.5.4 (r254:67916, Jan 29 2009, 12:02:11) [MSC v.1310 32 bit (Intel)]
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2009-04-09 18:48
Message: Should be fixed by r6580, thanks for reporting this!
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2736331...
pywikipedia-l@lists.wikimedia.org