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

Plugins: env not completely removed when removing #1666

Open
dcdenu4 opened this issue Oct 24, 2024 · 3 comments
Open

Plugins: env not completely removed when removing #1666

dcdenu4 opened this issue Oct 24, 2024 · 3 comments

Comments

@dcdenu4
Copy link
Member

dcdenu4 commented Oct 24, 2024

I'm seeing:

 WARNING conda.gateways.disk.delete:unlink_or_rename_to_trash(182): Could not remove or rename C:\Users\ddenu\miniforge3\envs\invest_plugin_schistosomiasis\Library\share\proj\proj.db.  Please remove this file manually (you may need to reboot to free file handles)
[1] WARNING conda.gateways.disk.delete:unlink_or_rename_to_trash(182): Could not remove or rename C:\Users\ddenu\miniforge3\envs\invest_plugin_schistosomiasis\Scripts\invest.exe.  Please remove this file manually (you may need to reboot to free file handles)
[1] [11:24:47.964] [undefined] successfully removed plugin
@dcdenu4 dcdenu4 added the bug Something isn't working label Oct 24, 2024
@dcdenu4
Copy link
Member Author

dcdenu4 commented Oct 24, 2024

It could be because I had the environment activated in another shell.

@dcdenu4
Copy link
Member Author

dcdenu4 commented Oct 24, 2024

Actually, what was happening was I had a few zombie InVEST processes running that were never properly ended. These must have been using the plugin env, because once I killed these I was able to force remove the plugin env.

@dcdenu4 dcdenu4 removed the bug Something isn't working label Oct 24, 2024
@emlys
Copy link
Member

emlys commented Oct 24, 2024

I don't think we can guarantee that no processes outside the workbench are using the env, but we can at least show this warning to the user

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants