I’m unable to modify limits from Monitor on following configuration:
Repository: Fresh install of 10.3.0.10
Monitor: 10.3.0.10 automatically upgraded from 10.2.1.1
I can create new limits just fine but hitting “Modify Limit Properties…” on the just created limit prints to console with nothing else happening:
2023-09-21 15:28:55: Traceback (most recent call last):
2023-09-21 15:28:55: File "C:\thinkbox-conda\conda-bld\deadline_1692834694173\work\DeadlineProject\DeadlineUI\Commands\LimitGroupCommands.py", line 266, in InnerExecute
2023-09-21 15:28:55: File "C:\thinkbox-conda\conda-bld\deadline_1692834694173\work\DeadlineProject\DeadlineUI\Forms\LimitDialog.py", line 786, in __init__
2023-09-21 15:28:55: File "C:\thinkbox-conda\conda-bld\deadline_1692834694173\work\DeadlineProject\DeadlineUI\Forms\LimitDialog.py", line 151, in __init__
2023-09-21 15:28:55: File "C:\thinkbox-conda\conda-bld\deadline_1692834694173\work\DeadlineProject\DeadlineUI\Forms\LimitDialog.py", line 955, in fillInValues
2023-09-21 15:28:55: TypeError: setChecked(self, bool): argument 1 has unexpected type 'float'
Is there any know way to solve this and is it possibly related to the upgrading process?
hiya! just to confirm another data point on this one. We have 4 sites globally and 3/4 have this issue. the only one that doesn’t is the one we haven’t upgraded yet. that one is still on 10.2
@zainali is it possible to replace that file on the client machine with a known good one from the repo, so that a few of us can configure these limits again?
I’m not spotting a dev issue to fix this one but it definitely came in with Deadline 10.3.0.9¶ when we upgraded to a stricter version of Python (we’re on 3.10 now).
We have an internal ticket to deal with this issue. I cannot share an ETA on when it will be fixed.
What are you changing in the resource limit?
You can modify the existing limit using deadlinecommand as a workaround.
Here is detail
SetLimitGroup <Limit Name> <Limit> <Listed Workers> <Allow List Flag> [<Limit Progress> <Excluded Workers>]
Modifies or creates the limit.
Limit Name The limit name
Limit The new limit - Limit count/ Resource count
Listed Workers The listed Workers
Allow List Flag true/false
Limit Progress Optional. The limit progress. Value between 0.0
and 100.0, or -1.0 to disable. (Default to -1)
Excluded Workers Optional. The excluded Workers.