First time here? Check out the FAQ!
1

${} in Launch Configurations

In Wing 7x I used this pattern often ${DCCSI_PY_IDE} to define interpreters for launch configurations.

In Wing 7, I used this as my project properties interpreter: ${DCCSI_PY_IDE} Then I would set up other python.exe as additional launch configurations:

  • ${DCCSI_PY_MAYA}
  • ${DCCSI_PY_SUBSTANCE}
  • ...

That allowed me to switch interpreters on the fly, and validate code on different python interpreters of my DCC tools.

This broke in Wing 8 as far as I can tell, I can use this is as the slug for me project properties, and it will work as the primary interpreter: ${DCCSI_PY_IDE} But if I then use the same slug as a shared launch configuration, that configuration willl not be able to start the interpreter.

I even tried the following ... I set up a shared launch configuration, using env hooks, like: ${MAYA_BIN_PATH}\mayapy.exe ^ that does not work in Wing 8 I have verified that the envar is set, I can retrieve it from the console.

  • import os
  • print(os.getenv('MAYA_BIN_PATH'))
  • C:\Program Files\Autodesk\Maya2022\bin

I do not have enough points to upload an image.

HogJonny-AMZN's avatar
11
HogJonny-AMZN
asked 2022-08-01 16:29:47 -0500
Wingware Support's avatar
4.1k
Wingware Support
updated 2022-08-02 08:33:55 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

I've replicated this bug in Wing 8 and we'll try to fix this soon with an update. Thanks very much for reporting this problem!

Wingware Support's avatar
4.1k
Wingware Support
answered 2022-08-02 08:34:30 -0500
edit flag offensive 0 remove flag delete link

Comments

There's a fix going into Wing 8.3.3.1+ although I'm not sure of the exact date for that yet. Thanks again for reporting this!

Wingware Support's avatar Wingware Support (2022-08-02 10:44:10 -0500) edit

NP! I just grabbed the latest update, and it looks like this is working now. Thanks for the quick fix!

HogJonny-AMZN's avatar HogJonny-AMZN (2022-08-03 08:32:41 -0500) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer