[Pywikipedia-l] [ pywikipediabot-Bugs-2748109 ] error in interwiki.py

SourceForge.net noreply at sourceforge.net
Thu Apr 9 16:35:53 UTC 2009


Bugs item #2748109, was opened at 2009-04-09 20:34
Message generated for change (Settings changed) made by rubin16
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2748109&group_id=93107

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: 7
Private: No
Submitted By: Linar Khalitov (rubin16)
Assigned to: Nobody/Anonymous (nobody)
Summary: error in interwiki.py

Initial Comment:
bot stops working because of "error"

Pywikipedia [http] trunk/pywikipedia (r6579, Apr 08 2009, 22:36:45)
Python 2.5.2 (r252:60911, Oct  8 2008, 17:34:51)
[GCC 4.1.2 (Gentoo 4.1.2 p1.0.2)]

work of interwiki.py

======Post-processing [[ru:Absurdopediya]]======
Updating links on page [[no:Ikkepedia]].
No changes needed
Updating links on page [[nl:Uncyclopedia]].
No changes needed
Updating links on page [[ru:Absurdopediya]].
Dump ru (wikipedia) saved
Traceback (most recent call last):
  File "interwiki.py", line 1860, in <module>
    bot.run()
  File "interwiki.py", line 1575, in run
    self.queryStep()
  File "interwiki.py", line 1554, in queryStep
    subj.finish(self)
  File "interwiki.py", line 1147, in finish
    if self.replaceLinks(page, new, bot):
  File "interwiki.py", line 1191, in replaceLinks
    ignorepage = wikipedia.Page(page.site(), iw.groups()[0])
  File "/home/dens/pywikipedia/wikipedia.py", line 433, in __init__
    self._site = getSite(otherlang, familyName)
  File "/home/dens/pywikipedia/wikipedia.py", line 6284, in getSite
    persistent_http=persistent_http)
  File "/home/dens/pywikipedia/wikipedia.py", line 4336, in __init__
    self.family = Family(fam, fatal = False)
  File "/home/dens/pywikipedia/wikipedia.py", line 4148, in Family
    exec "import %s_family as myfamily" % fam
  File "<string>", line 1, in <module>
  File "/home/dens/pywikipedia/families/uncyclopedia_family.py", line 19
    family.Family.__init__(self)
         ^
IndentationError: expected an indented block

--------

Is something else needed ?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2748109&group_id=93107



More information about the Pywikipedia-l mailing list