Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-781

Can't "Lookup in Browser": UnicodeEncodeError: 'latin-1' codec can't encode characters in position 0-7: ordinal not in range(256)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Normal Normal
    • None
    • 1.4
    • None
    • None
    • freso@koume> echo $LANG
      da_DK.UTF8
      freso@koume> pacman -Qiq picard-git|grep Version
      Version : 1.3.2.r285.g5890785-1

      When I hit the "Lookup in Browser" button, I get:

      Traceback (most recent call last):
        File "/usr/lib/python2.7/site-packages/picard/ui/mainwindow.py", line 795, in browser_lookup
          self.tagger.browser_lookup(self.selected_objects[0])
        File "/usr/lib/python2.7/site-packages/picard/tagger.py", line 445, in browser_lookup
          item.filename if isinstance(item, File) else '')
        File "/usr/lib/python2.7/site-packages/picard/browser/filelookup.py", line 130, in tagLookup
          return self._build_launch('/taglookup', params)
        File "/usr/lib/python2.7/site-packages/picard/browser/filelookup.py", line 43, in _build_launch
          return self.launch(self._url(path, params))
        File "/usr/lib/python2.7/site-packages/picard/browser/filelookup.py", line 39, in _url
          url = build_qurl(self.server, self.port, path=path, queryargs=params)
        File "/usr/lib/python2.7/site-packages/picard/util/__init__.py", line 412, in build_qurl
          url.addEncodedQueryItem(k, unicode(v))
      UnicodeEncodeError: 'latin-1' codec can't encode characters in position 0-7: ordinal not in range(256)
      

      I'm guessing this may be related to the album name ("龍虎の拳2") and/or artist name ("新世界楽曲雑技団"): https://ptpb.pw/AKSmFPOpnbcvsQXe-SU87HexWuGp (8.4 MB, you've been warned)

            Unassigned Unassigned
            freso Freso
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package