version-fox / vfox

A cross-platform and extendable version manager with support for Java, Node.js, Flutter, .Net & more
https://vfox.lhan.me
Apache License 2.0
2.87k stars 102 forks source link

[BUG]: No Python at '"C:\Users\xxxx\.version-fox\temp\1731090600-10980\python\python.exe' #377

Open borolepratik opened 1 week ago

borolepratik commented 1 week ago

Version 0.6.0 OS Windows

Describe the bug After a system reboot, i'm unable to run poethepoet tasks from .venv. The .venv directory exists and works as expected for the project.

For example, i have a pre-commit hook for ruff which is run by poethepoet, but fails with the error - No Python at '"C:\Users\xxxx\.version-fox\temp\1731090600-10980\python\python.exe' (username intentionally substituted with xxxx).

Running python --version after activating the venv works fine, but running poetry run poe ruff doesn't. Started seeing this issue after migrating from pyenv-win.

Workaround - delete the .venv, re-uninstall poetry and recreate .venv and things are fine until a system reboot.

> vfox config -l
proxy.url =
proxy.enable = false
storage.sdkPath =
registry.address =
legacyVersionFile.enable = false
cache.availableHookDuration = 12h

Screenshots image

jan-bar commented 1 week ago

reference:https://github.com/version-fox/vfox/issues/290