Hello,

and Thanks, "Bien vu !" as we say in french (a kind of "well done !")

I added small strings in print commands  (fortunately print is quite the
same in every languages)

cwd      is :  /usr/local/shared/music/jack-9d0e440c
last_of_new :  Héritage des Celtes "Live"

/usr/local/shared/music is a fat32 (vfat) filesystem,
the only way i found to share read/writes partitions between
linux and windows. i set base_dir to home and everything worked fine.

so i think you can close the bug without modifying jack or maybe
doing something like s/"/'/g in titles/names if you want, but is it
portable between systems ? i don't know.

Great thanks, and best regards.

-- 
=====================================================
Alain Cabiran <[EMAIL PROTECTED]>


Martin Michlmayr a écrit :
> * Alain Cabiran <[EMAIL PROTECTED]> [2005-05-27 20:58]:
> 
>>  File "/usr/lib/python2.3/site-packages/jack_freedb.py", line 79, in
>> interpret_db_file
>>    jack_utils.rename_path(dirs_created, new_dirs)
>>  File "/usr/lib/python2.3/site-packages/jack_utils.py", line 95, in
>> rename_path
>>    os.rename(cwd, last_of_new)
>>OSError: [Errno 22] Invalid argument
>>---------------
>>
>>This happens even before ripping. because of title :
>>    DTITLE=Dan Ar Braz / Héritage des Celtes "Live"
> 
> 
> Well, this works here without any problems.
> 
> Can you edit the file /usr/lib/python2.3/site-packages/jack_utils.py
> and go to line 94, and then insert 2 statements:
> 
>     print cwd
>     print last_of_new
> 
> so the code should look like this:
> 
>     if os.path.exists(last_of_new):
>         error("destination directory already exists: " + last_of_new)
>     os.rename(cwd, last_of_new)
>     print cwd
>     print last_of_new
>     os.chdir(last_of_new)
> 
> Also,
>  - what file system are you using?
>  - what is your ~/.jack3rc?  Presumably it doesn't exist or is empty?
> 


Reply via email to