[ pywikipediabot-Bugs-1965938 ] Article 'Loyalität' in de.wikt throws UTF decoding exception
SourceForge.net
noreply at sourceforge.net
Sat May 17 11:35:34 UTC 2008
Bugs item #1965938, was opened at 2008-05-17 04:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1965938&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: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Article 'Loyalität' in de.wikt throws UTF decoding exception
Initial Comment:
>>interwiki.py -lang:de -family:wiktionary -wiktionary Loyalität
Checked for running processes. 2 processes currently running, including the current process.
Getting 1 pages from wiktionary:de...
Dump de (wiktionary) saved
Traceback (most recent call last):
File "D:\Work\pywikipediabot-HEAD\pywikipedia\interwiki.py", line 1712, in <mo
dule>
bot.run()
File "D:\Work\pywikipediabot-HEAD\pywikipedia\interwiki.py", line 1463, in run
self.queryStep()
File "D:\Work\pywikipediabot-HEAD\pywikipedia\interwiki.py", line 1437, in que
ryStep
self.oneQuery()
File "D:\Work\pywikipediabot-HEAD\pywikipedia\interwiki.py", line 1433, in one
Query
subject.workDone(self)
File "D:\Work\pywikipediabot-HEAD\pywikipedia\interwiki.py", line 772, in work
Done
(skip, alternativePage) = self.disambigMismatch(page)
File "D:\Work\pywikipediabot-HEAD\pywikipedia\interwiki.py", line 641, in disa
mbigMismatch
if self.originPage.isDisambig() and not page.isDisambig():
File "D:\Work\pywikipediabot-HEAD\pywikipedia\wikipedia.py", line 991, in isDi
sambig
foo = self.templates()
File "D:\Work\pywikipediabot-HEAD\pywikipedia\wikipedia.py", line 1678, in tem
plates
return [template for (template, param) in self.templatesWithParams()]
File "D:\Work\pywikipediabot-HEAD\pywikipedia\wikipedia.py", line 1738, in tem
platesWithParams
name = Page(self.site(), name).title()
File "D:\Work\pywikipediabot-HEAD\pywikipedia\wikipedia.py", line 327, in __in
it__
t = url2unicode(t, site = insite, site2 = site)
File "D:\Work\pywikipediabot-HEAD\pywikipedia\wikipedia.py", line 3626, in url
2unicode
raise firstException
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 7-8: unexpected
end of data
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1965938&group_id=93107
More information about the Pywikipedia-l
mailing list