You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add-on Version: 1.0.0
Blender Version: 2.82
VS Code Version: 1.44
if where, which or whereis returns a path with a trailing separator (e.g. "/" ) the blender plugin fails to find ptvsd because it tries to append "/ptvsd" to the path.
recommend inserting path = path.rstrip('/') here:
forpathinsys.path:
ifos.path.exists(path+"/ptvsd"):
returnpathifos.path.exists(path+"/site-packages/ptvsd"):
returnpath+"/site-packages"ifos.path.exists(path+"/lib/site-packages/ptvsd"):
returnpath+"lib/site-packages"return"PTVSD not Found"
and change
ptvsd_path=prefs.path
to
ptvsd_path=prefs.path.rstrip('/')
workaround is to manually add path but remove trailing separator when activating plugin.
The text was updated successfully, but these errors were encountered:
Add-on Version: 1.0.0
Blender Version: 2.82
VS Code Version: 1.44
if where, which or whereis returns a path with a trailing separator (e.g. "/" ) the blender plugin fails to find ptvsd because it tries to append "/ptvsd" to the path.
recommend inserting
path = path.rstrip('/')
here:and change
to
workaround is to manually add path but remove trailing separator when activating plugin.
The text was updated successfully, but these errors were encountered: