Le mardi 08 août 2006 à 23:57 +0200, EV a écrit :
> 2006-08-08: julien cubizolles dixit

> Do the files (paths) involved have blanks in their full pathnmes?
yes they had.

> > (what's the difference anyway ?)
> 
> rmTune does'nt handle pathnames with blanks correcty; rmOggMP3s 
> does, but it relies of the (.mp3/.ogg) suffixes for parsing the 
> filenames (it woukd'nt work for .flac, e.g.). From the -h option:
> 
>    Usage: rmTune [-h] <tune file> [<tune file> ...]
>    Deletes lkarmafs tune files, by changing their type with `setfattr'
>    (files should not have blank characters in their pathnames)
> 
>    Usage: rmOggMp3s [-h] <tune file> [<tune file> ...]
>    Deletes lkarmafs mp3/ogg tune files, by changing their 
>    type with `setfattr' (names with blanks can be used)

Sorry, I should read more carefully.

> > deleting Podcast.mp3 ... rm: cannot remove 
> > `Podcast.mp3/taxi/tmpLkfsUpldToDelete.19610': Not a directory 
> > You can remove those files manually from the taxi/ dir though
> 
> This very much looks like being the blank problem:  rather than 
> 'deleting Podcast.mp3' the error message should be something as:
> 
>   deleting mnt/tune[/<genre>]/<artist>/<source>/Podcast.mp3  
> 
> But then I dont understand why you actually get something under 
> mnt/taxi/ which you can "remove manually".  Can you please send 
> more details?  
> 
> Alternatively, please mount your RK with -E ' ' '_' and try 
> deleting again.

Today : mounted with
lkarmafs -G -E ' ' '_' -A  /mnt/karma1/ ~/karma

and I still have the same message :

[EMAIL PROTECTED]:~/karma/tune/The_Vines/Highly_Evolved$ rmTune
Highly_Evolved.ogg
deleting Highly_Evolved.ogg ...
rm: ne peut enlever `Highly_Evolved.ogg/taxi/tmpLkfsUpldToDelete.7271':
N'est pas un répertoire

(translation from french : can't remove '<</yy/zz' : isn't a directory)

> Ah!  I see now another possibility:  the scripts don't expect you 
> to go to the mnt/tune[/<genre>]/<artist>/<source>/ dir an then 
> delete the file there; for the moment, they expect the full path 
> under the mointpoint (I think this is easy to fix, though...).

I tried that too, still no luck

[EMAIL PROTECTED]:~/karma$ rmTune
tune/The_Vines/Highly_Evolved/Mary_Jane.ogg
deleting tune/The_Vines/Highly_Evolved/Mary_Jane.ogg ...
rm: ne peut enlever `tune/taxi/tmpLkfsUpldToDelete.7308': est un
répertoire

The files in tune/artist/source/ are removed but there are :

[EMAIL PROTECTED]:~/karma/taxi$ ls
tmpLkfsUpldToDelete.14453  tmpLkfsUpldToDelete.7271
tmpLkfsUpldToDelete.7308

that can be removed manually (except the first one, complaining about a
protocol error)

[EMAIL PROTECTED]:~/karma/taxi$ rm *
rm: détruire fichier régulier `tmpLkfsUpldToDelete.14453'?
rm: détruire fichier régulier `tmpLkfsUpldToDelete.7271'? y
yrm: détruire fichier régulier `tmpLkfsUpldToDelete.7308'? y

Same things happen with rmOggMp3s

* I also tried uploadOGGtoLkfs

It segfaults with french locales :

[EMAIL PROTECTED]:/home/multimedia/ogg/The_Vines/Highly_Evolved
$ /opt/bin/uploadOGGtoLkfs  ~/karma highly_evolved-01-highly_evolved.ogg
Uploading:
highly_evolved-01-highly_evolved.ogg
-> /home/wilk/karma/tune/UNKNOWN/The Vines/Highly Evolved/Highly
Evolved.vorbis
13+1 records in
13+1 records out
/opt/bin/uploadOGGtoLkfs: line 77:  7848 Erreur de segmentation  dd
bs=131072 if="$FILE" of=$KFILE


not with C locales :

/opt/bin/uploadOGGtoLkfs  ~/karma highly_evolved-10-mary_jane.ogg
Uploading:
highly_evolved-10-mary_jane.ogg -> /home/wilk/karma/tune/UNKNOWN/The
Vines/Highly Evolved/Mary Jane.vorbis
54+1 records in
54+1 records out
7142849 bytes (7.1 MB) copied, 0.344211 seconds, 20.8 MB/s

* You can't type several files to upload on the command line, their
names get concatenated ?

[EMAIL PROTECTED]:/home/multimedia/ogg/The_Vines/Highly_Evolved
$ /opt/bin/uploadOGGtoLkfs  ~/karma highly_evolved-01-highly_evolved.ogg
highly_evolved-09-in_the_jungle.ogg highly_evolved-10-mary_jane.ogg
Uploading:
Skiping non-exixting file:
highly_evolved-01-highly_evolved.ogghighly_evolved-09-in_the_jungle.ogghighly_evolved-10-mary_jane.ogg
Skiping non-exixting file:
highly_evolved-09-in_the_jungle.ogghighly_evolved-10-mary_jane.ogg
highly_evolved-10-mary_jane.ogg -> /home/wilk/karma/tune/UNKNOWN/The
Vines/Highly Evolved/Mary Jane.vorbis
54+1 records in
54+1 records out

* I had to unmount and remount it for the newly uploaded files to appear
in the fuse filesystem. Is that normal ? I think I didn't see a mention
of it in the README.

> Thanks for testing

You're welcome.

Julien


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-karma-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-karma-devel

Reply via email to