BackROLL icon indicating copy to clipboard operation
BackROLL copied to clipboard

Error on visualization on backup

Open tanganellilore opened this issue 6 months ago • 3 comments

Hi team,

i notice that after two weeks of used, I receive some error on UI and core api under api/task/backup .

Checking on the log I notice that there are some error on cleanArgs function, due to the fact that object retrieved from flower is not a complete tuple and include some ... at the end of args.

Ref code: https://github.com/DIMSI-IS/BackROLL/blob/d69077d6fbd06f2781efb0c0eaa1983a265ef2df/src/core/app/task_handler.py#L85-L116

As workaround i simpli add a "replace" of ... at line 91 and all works fine.

I think that error is how task is added on celery, because is added as a string and retrieved as string, and string will be cropped (rif: https://stackoverflow.com/questions/53888127/advanced-task-formatting-in-flower-celery-monitoring and https://stackoverflow.com/questions/57973649/flower-doesnt-display-complete-result-string).

tanganellilore avatar Aug 23 '24 06:08 tanganellilore