Usdview 0.23.8 fails to launch at all

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\", line 27, in <module>
    from pxr import Tf
  File "C:\Users\herbst\AppData\Local\ov\pkg\usdview-0.23.8\lib\python\pxr\Tf\", line 163, in <module>
  File "C:\Users\herbst\AppData\Local\ov\pkg\usdview-0.23.8\lib\python\pxr\Tf\", line 88, in PreparePythonModule
    module = importlib.import_module(
  File "C:\Users\herbst\AppData\Local\ov\pkg\usdview-0.23.8\python\lib\importlib\", 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:

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]
C:\Users\herbst\AppData\Local\ov\pkg\usdview-0.23.8\bin\usdview: error: the following arguments are required: usdFile


If I understand correctly, you mean that

start C:\Users\herbst\AppData\Local\ov\pkg\usdview-0.23.8\scripts\usdview_gui.bat

Does not work, but you can get the command line to work by modifying PATH and PYTHONPATH accordingly? (which usdview_gui.bat is also trying to do, but might be getting thwarted somehow)

Hi @herbst. Do you have another USD install in your PATH? How long ago did you install usdview-0.23.8? We fixed that bug last Friday, but it will require you to uninstall/reinstall that version of usdview if you happened to install usdview-0.23.8 before the fix.

I just tested it and it seems to be working fine with the fixed version even with usd-22.08 in my PATH.

Hi @mati-nvidia, I installed 0.23.8 a while ago. Are you saying when I uninstall and install again I’ll get a different version with the same version number that may work? I can try that!

@aluk I meant that simply running


works fine and logs the expected output from usdview – not so from start usdview_gui.bat.

Thanks for looking into it!

Can confirm uninstalling 0.23.8 and installing 0.23.8 again has fixed the issue!

I find it a bit strange that the same version is now different (and/or there’s a hidden 4th part to the version that I as user can’t see), but thanks anyways :)

Yes, I agree. I’ll bring that up with the team.

Glad that works!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.