I’m just setting up Flow in houdini, and I’m getting a really odd issue. Whenever something in Flow tries to log, houdini craps out.
This happens in engine_init or in a workfiles hook.
I’ve not messed with sgtk logger, so it’s a vanilla setup.
Has anyone else had a similar issue?
Here’s a stack
Traceback (most recent call last):
File "/home/user/.shotgun/bundle_cache/app_store/tk-multi-workfiles2/v0.15.5/python/tk_multi_workfiles/actions/new_file_action.py", line 120, in execute
FileAction.change_context(self._environment.context)
File "/home/user/.shotgun/bundle_cache/app_store/tk-multi-workfiles2/v0.15.5/python/tk_multi_workfiles/actions/file_action.py", line 121, in change_context
app.log_info("Changing context from %s to %s" % (app.context, ctx))
File "/home/user/.shotgun/treehousevfx/p254c133.basic.desktop/cfg/install/core/python/tank/platform/application.py", line 257, in log_info
self.logger.info(msg)
File "/opt/hfs20.5.584/python/lib/python3.11/logging/__init__.py", line 1489, in info
self._log(INFO, msg, args, **kwargs)
File "/opt/hfs20.5.584/python/lib/python3.11/logging/__init__.py", line 1634, in _log
self.handle(record)
File "/opt/hfs20.5.584/python/lib/python3.11/logging/__init__.py", line 1644, in handle
self.callHandlers(record)
File "/opt/hfs20.5.584/python/lib/python3.11/logging/__init__.py", line 1706, in callHandlers
hdlr.handle(record)
File "/opt/hfs20.5.584/python/lib/python3.11/logging/__init__.py", line 978, in handle
self.emit(record)
File "/home/user/.shotgun/treehousevfx/p254c133.basic.desktop/cfg/install/core/python/tank/platform/engine_logging.py", line 47, in emit
self._engine._emit_log_message(self, record)
File "/home/user/.shotgun/bundle_cache/app_store/tk-houdini/v1.9.5/engine.py", line 346, in _emit_log_message
print(msg_str)
OSError: [Errno 5] Input/output error
Oddly enough, if I instanciate tk with sgtk.platform.current_engine() and use the logger from the python shell, it doesn’t error.