JacquesLucke / blender_vscode

Visual Studio Code extension for Blender development.
MIT License
580 stars 75 forks source link

Error when starting Blender #192

Open Dangry98 opened 2 months ago

Dangry98 commented 2 months ago

image image

Since the latestest udpdate no add-on can can start anymore withoute errors, 0.021 works perfectly

Mateusz-Grzelinski commented 2 months ago

Is your add-on available publically? I have couple of ideas , bit debugging it will take a lot of back and fourth .

The most important question is: is your add-on an add-on or extension?

Dangry98 commented 2 months ago

yep, you can get it here: https://extensions.blender.org/add-ons/modifier-list-fork/ Thanks! :)

Mateusz-Grzelinski commented 2 months ago

obviously this is invalid name for python module: vscode_development.modifier_list-for-Blender-4

Warning: vscode_development: "C:\Users\grzel\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\vscode_development\modifier_list-for-Blender-4.0" is not a supported module name, skipping

Please use VS code setting blender.addon.moduleName to specify name of the addon that is valid python identifier, I named it "blender.addon.moduleName": "my_mod_list",.

I noticed there a problem in logic when using blender.addon.moduleName (some directory is not created properly), but it should work for you.

I need to find a way to switch to Terminal View by default in VS code - this information isvisible in Terminal, not Debug window.