ID 611416 - USG_PLUGINS_PATH environment variable doesn't handle windows paths with a mapped drive, containing a colon :

Follow

Problem summary
USG_PLUGINS_PATH environment variable doesn't handle windows paths with a mapped drive, containing a colon : 
 
Customer reported version
nuke.16.0v4
 
Customer reported platform
windows10
 
Steps to reproduce
 
1) Install Python, the same version the Nuke uses

2) Open Command Prompt, and run the following commands (changing paths as needed):

set PATH=C:\Program Files\Nuke16.0v7set USG_SHIMLIB_PATH=C:\Program Files\Nuke16.0v7set USG_USD_LIB_PATH=C:\Program Files\Nuke16.0v7\FnUSD\libset USG_USD_PLUGIN_PATH=C:\Program Files\Nuke16.0v7\FnUSD\plugin\usdset PYTHONPATH=C:\Program Files\Nuke16.0v7\lib\site-packagesset USG_SHIMLIB_NAME=C:\Program Files\Nuke16.0v7\FnUsdShim.0.6.dllset USG_PLUGINS_PATH=C:\Program Files\Nuke16.0v7\FnUsdAbstraction\resources

3) From that Command Prompt, launch Python
"C:\Program Files\Python311\python.exe"
4) In that Python session import nuke:
import nuke
 
Expected behaviour
For the nuke module to import
 
Actual behaviour
It errors saying:
Runtime Error: in _ReadPlugInfoWithWildcards at line 384 of Y:\.cs\a54681\1\USD_src\pxr\base\plug\info.cpp -- Plugin info file C is not absoluteRuntime Error: in _ReadPlugInfoWithWildcards at line 384 of Y:\.cs\a54681\1\USD_src\pxr\base\plug\info.cpp -- Plugin info file Files\Nuke16.0v7\FnUsdAbstraction\resources is not absolute
 
 
Workaround
Use relative paths, providing the Python install is on the same drive as Nuke is installed onto
 
Reproduced by support
This bug has been reproduced in:
Nuke 16.0v7 - Windows 11
Nuke 15.1v1 - Windows 11
 
Earliest version tested
Nuke 15.1v1 - This feature did not exist before this version
 

    We're sorry to hear that

    Please tell us why