Discussion:
[mb-bugs] [MusicBrainz Bug Tracker] #4353: Picard fails to decode some filenames
MusicBrainz Bug Tracker
16 years ago
Permalink
#4353: Picard fails to decode some filenames
------------------------------------------------+---------------------------
Reporter: der_julian at web.de | Type: bug
Status: new | Priority: normal
Milestone: | Component: Picard Tagger
Version: Picard 0.11 | Keywords:
Browser: Netscape, Firefox, Mozilla (Gecko) | Os: Linux
------------------------------------------------+---------------------------
My music collection uses UTF-8 encoding for filenames with Umlauts. Picard
just ignore these files when my locale is not UTF-8 (happens when I use
ssh -f to start picard) and writes

W: 140642495821552 21:56:45 Failed to decode filename:
'/storage/julian/audio/electronica/welle.erdball/1998 - Der Sinn Des
Lebens/04 - Gib Mir Mein Gef\xc3\xbchl Zur\xc3\xbcck.mp3'

to stdout. Expected behavior would be to see a file with broken encoding
instead of no file at all.

This is on Gentoo Linux on amd64, Python 2.5.2, and Picard 0.11.
--
Ticket URL: <http://bugs.musicbrainz.org/ticket/4353>
MusicBrainz Bug Tracker <http://musicbrainz.org>
MusicBrainz -- the music metadatabase
MusicBrainz Bug Tracker
16 years ago
Permalink
#4353: Picard fails to decode some filenames
-------------------------------------------------+--------------------------
Reporter: der_julian at web.de | Owner: david.hilton
Type: bug | Status: assigned
Priority: normal | Milestone:
Component: Picard Tagger | Version: Picard 0.11
Resolution: | Keywords:
Browser: Netscape, Firefox, Mozilla (Gecko) | Os: Linux
-------------------------------------------------+--------------------------
Changes (by david.hilton):

* owner: => david.hilton
* status: new => assigned

Comment:

When you say that your locale is not UTF-8, what is it?
--
Ticket URL: <http://bugs.musicbrainz.org/ticket/4353#comment:1>
MusicBrainz Bug Tracker <http://musicbrainz.org>
MusicBrainz -- the music metadatabase
MusicBrainz Bug Tracker
16 years ago
Permalink
#4353: Picard fails to decode some filenames
-------------------------------------------------+--------------------------
Reporter: der_julian at web.de | Owner: david.hilton
Type: bug | Status: assigned
Priority: normal | Milestone:
Component: Picard Tagger | Version: Picard 0.11
Resolution: | Keywords:
Browser: Netscape, Firefox, Mozilla (Gecko) | Os: Linux
-------------------------------------------------+--------------------------
Comment (by der_julian at web.de):

Your python script says:
ANSI_X3.4-1968

locale says:
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
--
Ticket URL: <http://bugs.musicbrainz.org/ticket/4353#comment:2>
MusicBrainz Bug Tracker <http://musicbrainz.org>
MusicBrainz -- the music metadatabase
MusicBrainz Bug Tracker
16 years ago
Permalink
#4353: Picard fails to decode some filenames
-------------------------------------------------+--------------------------
Reporter: der_julian at web.de | Owner: david.hilton
Type: bug | Status: assigned
Priority: normal | Milestone:
Component: Picard Tagger | Version: Picard 0.11
Resolution: | Keywords:
Browser: Netscape, Firefox, Mozilla (Gecko) | Os: Linux
-------------------------------------------------+--------------------------
Comment (by david.hilton):

I've had a very similar problem; basically, I forgot to set my locale at
all, and picard would die. I submitted a patch that should at least tell
the user that there is an error. I'll also unset my locale and take a
look at the code to see if I can't do something about it.

In the meantime, could you try manually setting your LC_* variables before
running picard and report what happens?

Thanks
--
Ticket URL: <http://bugs.musicbrainz.org/ticket/4353#comment:3>
MusicBrainz Bug Tracker <http://musicbrainz.org>
MusicBrainz -- the music metadatabase
MusicBrainz Bug Tracker
16 years ago
Permalink
#4353: Picard fails to decode some filenames
-------------------------------------------------+--------------------------
Reporter: der_julian at web.de | Owner: david.hilton
Type: bug | Status: assigned
Priority: normal | Milestone:
Component: Picard Tagger | Version: Picard 0.11
Resolution: | Keywords:
Browser: Netscape, Firefox, Mozilla (Gecko) | Os: Linux
-------------------------------------------------+--------------------------
Comment (by der_julian at web.de):

Setting the locale manually works.
--
Ticket URL: <http://bugs.musicbrainz.org/ticket/4353#comment:4>
MusicBrainz Bug Tracker <http://musicbrainz.org>
MusicBrainz -- the music metadatabase
MusicBrainz Bug Tracker
13 years ago
Permalink
#4353: Picard fails to decode some filenames
--------------------------------+-------------------------------------------
Reporter: der_julian at web.de | Owner: david.hilton
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Picard Tagger | Version: Picard 0.11
Resolution: duplicate | Keywords:
Os: Linux | Browser: Netscape, Firefox, Mozilla (Gecko)
--------------------------------+-------------------------------------------
Changes (by nikki):

* status: assigned => closed
* resolution: => duplicate

Comment:

http://tickets.musicbrainz.org/browse/PICARD-167
--
Ticket URL: <http://bugs.musicbrainz.org/ticket/4353#comment:5>
MusicBrainz Bug Tracker <http://musicbrainz.org>
MusicBrainz -- the music metadatabase
Loading...