Please or Register to create posts and topics.

Prism keep corrupting Prism's settings when opening multiple houdini session at the same time (deadline)

I have a bug where if I use Houdini while deadline is rendering concurrent houdini task, prism simply corrupt the settings, the next frame rendered by deadline crash because Prism attempt to load Qt to ask for the user to input the Current project and his username, I have to shutdown all job and open houdini manualmy to fill in the Prism project again so deadline can continue rendering.

 

would it be possible to make the settings configuration more robust ? in this case simply checking that Qt is present or not wouldn't be sufficient as Prism import lot of HDA needed by my scene, the project must be set for that.

thanks you

 

Error

=======================================================

Error: 'module' object has no attribute 'qt'

at Deadline.Plugins.PluginWrapper.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel)

 

2020-01-26 22:58:09: 1: STDOUT: 26/01/20 22:58:09 ERROR - Prism_Plugin_Houdini - Core: v1.2.1.52 - Plugin: v1.2.1.23:

2020-01-26 22:58:09: 1: STDOUT: File "<string>", line 8, in <module>

2020-01-26 22:58:09: 1: STDOUT: File "C:/PROGRA~1/SideFX/HOUDIN~1.348/houdini/python2.7libs\hou.py", line 77908, in <module>

2020-01-26 22:58:09: 1: STDOUT: __createHoudiniInternals()

2020-01-26 22:58:09: 1: STDOUT: File "C:/Prism/Plugins/Apps/Houdini/Integration/python2.7libs/pythonrc.py", line 5, in <module>

2020-01-26 22:58:09: 1: STDOUT: PrismInit.createPrismCore()

2020-01-26 22:58:09: 1: STDOUT: File "C:/Prism/Plugins/Apps/Houdini/Integration/python2.7libs\PrismInit.py", line 39, in createPrismCore

2020-01-26 22:58:09: 1: STDOUT: pcore = prismInit()

2020-01-26 22:58:09: 1: STDOUT: File "C:/Prism/Plugins/Apps/Houdini/Integration/python2.7libs\PrismInit.py", line 28, in prismInit

2020-01-26 22:58:09: 1: STDOUT: pcore = PrismCore.PrismCore(app="Houdini", prismArgs=prismArgs)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 250, in __init__

2020-01-26 22:58:09: 1: STDOUT: self.updatePlugins(app)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 270, in func_wrapper

2020-01-26 22:58:09: 1: STDOUT: return func(*args, **kwargs)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 409, in updatePlugins

2020-01-26 22:58:09: 1: STDOUT: result = self.startup()

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 270, in func_wrapper

2020-01-26 22:58:09: 1: STDOUT: return func(*args, **kwargs)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 650, in startup

2020-01-26 22:58:09: 1: STDOUT: self.setProject(startup=True, openUi="projectBrowser")

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 270, in func_wrapper

2020-01-26 22:58:09: 1: STDOUT: return func(*args, **kwargs)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 2033, in setProject

2020-01-26 22:58:09: 1: STDOUT: self.sp = SetProject.SetProject(core=self, openUi=openUi)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\SetProject.py", line 70, in __init__

2020-01-26 22:58:09: 1: STDOUT: self.projectsUi.setup(self.core, self, openUi)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\SetProject.py", line 89, in setup

2020-01-26 22:58:09: 1: STDOUT: self.core.appPlugin.setProject_loading(self)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Plugins\Apps\Houdini\Scripts\Prism_Houdini_Functions.py", line 71, in func_wrapper

2020-01-26 22:58:09: 1: STDOUT: "".join(traceback.format_stack()),

2020-01-26 22:58:09: 1: STDOUT: Traceback (most recent call last):

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Plugins\Apps\Houdini\Scripts\Prism_Houdini_Functions.py", line 62, in func_wrapper

2020-01-26 22:58:09: 1: STDOUT: return func(*args, **kwargs)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Plugins\Apps\Houdini\Scripts\Prism_Houdini_Functions.py", line 378, in setProject_loading

2020-01-26 22:58:09: 1: STDOUT: hou.qt.styleSheet().replace("QLabel", "QScrollArea")

2020-01-26 22:58:09: 1: STDOUT: AttributeError: 'module' object has no attribute 'qt'

2020-01-26 22:58:09: 1: STDOUT: 26/01/20 22:58:09 ERROR - PrismCore v1.2.1.52:

2020-01-26 22:58:09: 1: STDOUT: File "<string>", line 8, in <module>

2020-01-26 22:58:09: 1: STDOUT: File "C:/PROGRA~1/SideFX/HOUDIN~1.348/houdini/python2.7libs\hou.py", line 77908, in <module>

2020-01-26 22:58:09: 1: STDOUT: __createHoudiniInternals()

2020-01-26 22:58:09: 1: STDOUT: File "C:/Prism/Plugins/Apps/Houdini/Integration/python2.7libs/pythonrc.py", line 5, in <module>

2020-01-26 22:58:09: 1: STDOUT: PrismInit.createPrismCore()

2020-01-26 22:58:09: 1: STDOUT: File "C:/Prism/Plugins/Apps/Houdini/Integration/python2.7libs\PrismInit.py", line 39, in createPrismCore

2020-01-26 22:58:09: 1: STDOUT: pcore = prismInit()

2020-01-26 22:58:09: 1: STDOUT: File "C:/Prism/Plugins/Apps/Houdini/Integration/python2.7libs\PrismInit.py", line 28, in prismInit

2020-01-26 22:58:09: 1: STDOUT: pcore = PrismCore.PrismCore(app="Houdini", prismArgs=prismArgs)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 250, in __init__

2020-01-26 22:58:09: 1: STDOUT: self.updatePlugins(app)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 270, in func_wrapper

2020-01-26 22:58:09: 1: STDOUT: return func(*args, **kwargs)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 409, in updatePlugins

2020-01-26 22:58:09: 1: STDOUT: result = self.startup()

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 270, in func_wrapper

2020-01-26 22:58:09: 1: STDOUT: return func(*args, **kwargs)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 650, in startup

2020-01-26 22:58:09: 1: STDOUT: self.setProject(startup=True, openUi="projectBrowser")

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 276, in func_wrapper

2020-01-26 22:58:09: 1: STDOUT: "".join(traceback.format_stack()),

2020-01-26 22:58:09: 1: STDOUT: Traceback (most recent call last):

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 270, in func_wrapper

2020-01-26 22:58:09: 1: STDOUT: return func(*args, **kwargs)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 2033, in setProject

2020-01-26 22:58:09: 1: STDOUT: self.sp = SetProject.SetProject(core=self, openUi=openUi)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\SetProject.py", line 70, in __init__

2020-01-26 22:58:09: 1: STDOUT: self.projectsUi.setup(self.core, self, openUi)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\SetProject.py", line 89, in setup

2020-01-26 22:58:09: 1: STDOUT: self.core.appPlugin.setProject_loading(self)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Plugins\Apps\Houdini\Scripts\Prism_Houdini_Functions.py", line 75, in func_wrapper

2020-01-26 22:58:09: 1: STDOUT: args[0].core.writeErrorLog(erStr)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 4549, in writeErrorLog

2020-01-26 22:58:09: 1: STDOUT: raise RuntimeError(text)

2020-01-26 22:58:09: 1: STDOUT: RuntimeError: 26/01/20 22:58:09 ERROR - Prism_Plugin_Houdini - Core: v1.2.1.52 - Plugin: v1.2.1.23:

2020-01-26 22:58:09: 1: STDOUT: File "<string>", line 8, in <module>

2020-01-26 22:58:09: 1: STDOUT: File "C:/PROGRA~1/SideFX/HOUDIN~1.348/houdini/python2.7libs\hou.py", line 77908, in <module>

2020-01-26 22:58:09: 1: STDOUT: __createHoudiniInternals()

2020-01-26 22:58:09: 1: STDOUT: File "C:/Prism/Plugins/Apps/Houdini/Integration/python2.7libs/pythonrc.py", line 5, in <module>

2020-01-26 22:58:09: 1: STDOUT: PrismInit.createPrismCore()

2020-01-26 22:58:09: 1: STDOUT: File "C:/Prism/Plugins/Apps/Houdini/Integration/python2.7libs\PrismInit.py", line 39, in createPrismCore

2020-01-26 22:58:09: 1: STDOUT: pcore = prismInit()

2020-01-26 22:58:09: 1: STDOUT: File "C:/Prism/Plugins/Apps/Houdini/Integration/python2.7libs\PrismInit.py", line 28, in prismInit

2020-01-26 22:58:09: 1: STDOUT: pcore = PrismCore.PrismCore(app="Houdini", prismArgs=prismArgs)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 250, in __init__

2020-01-26 22:58:09: 1: STDOUT: self.updatePlugins(app)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 270, in func_wrapper

2020-01-26 22:58:09: 1: STDOUT: return func(*args, **kwargs)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 409, in updatePlugins

2020-01-26 22:58:09: 1: STDOUT: result = self.startup()

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 270, in func_wrapper

2020-01-26 22:58:09: 1: STDOUT: return func(*args, **kwargs)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 650, in startup

2020-01-26 22:58:09: 1: STDOUT: self.setProject(startup=True, openUi="projectBrowser")

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 270, in func_wrapper

2020-01-26 22:58:09: 1: STDOUT: return func(*args, **kwargs)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 2033, in setProject

2020-01-26 22:58:09: 1: STDOUT: self.sp = SetProject.SetProject(core=self, openUi=openUi)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\SetProject.py", line 70, in __init__

2020-01-26 22:58:09: 1: STDOUT: self.projectsUi.setup(self.core, self, openUi)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\SetProject.py", line 89, in setup

2020-01-26 22:58:09: 1: STDOUT: self.core.appPlugin.setProject_loading(self)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Plugins\Apps\Houdini\Scripts\Prism_Houdini_Functions.py", line 71, in func_wrapper

2020-01-26 22:58:09: 1: STDOUT: "".join(traceback.format_stack()),

2020-01-26 22:58:09: 1: STDOUT: Traceback (most recent call last):

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Plugins\Apps\Houdini\Scripts\Prism_Houdini_Functions.py", line 62, in func_wrapper

2020-01-26 22:58:09: 1: STDOUT: return func(*args, **kwargs)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Plugins\Apps\Houdini\Scripts\Prism_Houdini_Functions.py", line 378, in setProject_loading

2020-01-26 22:58:09: 1: STDOUT: hou.qt.styleSheet().replace("QLabel", "QScrollArea")

2020-01-26 22:58:09: 1: STDOUT: AttributeError: 'module' object has no attribute 'qt'

2020-01-26 22:58:09: 1: STDOUT: 26/01/20 22:58:09 ERROR - PrismCore v1.2.1.52:

2020-01-26 22:58:09: 1: STDOUT: File "<string>", line 8, in <module>

2020-01-26 22:58:09: 1: STDOUT: File "C:/PROGRA~1/SideFX/HOUDIN~1.348/houdini/python2.7libs\hou.py", line 77908, in <module>

2020-01-26 22:58:09: 1: STDOUT: __createHoudiniInternals()

2020-01-26 22:58:09: 1: STDOUT: File "C:/Prism/Plugins/Apps/Houdini/Integration/python2.7libs/pythonrc.py", line 5, in <module>

2020-01-26 22:58:09: 1: STDOUT: PrismInit.createPrismCore()

2020-01-26 22:58:09: 1: STDOUT: File "C:/Prism/Plugins/Apps/Houdini/Integration/python2.7libs\PrismInit.py", line 39, in createPrismCore

2020-01-26 22:58:09: 1: STDOUT: pcore = prismInit()

2020-01-26 22:58:09: 1: STDOUT: File "C:/Prism/Plugins/Apps/Houdini/Integration/python2.7libs\PrismInit.py", line 28, in prismInit

2020-01-26 22:58:09: 1: STDOUT: pcore = PrismCore.PrismCore(app="Houdini", prismArgs=prismArgs)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 250, in __init__

2020-01-26 22:58:09: 1: STDOUT: self.updatePlugins(app)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 270, in func_wrapper

2020-01-26 22:58:09: 1: STDOUT: return func(*args, **kwargs)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 409, in updatePlugins

2020-01-26 22:58:09: 1: STDOUT: result = self.startup()

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 276, in func_wrapper

2020-01-26 22:58:09: 1: STDOUT: "".join(traceback.format_stack()),

2020-01-26 22:58:09: 1: STDOUT: Traceback (most recent call last):

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 270, in func_wrapper

2020-01-26 22:58:09: 1: STDOUT: return func(*args, **kwargs)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 650, in startup

2020-01-26 22:58:09: 1: STDOUT: self.setProject(startup=True, openUi="projectBrowser")

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 279, in func_wrapper

2020-01-26 22:58:09: 1: STDOUT: args[0].writeErrorLog(erStr)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 4549, in writeErrorLog

2020-01-26 22:58:09: 1: STDOUT: raise RuntimeError(text)

2020-01-26 22:58:09: 1: STDOUT: RuntimeError: 26/01/20 22:58:09 ERROR - PrismCore v1.2.1.52:

2020-01-26 22:58:09: 1: STDOUT: File "<string>", line 8, in <module>

2020-01-26 22:58:09: 1: STDOUT: File "C:/PROGRA~1/SideFX/HOUDIN~1.348/houdini/python2.7libs\hou.py", line 77908, in <module>

2020-01-26 22:58:09: 1: STDOUT: __createHoudiniInternals()

2020-01-26 22:58:09: 1: STDOUT: File "C:/Prism/Plugins/Apps/Houdini/Integration/python2.7libs/pythonrc.py", line 5, in <module>

2020-01-26 22:58:09: 1: STDOUT: PrismInit.createPrismCore()

2020-01-26 22:58:09: 1: STDOUT: File "C:/Prism/Plugins/Apps/Houdini/Integration/python2.7libs\PrismInit.py", line 39, in createPrismCore

2020-01-26 22:58:09: 1: STDOUT: pcore = prismInit()

2020-01-26 22:58:09: 1: STDOUT: File "C:/Prism/Plugins/Apps/Houdini/Integration/python2.7libs\PrismInit.py", line 28, in prismInit

2020-01-26 22:58:09: 1: STDOUT: pcore = PrismCore.PrismCore(app="Houdini", prismArgs=prismArgs)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 250, in __init__

2020-01-26 22:58:09: 1: STDOUT: self.updatePlugins(app)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 270, in func_wrapper

2020-01-26 22:58:09: 1: STDOUT: return func(*args, **kwargs)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 409, in updatePlugins

2020-01-26 22:58:09: 1: STDOUT: result = self.startup()

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 270, in func_wrapper

2020-01-26 22:58:09: 1: STDOUT: return func(*args, **kwargs)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 650, in startup

2020-01-26 22:58:09: 1: STDOUT: self.setProject(startup=True, openUi="projectBrowser")

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 276, in func_wrapper

2020-01-26 22:58:09: 1: STDOUT: "".join(traceback.format_stack()),

2020-01-26 22:58:09: 1: STDOUT: Traceback (most recent call last):

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 270, in func_wrapper

2020-01-26 22:58:09: 1: STDOUT: return func(*args, **kwargs)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 2033, in setProject

2020-01-26 22:58:09: 1: STDOUT: self.sp = SetProject.SetProject(core=self, openUi=openUi)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\SetProject.py", line 70, in __init__

2020-01-26 22:58:09: 1: STDOUT: self.projectsUi.setup(self.core, self, openUi)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\SetProject.py", line 89, in setup

2020-01-26 22:58:09: 1: STDOUT: self.core.appPlugin.setProject_loading(self)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Plugins\Apps\Houdini\Scripts\Prism_Houdini_Functions.py", line 75, in func_wrapper

2020-01-26 22:58:09: 1: STDOUT: args[0].core.writeErrorLog(erStr)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 4549, in writeErrorLog

2020-01-26 22:58:09: 1: STDOUT: raise RuntimeError(text)

2020-01-26 22:58:09: 1: STDOUT: RuntimeError: 26/01/20 22:58:09 ERROR - Prism_Plugin_Houdini - Core: v1.2.1.52 - Plugin: v1.2.1.23:

2020-01-26 22:58:09: 1: STDOUT: File "<string>", line 8, in <module>

2020-01-26 22:58:09: 1: STDOUT: File "C:/PROGRA~1/SideFX/HOUDIN~1.348/houdini/python2.7libs\hou.py", line 77908, in <module>

2020-01-26 22:58:09: 1: STDOUT: __createHoudiniInternals()

2020-01-26 22:58:09: 1: STDOUT: File "C:/Prism/Plugins/Apps/Houdini/Integration/python2.7libs/pythonrc.py", line 5, in <module>

2020-01-26 22:58:09: 1: STDOUT: PrismInit.createPrismCore()

2020-01-26 22:58:09: 1: STDOUT: File "C:/Prism/Plugins/Apps/Houdini/Integration/python2.7libs\PrismInit.py", line 39, in createPrismCore

2020-01-26 22:58:09: 1: STDOUT: pcore = prismInit()

2020-01-26 22:58:09: 1: STDOUT: File "C:/Prism/Plugins/Apps/Houdini/Integration/python2.7libs\PrismInit.py", line 28, in prismInit

2020-01-26 22:58:09: 1: STDOUT: pcore = PrismCore.PrismCore(app="Houdini", prismArgs=prismArgs)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 250, in __init__

2020-01-26 22:58:09: 1: STDOUT: self.updatePlugins(app)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 270, in func_wrapper

2020-01-26 22:58:09: 1: STDOUT: return func(*args, **kwargs)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 409, in updatePlugins

2020-01-26 22:58:09: 1: STDOUT: result = self.startup()

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 270, in func_wrapper

2020-01-26 22:58:09: 1: STDOUT: return func(*args, **kwargs)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 650, in startup

2020-01-26 22:58:09: 1: STDOUT: self.setProject(startup=True, openUi="projectBrowser")

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 270, in func_wrapper

2020-01-26 22:58:09: 1: STDOUT: return func(*args, **kwargs)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 2033, in setProject

2020-01-26 22:58:09: 1: STDOUT: self.sp = SetProject.SetProject(core=self, openUi=openUi)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\SetProject.py", line 70, in __init__

2020-01-26 22:58:09: 1: STDOUT: self.projectsUi.setup(self.core, self, openUi)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Scripts\SetProject.py", line 89, in setup

2020-01-26 22:58:09: 1: STDOUT: self.core.appPlugin.setProject_loading(self)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Plugins\Apps\Houdini\Scripts\Prism_Houdini_Functions.py", line 71, in func_wrapper

2020-01-26 22:58:09: 1: STDOUT: "".join(traceback.format_stack()),

2020-01-26 22:58:09: 1: STDOUT: Traceback (most recent call last):

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Plugins\Apps\Houdini\Scripts\Prism_Houdini_Functions.py", line 62, in func_wrapper

2020-01-26 22:58:09: 1: STDOUT: return func(*args, **kwargs)

2020-01-26 22:58:09: 1: STDOUT: File "C:\Prism\Plugins\Apps\Houdini\Scripts\Prism_Houdini_Functions.py", line 378, in setProject_loading

2020-01-26 22:58:09: 1: STDOUT: hou.qt.styleSheet().replace("QLabel", "QScrollArea")

2020-01-26 22:58:09: 1: STDOUT: AttributeError: 'module' object has no attribute 'qt'

2020-01-26 22:58:09: 1: STDOUT: 26/01/20 22:58:09 ERROR - PrismCore v1.2.1.52:

2020-01-26 22:58:09: 1: STDOUT: File "<string>", line 8, in <module>

2020-01-26 22:58:10: 1: STDOUT: File "C:/PROGRA~1/SideFX/HOUDIN~1.348/houdini/python2.7libs\hou.py", line 77908, in <module>

2020-01-26 22:58:10: 1: STDOUT: __createHoudiniInternals()

2020-01-26 22:58:10: 1: STDOUT: File "C:/Prism/Plugins/Apps/Houdini/Integration/python2.7libs/pythonrc.py", line 5, in <module>

2020-01-26 22:58:10: 1: STDOUT: PrismInit.createPrismCore()

2020-01-26 22:58:10: 1: STDOUT: File "C:/Prism/Plugins/Apps/Houdini/Integration/python2.7libs\PrismInit.py", line 39, in createPrismCore

2020-01-26 22:58:10: 1: STDOUT: pcore = prismInit()

2020-01-26 22:58:10: 1: STDOUT: File "C:/Prism/Plugins/Apps/Houdini/Integration/python2.7libs\PrismInit.py", line 28, in prismInit

2020-01-26 22:58:10: 1: STDOUT: pcore = PrismCore.PrismCore(app="Houdini", prismArgs=prismArgs)

2020-01-26 22:58:10: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 250, in __init__

2020-01-26 22:58:10: 1: STDOUT: self.updatePlugins(app)

2020-01-26 22:58:10: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 276, in func_wrapper

2020-01-26 22:58:10: 1: STDOUT: "".join(traceback.format_stack()),

2020-01-26 22:58:10: 1: STDOUT: Traceback (most recent call last):

2020-01-26 22:58:10: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 270, in func_wrapper

2020-01-26 22:58:10: 1: STDOUT: return func(*args, **kwargs)

2020-01-26 22:58:10: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 409, in updatePlugins

2020-01-26 22:58:10: 1: STDOUT: result = self.startup()

2020-01-26 22:58:10: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 279, in func_wrapper

2020-01-26 22:58:10: 1: STDOUT: args[0].writeErrorLog(erStr)

2020-01-26 22:58:10: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 4549, in writeErrorLog

2020-01-26 22:58:10: 1: STDOUT: raise RuntimeError(text)

2020-01-26 22:58:10: 1: STDOUT: RuntimeError: 26/01/20 22:58:09 ERROR - PrismCore v1.2.1.52:

2020-01-26 22:58:10: 1: STDOUT: File "<string>", line 8, in <module>

2020-01-26 22:58:10: 1: STDOUT: File "C:/PROGRA~1/SideFX/HOUDIN~1.348/houdini/python2.7libs\hou.py", line 77908, in <module>

2020-01-26 22:58:10: 1: STDOUT: __createHoudiniInternals()

2020-01-26 22:58:10: 1: STDOUT: File "C:/Prism/Plugins/Apps/Houdini/Integration/python2.7libs/pythonrc.py", line 5, in <module>

2020-01-26 22:58:10: 1: STDOUT: PrismInit.createPrismCore()

2020-01-26 22:58:10: 1: STDOUT: File "C:/Prism/Plugins/Apps/Houdini/Integration/python2.7libs\PrismInit.py", line 39, in createPrismCore

2020-01-26 22:58:10: 1: STDOUT: pcore = prismInit()

2020-01-26 22:58:10: 1: STDOUT: File "C:/Prism/Plugins/Apps/Houdini/Integration/python2.7libs\PrismInit.py", line 28, in prismInit

2020-01-26 22:58:10: 1: STDOUT: pcore = PrismCore.PrismCore(app="Houdini", prismArgs=prismArgs)

2020-01-26 22:58:10: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 250, in __init__

2020-01-26 22:58:10: 1: STDOUT: self.updatePlugins(app)

2020-01-26 22:58:10: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 270, in func_wrapper

2020-01-26 22:58:10: 1: STDOUT: return func(*args, **kwargs)

2020-01-26 22:58:10: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 409, in updatePlugins

2020-01-26 22:58:10: 1: STDOUT: result = self.startup()

2020-01-26 22:58:10: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 276, in func_wrapper

2020-01-26 22:58:10: 1: STDOUT: "".join(traceback.format_stack()),

2020-01-26 22:58:10: 1: STDOUT: Traceback (most recent call last):

2020-01-26 22:58:10: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 270, in func_wrapper

2020-01-26 22:58:10: 1: STDOUT: return func(*args, **kwargs)

2020-01-26 22:58:10: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 650, in startup

2020-01-26 22:58:10: 1: STDOUT: self.setProject(startup=True, openUi="projectBrowser")

2020-01-26 22:58:10: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 279, in func_wrapper

2020-01-26 22:58:10: 1: STDOUT: args[0].writeErrorLog(erStr)

2020-01-26 22:58:10: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 4549, in writeErrorLog

2020-01-26 22:58:10: 1: STDOUT: raise RuntimeError(text)

2020-01-26 22:58:10: 1: STDOUT: RuntimeError: 26/01/20 22:58:09 ERROR - PrismCore v1.2.1.52:

2020-01-26 22:58:10: 1: STDOUT: File "<string>", line 8, in <module>

2020-01-26 22:58:10: 1: STDOUT: File "C:/PROGRA~1/SideFX/HOUDIN~1.348/houdini/python2.7libs\hou.py", line 77908, in <module>

2020-01-26 22:58:10: 1: STDOUT: __createHoudiniInternals()

2020-01-26 22:58:10: 1: STDOUT: File "C:/Prism/Plugins/Apps/Houdini/Integration/python2.7libs/pythonrc.py", line 5, in <module>

2020-01-26 22:58:10: 1: STDOUT: PrismInit.createPrismCore()

2020-01-26 22:58:10: 1: STDOUT: File "C:/Prism/Plugins/Apps/Houdini/Integration/python2.7libs\PrismInit.py", line 39, in createPrismCore

2020-01-26 22:58:10: 1: STDOUT: pcore = prismInit()

2020-01-26 22:58:10: 1: STDOUT: File "C:/Prism/Plugins/Apps/Houdini/Integration/python2.7libs\PrismInit.py", line 28, in prismInit

2020-01-26 22:58:10: 1: STDOUT: pcore = PrismCore.PrismCore(app="Houdini", prismArgs=prismArgs)

2020-01-26 22:58:10: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 250, in __init__

2020-01-26 22:58:10: 1: STDOUT: self.updatePlugins(app)

2020-01-26 22:58:10: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 270, in func_wrapper

2020-01-26 22:58:10: 1: STDOUT: return func(*args, **kwargs)

2020-01-26 22:58:10: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 409, in updatePlugins

2020-01-26 22:58:10: 1: STDOUT: result = self.startup()

2020-01-26 22:58:10: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 270, in func_wrapper

2020-01-26 22:58:10: 1: STDOUT: return func(*args, **kwargs)

2020-01-26 22:58:10: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 650, in startup

2020-01-26 22:58:10: 1: STDOUT: self.setProject(startup=True, openUi="projectBrowser")

2020-01-26 22:58:10: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 276, in func_wrapper

2020-01-26 22:58:10: 1: STDOUT: "".join(traceback.format_stack()),

2020-01-26 22:58:10: 1: STDOUT: Traceback (most recent call last):

2020-01-26 22:58:10: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 270, in func_wrapper

2020-01-26 22:58:10: 1: STDOUT: return func(*args, **kwargs)

2020-01-26 22:58:10: 1: STDOUT: File "C:\Prism\Scripts\PrismCore.py", line 2033, in setProject

2020-01-26 22:58:10: 1: STDOUT: self.sp = SetProject.SetProject(core=self, openUi=openUi)

This specific error is fixed in recent Prism versions, by checking if QT is available. The problem, that the configs can get corrupted when multiple processes try to write to the same file at the same time, is still there. I haven't found a save way to prevent that yet.

There would be some ways to work around that problem. For example in the Deadline job properties a Prism project could be defined, which will be forced when rendering the job. So even if the config would get corrupted, Prism would open the correct project. Or I could split the settings in the config across multiple files to reduce the risk that to many processes are accessing the same file simultaneously.

you could probably work this issue by creating a .lock file when prism try to write settings, any other prism that also try to write will have to wait for the .lock file to disappear before doing their job

That's a great idea. I didn't think about that.

I just implemented it to see if that works. I think it became a bit better, but unfortunately I still can reproduce the corruption of the config. I found the function that caused this (at least in my case), but the only way I found to prevent it is to add a small delay/sleep after writing to the config, which isn't an ideal solution.

I'll refactor the config management soon and move everything over to yaml configs. Maybe that will help with that issue.

have you considering write config to file only when the app shutdown ? maya work this way.

or separate the static configuration from the dynamic one into 2 different file, I assume you update config for the recent file only ? if so, maybe also give the option to completely disable recent file ? I personally never make use of it.

I don't think that writing to the config only during app shutdown would give the expected behavior. Imagine someone opens Maya and creates a new project and then opens Houdini before closing Maya. He would expect that Houdini launches with the same project as the one which was set in Maya.

I'm making good progress with refactoring parts of Prism. That reduced the config read/write access already a lot. Now I'm testing yaml configs and so far it looks like configs don't get corrupted anymore. The only problem right now is that sometimes the yaml reader can't read the config when to many Prism processes are reading at the same time. I'll investigate that a bit more, but splitting it into multiple configs would be the next step if necessary.