Headless error reporting on version 1.0.0.0

67 views
Skip to first unread message

Michael Robertson

unread,
Jul 19, 2022, 9:08:35 PM7/19/22
to gaffer-dev
Hey guys,
I run Gaffer headless on our deadline render farm. I was recently working on a tool right as we started to test the new 1.0.0.0 build(linux) and found that when one of our plugins failed on the farm instead of giving a stacktrace, deadline would just return "Error during the execution of the process, return code 245". 
I could find no info about that error and it didn't seem like the intended behavior. I didn't see any notes about error logging changes on the 1.0 release, is there changes to how errors are being reported or is this a bug with the new release?

The error causing it to fail was one of our internal libraries was updated to import GafferUI while headless if that is of any help,  I had to roll back to 0.61.x.x to get the stacktrace to find that.

John Haddon

unread,
Jul 20, 2022, 9:38:30 AM7/20/22
to gaffe...@googlegroups.com
Hi,
That's definitely not something we intended, and as you say, we didn't make an error logging changes for 1.0. We did upgrade Qt though, which might have an impact on failure reporting when loading GafferUI. What error do you get reported out of `0.61`?
Cheers...
John

--
You received this message because you are subscribed to the Google Groups "gaffer-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gaffer-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gaffer-dev/a43e723b-8d80-4520-bd65-69e5ca4a23ecn%40googlegroups.com.

Michael Robertson

unread,
Jul 20, 2022, 6:23:46 PM7/20/22
to gaffer-dev

Hey John,

Thanks for getting back, here is the traceback from 0.61.13.1 that I got, I have removed a few line from the top that are not important and censored some company stuff:

 File "/xxxxxxxxxxxxxxxxxxxxxxxxxxxxx/Render.py", line 6, in <module>
    import GafferUI
File "/xxxxxx/gaffer/0.61.13.1/linux/python/GafferUI/__init__.py", line 129, in <module>
    from .Enums import *
File "/xxxxxx/gaffer/0.61.13.1/linux/python/GafferUI/Enums.py", line 40, in <module>
    from Qt import QtCore
File "/xxxxxx/gaffer/0.61.13.1/linux/python/Qt.py", line 1905, in <module>
    _install()
File "/xxxxxx/gaffer/0.61.13.1/linux/python/Qt.py", line 1853, in _install
    raise ImportError("No Qt binding were found.")
ImportError: No Qt binding were found.

John Haddon

unread,
Jul 25, 2022, 5:41:35 AM7/25/22
to gaffe...@googlegroups.com
I think I've seen similar here when I've been developing and have had undefined symbols - ImportError has not been reported properly but instead Python has crashed. I haven't been able to determine if this is a Python problem or a Gaffer one. Are you using the Python 2 builds or 3?

Michael Robertson

unread,
Jul 27, 2022, 5:27:02 PM7/27/22
to gaffer-dev

We are using the the python 2.7 build of gaffer right now for both the 1.0.0.0 and the 0.63.13.1 versions. 
Reply all
Reply to author
Forward
0 new messages