[Bug 213365] New: Amarok can't handle folder names with accent

View: New views
14 Messages — Rating Filter:   Alert me  

[Bug 213365] New: Amarok can't handle folder names with accent

by Bugzilla from fragabr@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=213365

           Summary: Amarok can't handle folder names with accent
           Product: amarok
           Version: 2.2-GIT
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: amarok-bugs-dist@...
        ReportedBy: fragabr@...


Version:           2.2-GIT (using 4.3.74 (KDE 4.3.74 (KDE 4.4 >= 20091102)),
compiled sources)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.31

It seems that Amarok can't handle a folder with a accent char. For example:

house_of_the_molé (notice the "é"). Amarok scanner will skip this folder.

Or am I wrong? Thanks.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

[Bug 213365] Amarok can't handle folder names with accent

by Bugzilla from kretschmann@kde.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=213365


Mark Kretschmann <kretschmann@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mitchell@...




--- Comment #1 from Mark Kretschmann <kretschmann kde org>  2009-11-06 07:45:35 ---
This report could be a dupe, or it could be regression from recent changes.

To be sure, I'm CC'ing Jeff, who has the most knowledge about scanning.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

[Bug 213365] Amarok can't handle folder names with accent

by Bugzilla from mitchell@kde.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=213365


Jeff Mitchell <mitchell@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME




--- Comment #2 from Jeff Mitchell <mitchell kde org>  2009-11-06 07:50:11 ---
You are wrong.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

[Bug 213365] Amarok can't handle folder names with accent

by Bugzilla from fragabr@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=213365





--- Comment #3 from Dâniel Fraga <fragabr gmail com>  2009-11-06 17:55:05 ---
(In reply to comment #2)
> You are wrong.

So, does it mean it works for you or not? Thanks.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

[Bug 213365] Amarok can't handle folder names with accent

by Myriam Schweingruber-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=213365





--- Comment #4 from Myriam Schweingruber <myriam kde org>  2009-11-06 18:07:10 ---
(In reply to comment #3)
> (In reply to comment #2)
> > You are wrong.
>
> So, does it mean it works for you or not? Thanks.

Daniel, can you read? Jeff closed the bug as WORKSFORME...

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

[Bug 213365] Amarok can't handle folder names with accent

by Bugzilla from kretschmann@kde.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=213365





--- Comment #5 from Mark Kretschmann <kretschmann kde org>  2009-11-06 19:12:15 ---
Long version:

Jeff created a directory with one character in its filename copied exactly from
your example. There were no problems with scanning it.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

[Bug 213365] Amarok can't handle folder names with accent

by Bugzilla from fragabr@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=213365





--- Comment #6 from Dâniel Fraga <fragabr gmail com>  2009-11-06 21:04:02 ---
> Daniel, can you read? Jeff closed the bug as WORKSFORME...

I thought Mark Kretschmann had changed to WORKSFORME... That's why I asked.
Anyway, if you say it works, who am I to deny it... Let's leave it that way...

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

[Bug 213365] Amarok can't handle folder names with accent

by Bugzilla from mitchell@kde.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=213365





--- Comment #7 from Jeff Mitchell <mitchell kde org>  2009-11-06 23:03:48 ---
Well, the scanner uses UTF-8, other than when it tries to do some smart
detection that I may or may not end up disabling. So there's no reason it
shouldn't handle accented characters, and I've scanned lots of directories with
accented, Cyrillic, Korean, Kanji, and so on without a problem.

However, as Mark said, I took the accented character copied and pasted from
your OP, renamed one of my directories inside my collection to contain it, and
kicked off a scan -- and it was scanned with no problems.

So, if you're having an issue, you should probably give *a lot* more detail as
to what exactly is going on, because it's nothing inherent with the scanner
handling accented characters.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

[Bug 213365] Amarok can't handle folder names with accent

by Bugzilla from fragabr@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=213365





--- Comment #8 from Dâniel Fraga <fragabr gmail com>  2009-11-07 01:32:22 ---
The detail I can give is the following:

1) the folder name is:

/usr/local/src/mp3/ministry/houses_of_the_molé <--- notice the "é"

2) but in the log, I see:

(2433,-1,'./usr/local/src/mp3/ministry/houses_of_the_mole/01-ministry-no_w-fnt.mp3',239,'amarok-sqltrackuid://aa9a3b5e5d9583643
09492e2ca9da041')

Notice that the "é" was transformed in "e" (without accent).

And in Amarok I can't see this entry. But if I rename the folder and change the
"é" to "e", it will appear... so something is wrong here.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

[Bug 213365] Amarok can't handle folder names with accent

by Bugzilla from mitchell@kde.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=213365


Jeff Mitchell <mitchell@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|WORKSFORME                  |




--- Comment #9 from Jeff Mitchell <mitchell kde org>  2009-11-07 02:51:22 ---
Hey,

Go to that folder on the command line and run "amarokcollectionscanner ." Let
me know if the output contains e with the accent or not. This may be the
charset detector striking again, which will give me more ammo to remove it...

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

[Bug 213365] Amarok can't handle folder names with accent

by Bugzilla from fragabr@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=213365





--- Comment #10 from Dâniel Fraga <fragabr gmail com>  2009-11-07 04:01:09 ---
(In reply to comment #9)
> Hey,
>
> Go to that folder on the command line and run "amarokcollectionscanner ." Let
> me know if the output contains e with the accent or not. This may be the
> charset detector striking again, which will give me more ammo to remove it...

The output contains nothing ;) Just the "xml" line without the folder name:

fraga@tux /usr/local/src/mp3/ministry/houses_of_the_molé$
amarokcollectionscanner .
<?xml version="1.0" encoding="UTF-8" ?><scanner></scanner>
fraga@tux /usr/local/src/mp3/ministry/houses_of_the_molé$

But if I remove the accent, then it works:

fraga@tux /usr/local/src/mp3/ministry/houses_of_the_mole$
amarokcollectionscanner .
<?xml version="1.0" encoding="UTF-8" ?><scanner><folder
path="/usr/local/src/mp3/ministry/houses_of_the_mole/"/>

<itemcount count="13"/>

<tags title="No "W"" compilation="checkforvarious" bitrate="192"
uniqueid="amarok-sqltrackuid://aa9a3b5e5d958364309492e2ca9da041" filetype="0"
track="0" artist="Ministry"
path="/usr/local/src/mp3/ministry/houses_of_the_mole/01-ministry-no_w-fnt.mp3"
filesize="4904927" length="204000" samplerate="44100" album="Houses of the
Molé" comment="New Equation: FNT>*>FBI & RIAA" genre="Industrial"
year="2004" audioproperties="true"/>

<tags title="Waiting" compilation="checkforvarious" bitrate="192"
uniqueid="amarok-sqltrackuid://23baeae3c4bc5daec5caa611ba5bdc69" filetype="0"
track="0" artist="Ministry"
path="/usr/local/src/mp3/ministry/houses_of_the_mole/02-ministry-waiting-fnt.mp3"
filesize="7261590" length="302000" samplerate="44100" album="Houses of the
Molé" comment="New Equation: FNT>*>FBI & RIAA" genre="Industrial"
year="2004" audioproperties="true"/>

<tags title="Worthless" compilation="checkforvarious" bitrate="192"
uniqueid="amarok-sqltrackuid://81c078cefa880462991bd11aca5aa54c" filetype="0"
track="0" artist="Ministry"
path="/usr/local/src/mp3/ministry/houses_of_the_mole/03-ministry-worthless-fnt.mp3"
filesize="5993292" length="249000" samplerate="44100" album="Houses of the
Molé" comment="New Equation: FNT>*>FBI & RIAA" genre="Industrial"
year="2004" audioproperties="true"/>

<tags title="Wrong" compilation="checkforvarious" bitrate="192"
uniqueid="amarok-sqltrackuid://575a321faa56f6cb0f109dfbe6508ed4" filetype="0"
track="0" artist="Ministry"
path="/usr/local/src/mp3/ministry/houses_of_the_mole/04-ministry-wrong-fnt.mp3"
filesize="7072254" length="294000" samplerate="44100" album="Houses of the
Molé" comment="New Equation: FNT>*>FBI & RIAA" genre="Industrial"
year="2004" audioproperties="true"/>

<tags title="Warp City" compilation="checkforvarious" bitrate="192"
uniqueid="amarok-sqltrackuid://4eb08dc3373d8daf8a3388a56c7162d9" filetype="0"
track="0" artist="Ministry"
path="/usr/local/src/mp3/ministry/houses_of_the_mole/05-ministry-warp_city-fnt.mp3"
filesize="5793299" length="241000" samplerate="44100" album="Houses of the
Molé" comment="New Equation: FNT>*>FBI & RIAA" genre="Industrial"
year="2004" audioproperties="true"/>

<tags title="WTV" compilation="checkforvarious" bitrate="192"
uniqueid="amarok-sqltrackuid://242e9be149eea61e5b91988599c4aed9" filetype="0"
track="0" artist="Ministry"
path="/usr/local/src/mp3/ministry/houses_of_the_mole/06-ministry-wtv-fnt.mp3"
filesize="6363186" length="265000" samplerate="44100" album="Houses of the
Molé" comment="New Equation: FNT>*>FBI & RIAA" genre="Industrial"
year="2004" audioproperties="true"/>

<tags title="World" compilation="checkforvarious" bitrate="192"
uniqueid="amarok-sqltrackuid://ce48b5fba9dfd6d9a3c01a5ea50a256a" filetype="0"
track="0" artist="Ministry"
path="/usr/local/src/mp3/ministry/houses_of_the_mole/07-ministry-world-fnt.mp3"
filesize="7523023" length="313000" samplerate="44100" album="Houses of the
Molé" comment="New Equation: FNT>*>FBI & RIAA" genre="Industrial"
year="2004" audioproperties="true"/>

<tags title="WKYJ" compilation="checkforvarious" bitrate="192"
uniqueid="amarok-sqltrackuid://e39b3e5879a22bc96c6b416129c724ac" filetype="0"
track="0" artist="Ministry"
path="/usr/local/src/mp3/ministry/houses_of_the_mole/08-ministry-wkyj-fnt.mp3"
filesize="7543085" length="314000" samplerate="44100" album="Houses of the
Molé" comment="New Equation: FNT>*>FBI & RIAA" genre="Industrial"
year="2004" audioproperties="true"/>

<tags title="Worm" compilation="checkforvarious" bitrate="192"
uniqueid="amarok-sqltrackuid://afa91d376e99ecde3e44c3d99d04bdf0" filetype="0"
track="0" artist="Ministry"
path="/usr/local/src/mp3/ministry/houses_of_the_mole/09-ministry-worm-fnt.mp3"
filesize="13217508" length="550000" samplerate="44100" album="Houses of the
Molé" comment="New Equation: FNT>*>FBI & RIAA" genre="Industrial"
year="2004" audioproperties="true"/>

<tags title="Track 23 (Unlisted)" compilation="checkforvarious" bitrate="192"
uniqueid="amarok-sqltrackuid://f152141aa580eb202b9336f1a6450bd7" filetype="0"
track="0" artist="Ministry"
path="/usr/local/src/mp3/ministry/houses_of_the_mole/10-ministry-track_23_(unlisted)-fnt.mp3"
filesize="8186951" length="341000" samplerate="44100" album="Houses of the
Molé" comment="New Equation: FNT>*>FBI & RIAA" genre="Industrial"
year="2004" audioproperties="true"/>

<tags title="Track 69 (Unlisted)" compilation="checkforvarious" bitrate="192"
uniqueid="amarok-sqltrackuid://f2f29b8dc9e91f8ae2d7c31e834b3ff4" filetype="0"
track="0" artist="Ministry"
path="/usr/local/src/mp3/ministry/houses_of_the_mole/11-ministry-track_69_(unlisted)-fnt.mp3"
filesize="3976398" length="165000" samplerate="44100" album="Houses of the
Molé" comment="New Equation: FNT>*>FBI & RIAA" genre="Industrial"
year="2004" audioproperties="true"/>

<dud/><image
path="/usr/local/src/mp3/ministry/houses_of_the_mole/alt_metall-1145266003_i_8287_full.jpg"
list="MinistryAMAROK_MAGICHouses of the Molé"/>

<compilation path="/usr/local/src/mp3/ministry/houses_of_the_mole"/>

</scanner>
fraga@tux /usr/local/src/mp3/ministry/houses_of_the_mole$

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

[Bug 213365] Amarok can't handle folder names with accent

by Bugzilla from mitchell@kde.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=213365





--- Comment #11 from Jeff Mitchell <mitchell kde org>  2009-11-07 15:18:41 ---
What distro are you on? Are you sure you have correct i18n support in the
distro (i.e. your LANG is set to some UTF-8 locale, and so on?)

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

[Bug 213365] Amarok can't handle folder names with accent

by Bugzilla from fragabr@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=213365


Dâniel Fraga <fragabr@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID




--- Comment #12 from Dâniel Fraga <fragabr gmail com>  2009-11-08 05:44:54 ---
(In reply to comment #11)
> What distro are you on? Are you sure you have correct i18n support in the
> distro (i.e. your LANG is set to some UTF-8 locale, and so on?)

That's right! It was a misconfiguration. Sorry about that and thank you very
much!

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

[Bug 213365] Amarok can't handle folder names with accent

by Bugzilla from mitchell@kde.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=213365





--- Comment #13 from Jeff Mitchell <mitchell kde org>  2009-11-08 14:25:28 ---
Glad it works :-)

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.