Skip to content

usdview --ff and --lf flags are broken (OpenUSD 25.08+) #3942

@jufrantz

Description

@jufrantz

Since OpenUSD v25.08, usdview fails to start when using --ff and/or --lf.

> usdview --ff 1 --lf 10 /path/to/some/file.usd
Traceback (most recent call last):
  File ".../bin/usdview", line 18, in <module>
    Usdviewq.Launcher().Run()
  File ".../lib/python/pxr/Usdviewq/__init__.py", line 79, in Run
    app, appController = self.LaunchPreamble(arg_parse_result)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".../lib/python/pxr/Usdviewq/__init__.py", line 411, in LaunchPreamble
    appController = AppController(arg_parse_result, contextCreator)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".../lib/python/pxr/Usdviewq/appController.py", line 561, in __init__
    self._resetSettings()
  File ".../lib/python/pxr/Usdviewq/appController.py", line 2465, in _resetSettings
    self._reloadFixedUI()
  File ".../lib/python/pxr/Usdviewq/appController.py", line 1342, in _reloadFixedUI
    self._dataModel.frameRangeBegin = self.realStartTimeCode
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".../lib/python/pxr/Usdviewq/rootDataModel.py", line 117, in frameRangeBegin
    raise ValueError("Expected float, got: {}".format(value))
ValueError: Expected float, got: 1

This looks related to commit c66e6ba.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions