-
Notifications
You must be signed in to change notification settings - Fork 43
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
Issue with partitioned drive #3
Comments
Some more details would probably not hurt, such as your operating system and what you mean by "partitioned drive" (partition type, formats used in each partition, etc.) |
Sorry, on one machine Im getting "OSError: Couldn't perform operation. Error Code: 2." On another machine the files delete fine with no error code. Im trying to get rid of wav files. Looking at a Local NTFS drive. Let me know if there any other details I can provide |
On Windows? |
yep windows. |
the odd thing is that the partioned drive works on another machine. It removes the files but doesnt send them to the trash. on the first machine I get that error. |
I will probably not be the one fixing this issue, I don't use Windows, but it seems to me that there's enough details in this ticket to get somewhere. |
Sounds good. Thanks for the info on what else folks may need! Also, scratch the OSerror issue. All seems to be working ok in general. That error was unrelated to the un partitioned drive issue. |
Using send2trash on Linux with an NTFS formatted drive mounted:
EDIT: This issue may be more related to #67 than this issue, apologies. |
@cglmrfreeman This error looks like there are not permissions to create the trash directory (or access an existing one) on the drive where the file is being trashed. |
I thought that was obvious? The error is literally |
@cglmrfreeman, does the user you were running send2trash with have permissions to the drive in your error? This should only happen if the permissions on the drive do not allow you to create and/or read the directory that is trying to be used. If the user does not have permissions this is the expected behavior. |
The user has permissions, and I have been using python to create, move, copy, and delete files on that drive. Send2trash was the only thing that has failed for me regarding some automated script cleanup I was working on. EDIT: I have since moved from the |
Just was curious to see if folks had issues with partitioned drives and sending to the bin. Currently using the script and its working great on my local drive but for some reason my partitioned drive is having issues. The files are being removed but not sent to the bin. Thanks for any advice!
The text was updated successfully, but these errors were encountered: