aafm icon indicating copy to clipboard operation
aafm copied to clipboard

broken symlink trouble

Open kanor opened this issue 14 years ago • 6 comments

it is not uncommon to have a symlink that points to a nonexisting place (cache dir on /dev/shm that exist only when its app is running) and your current code cannot handle these otherwise great idea using adb as file protocol instead of mtp !

kanor avatar Aug 05 '11 16:08 kanor

So you then try to browse to that place in the tablet and it brings you nowhere?

I'm not sure I can 'detect' that, I'll have a look into it. Thanks for reporting!

sole avatar Aug 06 '11 18:08 sole

its on the computer side, if a broken link exist in a directory nothing will show up in that panel, im guessing a try/catch block around here will do it File "Applications/aafm/src/aafm-gui.py", line 228, in dir_scan_host size = os.path.getsize(path) didnt want to mess up your code with patch

kanor avatar Aug 07 '11 19:08 kanor

Oh I see what you mean!

I'll have a look soon. Meantime, don't get scared by patches, it's very easy with GitHub! You can have a look at the following page: http://help.github.com/send-pull-requests/

... just in case you want to try patching it yourself and sending a pull request!

sole avatar Aug 08 '11 13:08 sole

I have the same problem, but sadly don't speak Java.

Thanks all the same - aafm corrects the only flaw I've found with the Galaxy Tab 10.1!

tyler-s avatar Oct 18 '11 02:10 tyler-s

You're welcome :-)

I'll try to fix this and another issue hopefully soon. Meanwhile just don't go near dangerous places ;)

sole avatar Oct 18 '11 07:10 sole

I had the same, I couldn't actually start the GUI until I forcefully removed the symlinks because it kept trying to reference them, even though it didn't actually exist.

b9anders avatar Mar 04 '12 14:03 b9anders