Bugs item #1334291, was opened at 2005-10-21 15:45 Message generated for change (Comment added) made by dbu You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1334291&group_id=46652
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: david buchmann (dbu) Assigned to: Nobody/Anonymous (nobody) Summary: freevo cache and symbolic links Initial Comment: I use symbolic links for some cover images. (my dir layout is Band/Album/ and i link one of the album's cover in Band dir) $ freevo cache compiles all cover thumbnails without complaint, but during check it fails with: checking thumbnails................................... Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/freevo/helpers/cache.py", line 446, in ? cache_thumbnails() File "/usr/lib/python2.4/site-packages/freevo/helpers/cache.py", line 190, in cache_thumbnails sinfo = os.stat(filename) OSError: [Errno 2] No such file or directory: '/home/exported/sound/Dismal Euphony/cover.jpg' the line seems to be sinfo = os.stat(filename) i don't know whether it is a problem with whitespace or with symbolic link. however, it is normally neither the first directory with a space, neither the first with a symbolic link, assuming the script is proceeding in alphabetic order... ---------------------------------------------------------------------- >Comment By: david buchmann (dbu) Date: 2005-10-24 19:36 Message: Logged In: YES user_id=212032 using the ls -l i discovered, that the link target does not exist. what is astonishing for me is that building the cache files did not reveal that error. lrwxrwxrwx 1 david david 65 2004-06-30 15:54 /home/exported/sound/Dismal Euphony/cover.jpg -> Dismal Euphony - Autumn Leaves (The Rebellion Of Tides)/cover.jpg using the tool 'symlinks' i made shure no more dangling links exist. now the caching seems to work - or at least i don't get any errors. sorry for the confusion, it was my fault then - although, the error reporting on that problem is not really good either. ---------------------------------------------------------------------- Comment By: Jason Tackaberry (tack) Date: 2005-10-21 15:56 Message: Logged In: YES user_id=19625 What is the output of: ls -l "/home/exported/sound/Dismal Euphony/cover.jpg" (make sure to execute as the user freevo is running as)? Neither whitespace nor symlinks should cause a problem with os.stat() ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1334291&group_id=46652 ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel