[SOLVED] Office Converter Issue

Fresh install of Pro 7.1.17, which was upgraded to 8.0.3, on CentOS7 and with trying to get libreoffice working, I keep getting an internal server error. Looking at the seahub.log, seeing
2021-05-19 20:41:56,796 [ERROR] root:1190 prepare_converted_html failed to add_office_convert_task: 'str' object has no attribute 'decode' Traceback (most recent call last): File "/opt/seafile/seafile-pro-server-8.0.3/seahub/seahub/utils/__init__.py", line 1187, in prepare_converted_html add_office_convert_task(obj_id, doctype, raw_path) File "/opt/seafile/seafile-pro-server-8.0.3/seahub/seahub/utils/__init__.py", line 1130, in add_office_convert_task headers = {"Authorization": "Token %s" % token.decode()} AttributeError: 'str' object has no attribute 'decode'
when selecting any office document. This issue occurs on version 7.17, 8.0.2, and 8.0.3. Anyone else run into this or have any ideas?

Upgrading to v8.0.4 seems to have fixed this issue.

1 Like