-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
State file not found, a new one will be created. #2407
Comments
Hi, I had this issue monday, class ViewSettingsDataModel(StateSource, QtCore.QObject):
...
def __init__(self, rootDataModel, parent):
StateSource.__init__(self, parent, "model")
QtCore.QObject.__init__(self) it appear that |
Thanks @TanJeremy this works! I used python 3.8.10 |
Hi all, just wanted to note that this is a known issue related to a change in behavior in PySide 6.5.0. A PR with a fix for this issue (which is the same fix as @TanJeremy posted) is here: #2392 An alternate workaround is to use an older version of PySide. |
Filed as internal issue #USD-8272 |
Thanks all for logging and posting about workarounds. Really appreciate it |
Closing this given that it's a known issue and we have a PR that promises to fix this. |
Description of Issue
TypeError when trying to open a usda file with usdview. anyone with similair issue? i would like to follow the pixar usd tutorials
Steps to Reproduce
ERROR
C:\Projects\USD-release\USD-release\extras\usd\tutorials\helloWorld>usdview HelloWorld.usda
State file not found, a new one will be created.
Traceback (most recent call last):
File "C:\USD\bin\usdview", line 35, in
Usdviewq.Launcher().Run()
File "C:\USD\lib\python\pxr\Usdviewq_init_.py", line 86, in Run
self._LaunchProcess(arg_parse_result)
File "C:\USD\lib\python\pxr\Usdviewq_init.py", line 396, in _LaunchProcess
(app, appController) = self.LaunchPreamble(arg_parse_result)
File "C:\USD\lib\python\pxr\Usdviewq_init.py", line 386, in LaunchPreamble
appController = AppController(arg_parse_result, contextCreator)
File "C:\USD\lib\python\pxr\Usdviewq\appController.py", line 410, in init
self._dataModel = UsdviewDataModel(self._makeTimer, self._configManager.settings)
File "C:\USD\lib\python\pxr\Usdviewq\appController.py", line 128, in init
self._viewSettingsDataModel = ViewSettingsDataModel(self, settings)
File "C:\USD\lib\python\pxr\Usdviewq\viewSettingsDataModel.py", line 136, in init
QtCore.QObject.init(self)
TypeError: init() missing 2 required positional arguments: 'parent' and 'name'
The text was updated successfully, but these errors were encountered: