This seems to be a regression. In previous versions I was able to launch usdview (with an empty window / no file) from Omniverse Library > USDView, but in 0.23.8 the “Launch” button shortly spins and then nothing happens.
I tried running it from command line and that works just fine, so I think there’s a regression with how the launch from the Library happens.
When looking at C:\Users\<your name here>\.nvidia-omniverse\logs\launcher.log
, I can see it tries to launch:
[2023-08-23 16:40:45.450] [debug] Running "C:\Users\herbst\AppData\Local\ov\pkg\usdview-0.23.8\scripts\usdview_gui.bat"
And when running that .bat manually:
start C:\Users\herbst\AppData\Local\ov\pkg\usdview-0.23.8\scripts\usdview_gui.bat
a new command window opens and logs an actual error:
Traceback (most recent call last):
File "C:\Users\herbst\AppData\Local\ov\pkg\usdview-0.23.8\bin\usdview", line 28, in <module>
import pxr.Usdviewq as Usdviewq
File "C:\Users\herbst\AppData\Local\ov\pkg\usdview-0.23.8\lib\python\pxr\Usdviewq\__init__.py", line 27, in <module>
from pxr import Tf
File "C:\Users\herbst\AppData\Local\ov\pkg\usdview-0.23.8\lib\python\pxr\Tf\__init__.py", line 163, in <module>
PreparePythonModule()
File "C:\Users\herbst\AppData\Local\ov\pkg\usdview-0.23.8\lib\python\pxr\Tf\__init__.py", line 88, in PreparePythonModule
module = importlib.import_module(
File "C:\Users\herbst\AppData\Local\ov\pkg\usdview-0.23.8\python\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: DLL load failed while importing _tf: The specified procedure could not be found.
Running the same usdview manually is fine and logs the expected usdview
output:
C:\Users\herbst>C:\Users\herbst\AppData\Local\ov\pkg\usdview-0.23.8\bin\usdview
usage: C:\Users\herbst\AppData\Local\ov\pkg\usdview-0.23.8\bin\usdview
[-h] [--renderer {GL,HydraDisabled}] [--select PRIMPATH]
[--camera CAMERA] [--mask PRIMPATH[,PRIMPATH...]] [--clearsettings]
[--defaultsettings] [--norender] [--noplugins] [--unloaded] [--timing]
[--traceToFile TRACETOFILE] [--traceFormat {chrome,trace}]
[--tracePython] [--memstats {none,stage,stageAndImaging}]
[--numThreads NUMTHREADS] [--ff FIRSTFRAME] [--lf LASTFRAME]
[--cf CURRENTFRAME] [--complexity {low,medium,high,veryhigh}]
[--quitAfterStartup] [--sessionLayer SESSIONLAYER]
[--mute MUTELAYERSRE]
usdFile
C:\Users\herbst\AppData\Local\ov\pkg\usdview-0.23.8\bin\usdview: error: the following arguments are required: usdFile
C:\Users\herbst>