iemejia / catho

A file catalog utility inspired by the awesome Robert Vasicek's Cathy project. Or my excuse to hack something that I really need.
GNU Lesser General Public License v3.0
6 stars 1 forks source link

Error parsing hardlinks #25

Closed rgamez closed 11 years ago

rgamez commented 11 years ago

Not such file or directory while parsing a hardlink

$ ls -al ~/Dropbox/iPad/ lrwxr-xr-x 1 rgamez staff 38 18 feb 2012 test.pdf -> /Users/rgamez/Documents/test.pdf

$ ./catho.py add iPad ~/Dropbox/iPad Creating catalog: iPad An error occurred: [Errno 2] No such file or directory: '/Users/rgamez/Dropbox/iPad/test.pdf'

iemejia commented 11 years ago

wasn't that a softlink ? errorno: 2 means that the target file doesn't exist, I just added some code that warns about this. can you confirm me that this is the issue ?

rgamez commented 11 years ago

It is an issue with orphan symbolic links on my filesystem.