Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'OSError: Directory not found' when trying to trash file in network drive #10

Open
edmundchong opened this issue Feb 10, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@edmundchong
Copy link

commented Feb 10, 2017

I am trying to use send2trash on a Mac OS X system.

when I try send2trash(fn) I get the error OSError: Directory not found. This only occurs when trying to trash files on my network drive (the network folder is mapped to /Volumes/...).

It seems that when I try to manually move the file to trash in Finder, the file disappears completely and does not show up in Trash. I googled a little and found that OSX seems to lack support for trashing files on network volumes! (e.g. https://arstechnica.com/civis//viewtopic.php?f=19&t=1225663). I wonder if this is something that can be overcome in the send2trash code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.