Hey Guys,
Trying to create a snapshot task, and using the default params getting the following:
Result:
Looks like this is where its failing perhaps?
data['dow'] = [int(day) for day in data.pop('byweekday')]
line: 2045, of forms.py.. Not a python guy so not sure what is causing it.. I tried without sending task_byweekday originally and it gave the same error. Tried sending as an array.. no dice.
FN Version: FreeNAS-11.2-U7
Any advise on where to go from here? I tried searching but came up empty. Thanks!
Trying to create a snapshot task, and using the default params getting the following:
Code:
send("storage/task/", 'post', [ 'task_filesystem' => $fs, 'task_recursive' => true, 'task_ret_unit' => 'week', 'task_enabled' => true, "task_byweekday" => "1,2,3,4,5", 'task_interval' => 60,
Result:
Code:
Server error: `POST http://10.10.0.2/api/v1.0/storage/task/` resulted in a `500 Internal Server Error` response: {"error_message": "invalid literal for int() with base 10: '1,2,3,4,5'", "traceback": "Traceback (most recent call last)
Looks like this is where its failing perhaps?
data['dow'] = [int(day) for day in data.pop('byweekday')]
line: 2045, of forms.py.. Not a python guy so not sure what is causing it.. I tried without sending task_byweekday originally and it gave the same error. Tried sending as an array.. no dice.
FN Version: FreeNAS-11.2-U7
Any advise on where to go from here? I tried searching but came up empty. Thanks!