https://bugzilla.wikimedia.org/show_bug.cgi?id=58574
Web browser: --- Bug ID: 58574 Summary: unicodeDecodeError in url2unicode() Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: info@gno.de Classification: Unclassified Mobile Platform: ---
Historia de Cerdeña -> corresponding page is Història de Sardenya Traceback (most recent call last): File "C:\pwb\core\pwb.py", line 135, in <module> run_python_file(fn, argv, argvu) File "C:\pwb\core\pwb.py", line 67, in run_python_file exec(compile(source, filename, "exec"), main_mod.__dict__) File "C:\pwb\core\scripts\featured.py", line 683, in <module> main() File "C:\pwb\core\scripts\featured.py", line 676, in main bot.run() File "C:\pwb\core\scripts\featured.py", line 285, in run self.run_good() File "C:\pwb\core\scripts\featured.py", line 320, in run_good self.treat(code, task) File "C:\pwb\core\scripts\featured.py", line 372, in treat self.featuredWithInterwiki(fromsite, process) File "C:\pwb\core\scripts\featured.py", line 612, in featuredWithInterwiki atrans.put(text, comment) File "C:\pwb\core\pywikibot\page.py", line 906, in put async=async, callback=callback, **kwargs) File "C:\pwb\core\pywikibot\page.py", line 827, in save **kwargs) File "C:\pwb\core\pywikibot\page.py", line 834, in _save comment = self._cosmetic_changes_hook(comment) or comment File "C:\pwb\core\pywikibot\page.py", line 884, in _cosmetic_changes_hook self.text = ccToolkit.change(old) File "C:\pwb\core\scripts\cosmetic_changes.py", line 174, in change text = self.cleanUpLinks(text) File "C:\pwb\core\scripts\cosmetic_changes.py", line 510, in cleanUpLinks 'startspace']) File "C:\pwb\core\pywikibot\textlib.py", line 208, in replaceExcept replacement = new(match) File "C:\pwb\core\scripts\cosmetic_changes.py", line 396, in handleOneLink if not self.site.isInterwikiLink(titleWithSection): File "C:\pwb\core\pywikibot\site.py", line 381, in isInterwikiLink linkfam, linkcode = pywikibot.Link(text, self).parse_site() File "C:\pwb\core\pywikibot\page.py", line 3102, in __init__ t = url2unicode(t, site=self._source) File "C:\pwb\core\pywikibot\page.py", line 3546, in url2unicode raise firstException UnicodeDecodeError: 'utf8' codec can't decode byte 0x80 in position 12: invalid start byte
Unfortunately the title is not printed to specify that bug
https://bugzilla.wikimedia.org/show_bug.cgi?id=58574
xqt info@gno.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|Unprioritized |Normal
https://bugzilla.wikimedia.org/show_bug.cgi?id=58574
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jayvdb@gmail.com Blocks| |70936
pywikipedia-bugs@lists.wikimedia.org