nova-python / Python.novaextension

Python for Nova
MIT License
13 stars 1 forks source link

No command found with the name "python.resolveEnvs" #9

Closed SteveMcGrath closed 1 month ago

SteveMcGrath commented 1 month ago

I keep running into this issue with the extension...

CleanShot 2024-09-19 at 14 37 31

dcwatson commented 1 month ago

Where are you running into this error?

SteveMcGrath commented 1 month ago

On the extension setting page. Every time I scroll to the top it'll throw that error. It also just dies when trying to run ruff on save.

dcwatson commented 1 month ago

If you open the extension console (Extensions → Show Extension Console), do you see anything in the logs?

SteveMcGrath commented 1 month ago
Extension encountered an uncaught exception:
/Users/steve/Library/Application Support/Nova/Extensions/net.danwatson.Python/Scripts/main.js (Line 59, Column 17)
TypeError: null is not an object (evaluating 'venvDirs.unshift')
    @file:///Users/steve/Library/Application%20Support/Nova/Extensions/net.danwatson.Python/Scripts/main.js:59:17
dcwatson commented 1 month ago

Thank you! I just pushed out an update that should hopefully fix this. Please let me know if it doesn't.

SteveMcGrath commented 1 month ago

no more errors after the update! thanks again for the plugin, its been a real lifesaver for me.