[Pywikipedia-l] [ pywikipediabot-Bugs-1859078 ] interwiki.py causing crash in wikipedia::removeLanguageLinks
SourceForge.net
noreply at sourceforge.net
Thu Dec 27 20:48:01 UTC 2007
Bugs item #1859078, was opened at 2007-12-27 21:07
Message generated for change (Comment added) made by nicdumz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1859078&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: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nicolas Dumazet (nicdumz)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py causing crash in wikipedia::removeLanguageLinks
Initial Comment:
Appeared to run correctly for a while, then :
Dump fr (wikipedia) saved
Traceback (most recent call last):
File "interwiki.py", line 1587, in <module>
bot.run()
File "interwiki.py", line 1364, in run
self.queryStep()
File "interwiki.py", line 1338, in queryStep
self.oneQuery()
File "interwiki.py", line 1334, in oneQuery
subject.workDone(self)
File "interwiki.py", line 707, in workDone
elif page.isEmpty() and not page.isCategory():
File "/home/nico/projets/pywikipedia/wikipedia.py", line 846, in isEmpty
txt = removeLanguageLinks(txt)
File "/home/nico/projets/pywikipedia/wikipedia.py", line 3019, in removeLanguageLinks
['nowiki', 'comment', 'math', 'pre'], marker=marker)
File "/home/nico/projets/pywikipedia/wikipedia.py", line 2795, in replaceExcept
import weblinkchecker
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3: ordinal not in range(128)
For the record, the exact command was :
python interwiki.py -autonomous -skipauto -start:!
Thanks,
Nicolas Dumazet.
----------------------------------------------------------------------
>Comment By: Nicolas Dumazet (nicdumz)
Date: 2007-12-27 21:48
Message:
Logged In: YES
user_id=1963242
Originator: YES
This is apparently a consequence of r4765, since reverting to r4764 is a
temporary fix.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1859078&group_id=93107
More information about the Pywikipedia-l
mailing list