CONVERTER GRAPHICS BACKEND ARGUMENTS changed, crashing

Increased the pillow_max_image_pixels parameter in CONVERTER_GRAPHICS_BACKEND_ARGUMENTS, saved, restart the container(s) and now the mayan app container keeps crashing and rebooting. Below is the log:

{“log”:“Traceback (most recent call last):\n”,“stream”:“stderr”,“time”:“2024-03-27T10:40:26.185751111Z”}
{“log”:" File "/opt/mayan-edms/bin/mayan-edms.py", line 22, in \u003cmodule\u003e\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.185754652Z”}
{“log”:" main()\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.18575581Z”}
{“log”:" File "/opt/mayan-edms/bin/mayan-edms.py", line 18, in main\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.185756748Z”}
{“log”:" execute_from_command_line(sys.argv)\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.185757235Z”}
{“log”:" File "/opt/mayan-edms/lib/python3.11/site-packages/django/core/management/init.py", line 442, in execute_from_command_line\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.186113788Z”}
{“log”:" utility.execute()\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.186255404Z”}
{“log”:" File "/opt/mayan-edms/lib/python3.11/site-packages/django/core/management/init.py", line 416, in execute\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.186256892Z”}
{“log”:" django.setup()\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.186474827Z”}
{“log”:" File "/opt/mayan-edms/lib/python3.11/site-packages/django/init.py", line 24, in setup\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.186478007Z”}
{“log”:" apps.populate(settings.INSTALLED_APPS)\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.186605336Z”}
{“log”:" File "/opt/mayan-edms/lib/python3.11/site-packages/django/apps/registry.py", line 91, in populate\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.186607475Z”}
{“log”:" app_config = AppConfig.create(entry)\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.186807262Z”}
{“log”:" ^^^^^^^^^^^^^^^^^^^^^^^\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.186859823Z”}
{“log”:" File "/opt/mayan-edms/lib/python3.11/site-packages/django/apps/config.py", line 178, in create\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.186862433Z”}
{“log”:" mod = import_module(mod_path)\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.187121766Z”}
{“log”:" ^^^^^^^^^^^^^^^^^^^^^^^\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.187123248Z”}
{“log”:" File "/usr/lib/python3.11/importlib/init.py", line 126, in import_module\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.187124145Z”}
{“log”:" return _bootstrap._gcd_import(name[level:], package, level)\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.187408541Z”}
{“log”:" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.18752228Z”}
{“log”:" File "\u003cfrozen importlib._bootstrap\u003e", line 1206, in _gcd_import\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.187523325Z”}
{“log”:" File "\u003cfrozen importlib._bootstrap\u003e", line 1178, in _find_and_load\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.187524369Z”}
{“log”:" File "\u003cfrozen importlib._bootstrap\u003e", line 1149, in _find_and_load_unlocked\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.1875251Z”}
{“log”:" File "\u003cfrozen importlib._bootstrap\u003e", line 690, in _load_unlocked\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.187525985Z”}
{“log”:" File "\u003cfrozen importlib._bootstrap_external\u003e", line 940, in exec_module\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.187585334Z”}
{“log”:" File "\u003cfrozen importlib._bootstrap\u003e", line 241, in _call_with_frames_removed\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.187587817Z”}
{“log”:" File "/opt/mayan-edms/lib/python3.11/site-packages/mayan/apps/converter/apps.py", line 17, in \u003cmodule\u003e\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.187588698Z”}
{“log”:" from .links import (\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.187859965Z”}
{“log”:" File "/opt/mayan-edms/lib/python3.11/site-packages/mayan/apps/converter/links.py", line 6, in \u003cmodule\u003e\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.187861433Z”}
{“log”:" from .classes import LayerLink\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.187862057Z”}
{“log”:" File "/opt/mayan-edms/lib/python3.11/site-packages/mayan/apps/converter/classes.py", line 43, in \u003cmodule\u003e\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.187862544Z”}
{“log”:" libreoffice_path = setting_graphics_backend_arguments.value.get(\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.188085154Z”}
{“log”:" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",“stream”:“stderr”,“time”:“2024-03-27T10:40:26.188173985Z”}
{“log”:“AttributeError: ‘str’ object has no attribute ‘get’\n”,“stream”:“stderr”,“time”:“2024-03-27T10:40:26.188346647Z”}

Tried clearing the CONVERTER_GRAPHICS_BACKEND_ARGUMENTS in the compose .env file, but no difference.

Looks like a bug in the UI when saving the new values. Here is the config.yml before the change:

CONVERTER_GRAPHICS_BACKEND_ARGUMENTS:
libreoffice_path: /usr/bin/libreoffice
pdfinfo_path: /usr/bin/pdfinfo
pdftoppm_dpi: 300
pdftoppm_format: jpeg
pdftoppm_path: /usr/bin/pdftoppm
pillow_format: JPEG
pillow_maximum_image_pixels: 250000000

and after changing a value via the UI and saving:

CONVERTER_GRAPHICS_BACKEND_ARGUMENTS: ‘{’‘libreoffice_path’‘: ‘’/usr/bin/libreoffice’‘,
‘‘pdfinfo_path’’: ‘’/usr/bin/pdfinfo’‘, ‘‘pdftoppm_dpi’’: 300, ‘‘pdftoppm_format’’:
‘‘jpeg’’, ‘‘pdftoppm_path’’: ‘’/usr/bin/pdftoppm’‘, ‘‘pillow_format’’: ‘‘JPEG’’,
‘‘pillow_maximum_image_pixels’’: 250000000}’

The value is being assigned as a JSON payload