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
    Classification: Unclassified
   Mobile Platform: ---

Historia de Cerdeña -> corresponding page is Història de Sardenya
Traceback (most recent call last):
  File "C:\pwb\core\", line 135, in <module>
    run_python_file(fn, argv, argvu)
  File "C:\pwb\core\", line 67, in run_python_file
    exec(compile(source, filename, "exec"), main_mod.__dict__)
  File "C:\pwb\core\scripts\", line 683, in <module>
  File "C:\pwb\core\scripts\", line 676, in main
  File "C:\pwb\core\scripts\", line 285, in run
  File "C:\pwb\core\scripts\", line 320, in run_good
    self.treat(code, task)
  File "C:\pwb\core\scripts\", line 372, in treat
    self.featuredWithInterwiki(fromsite, process)
  File "C:\pwb\core\scripts\", line 612, in featuredWithInterwiki
    atrans.put(text, comment)
  File "C:\pwb\core\pywikibot\", line 906, in put
    async=async, callback=callback, **kwargs)
  File "C:\pwb\core\pywikibot\", line 827, in save
  File "C:\pwb\core\pywikibot\", line 834, in _save
    comment = self._cosmetic_changes_hook(comment) or comment
  File "C:\pwb\core\pywikibot\", line 884, in _cosmetic_changes_hook
    self.text = ccToolkit.change(old)
  File "C:\pwb\core\scripts\", line 174, in change
    text = self.cleanUpLinks(text)
  File "C:\pwb\core\scripts\", line 510, in cleanUpLinks
  File "C:\pwb\core\pywikibot\", line 208, in replaceExcept
    replacement = new(match)
  File "C:\pwb\core\scripts\", line 396, in handleOneLink
    if not
  File "C:\pwb\core\pywikibot\", line 381, in isInterwikiLink
    linkfam, linkcode = pywikibot.Link(text, self).parse_site()
  File "C:\pwb\core\pywikibot\", line 3102, in __init__
    t = url2unicode(t, site=self._source)
  File "C:\pwb\core\pywikibot\", 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

You are receiving this mail because:
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to