Closed KelSolaar closed 1 year ago
Thanks @KelSolaar ! I'm curious, what is sys.__stdin__
set to? It's clearly set to something from what I see right? Else that block woudn't be exeuted because the if statement checks if sys.__stdin__ is not None
... Generally speaking, I think __stdin__
is expected to be a file like object, so maybe the issue could also be reported to Unreal devs? I think we have some Unreal devs in ASWF...
Yeah it is set to None
, I can ask on UDN too.
Epic has patched Switchboard Listener: https://github.com/EpicGames/UnrealEngine/commit/8705ef5a4a889f4b3c7c02016bb0e5a1af932c4a
Let's close this one!
Thanks for the update! I'm happy they fixed their stuff.
Hello,
I'm trying to start some of our processes via
rez
using Epic Games' Switchboard Listener and there is notfileno
defined in that context so I'm getting an exception:https://github.com/AcademySoftwareFoundation/rez/blob/89686626c37e68391c61a5e7a55c9490984f933b/src/rez/utils/execution.py#L67
If fixed it on my end by adding yet another
try...except AttributeError
around the second call tosys.__stdin__
:Cheers,
Thomas