zas: i mean are you not able to reproduce this error?
zas
kartikgupta0909: i cannot reproduce it here, i added a comment, so i want to know if you are able to (and what is your env)
kartikgupta0909
zas: i use ubuntu 13.04 , i havent tried reproducing it
zas: lemme try it then
zas
then please try to reproduce it, it will be hard to fix without being able to reproduce it imho (python/unicode/env mess)
kartikgupta0909
zas: do you know for what kind of bad names does this happen?
zas
it is described, check original comment from Freso
kartikgupta0909
should (03, 04, 05, 07, 08).mp3 give me an error? am i getting it correct?
zas: should (03, 04, 05, 07, 08).mp3 give me an error? am i getting it correct?
zas
yes, check Freso's description, it is clear enough for me
kartikgupta0909
zas: i cant reproduce it on ubuntu
zas
Freso: ^^^
kartikgupta0909: please add a comment about that in the tracker
kartikgupta0909
zas: one thing i noticed just now is that when only one file is added and you click on cluster it does nothing
yeeeargh joined the channel
zas: dont you think that track should be added to already existing clusters or at least the user should be informed that he needs to add more than one track
Freso
kartikgupta0909: There's no "(03, 04, 05, 07, 08).mp3" in the download...
kartikgupta0909
Freso: i think i misunderstood the bug, what i did was in my picard on my machine, i tried to add a file named "(03, 04, 05, 07, 08).mp3"
Anyway, I commented with some more thoughts and included sprunge link.
kartikgupta0909: Those files are the ones that error for me.
Ie., {03,04,05,07,08}*.mp3 in the archive.
kartikgupta0909
Freso: oh okay
Freso
(If you're not using a *nix, that glob won't do you much good.)
zas
Freso: your filesystem encoding is utf8 ?
xram joined the channel
Freso
Read the entire issue, please. The very first sentence tells you where you can get the problem files, though it shouldn't be too difficult to create some of your own.
zas: Yep.
Everything is.
zas
really weird i cannot reproduce it
Python 2.7.6 here
Freso
I don't think it depends on Python version.
As per my last comment on the ticket.
zas
Freso: can you reproduce in debug mode and post the log ? also, can you check the output of sys.getfilesystemencoding() ?
Mineo or JonnyJD would have the same unzip version as me.
zas
one concerns encodings
JonnyJD
Freso: yeah, reading and I will test that bug
Freso
Indeed.
zas: But it also looks like it's a patch imported from ArchLinux, meaning that it would be in my version as well.
Anyway, I have no idea how to check the patches. I've never learned to navigate launchpad well, and I'm not very familiar with Ubuntu's structure, so I don't know what the various names mean.
zas
well, picard is still bugging so the issue isn't really the unzip command ;)
but it explains why i cannot reproduce it somehow
those python2/unicode issues suck (i hope moving to python 3 will help ....)
and I can't find that patch on debian (possibly ubuntu only or because I can find the -9 on debian because it is not included in any release)
Freso
zas: That should actually be "Misforstå", and yes, "å" is in 8859-1.
zas
interesting, on my system it unzips as "08 MisforstЖ mig ret.mp3" with "Ж" not "å"
JonnyJD
the å looks fine on my system, but 4 and 5 look weird
oh, no, that is only in the unzip output. On system I do have "?" for both
but yeah, in unzip output 04 Dilemma - Bær mig væk.mp3, that only looked really weird the font I am using. Unzip output looks fine, but ? with "ls"
(and having that stacktrace in Picard when opening)
zas
so basically we have badly encoded characters in the filenames and Picard fails to handle them
JonnyJD
yep
zas: and you have a patch with this subject in your unzip: Subject: unzip files encoded with non-latin, non-unicode file names
basically just not making this happen
zas
yes i have it apparently
JonnyJD
I might make this problem go away on Arch with including that patch, but that is not what we want. We want to fix Picard so these are ignored, right? something like "replace" somewhere
zas
imho we should test unicode conversion, and handle exception
JonnyJD
kartikgupta0909: you could reproduce this problem, right?
kartikgupta0909
JonnyJd: my net is working slow, so it was not able to download, once it downloads i ll check that.
JonnyJD
kartikgupta0909: what OS are you on?
kartikgupta0909
JonnyJd: ubuntu 13.04
zas
Freso, JonnyJD : can you try "unzip -l Dynamikken_MensviventerEP.zip | python -c 'import sys; print sys.stdin.read(2000)'"
JonnyJD
kartikgupta0909: in case you can't reproduce that due to a patch in your unzip: I'll create a tar.gz from my unzip and upload that somewhere
Freso
JonnyJD: Ideally, the scenario with the bad encoding mixup would never happen, but Picard should handle it more gracefully. Ideally actually loading the files, but at the least it should give a (more) helpful error message.
yes, because it had other problems and was actively rejected upstream. This is probably also the reason why it was also removed (later) on Debian/Ubuntu)
p7zip should be used is said
Freso
Well, `7z x` also "works". Using `convmv` also works.
The issue is not so much getting the files to behave, as to get Picard to behave when given badly formatted filenames.
JonnyJD
sure, but now I know we don't have to open a bug for unzip on Arch ;-)