I am trying to create a machine-based license limit in Deadline but I get this error message:
2024-08-12 13:56:38: Traceback (most recent call last):
2024-08-12 13:56:38: File “C:\thinkbox-conda\conda-bld\deadline_1710521802267\work\DeadlineProject\DeadlineUI\Commands\LimitGroupCommands.py”, line 98, in InnerExecute
2024-08-12 13:56:38: TypeError: since Python.NET 3.0 int can not be converted to Enum implicitly. Use Enum(int_value)
This only occurs when I select Usage Level: Machine or Usage Level: Task, and it occurs for both license and resource limits. I am able to create worker-based limits, however.
as this wasn’t fixed in 10.3 (10.4 is fine) is there any other way how to setup machine limit using python api, deadlinecommand or webservice? Or other workaround/hack?
Open the file you just created and look at the existing entries for clues on how to format a new entry for the limit you wish to create. Once you have added your new limit, save the file.