seafile
seafile copied to clipboard
.csv files do not open in OnlyOffice
I’m running OnlyOffice in Seafile Professional 8.0.10 and everything works fine. I noticed that several file types which are supported by OnlyOffice (e.g. doc in addition to docx) are not configured by default in Seafile to be opened in OnlyOffice. I therefore added '.doc' and '.csv' to seahub_settings.py. Now I can edit also doc files. However, when I click on a csv file, it just opens in the Seafile viewer and not in OnlyOffice. Since doc files open in OnlyOffice after I added it (they didn't before), I know the config file is correct.
I also tried removing ‘csv’ from TEXT_PREVIEW_EXT but csv files still don’t open in OnlyOffice. The only thing I get then is “Online view is not applicable to this file format”.
Here is the relevant part from my seahub_settings.py:
ONLYOFFICE_FILE_EXTENSION = (‘doc’, ‘docx’, ‘ppt’, ‘pptx’, ‘xls’, ‘xlsx’, ‘odt’, ‘fodt’, ‘odp’, ‘fodp’, ‘ods’, ‘fods’, ‘csv’)
ONLYOFFICE_EDIT_FILE_EXTENSION = (‘doc’, ‘docx’, ‘ppt’, ‘pptx’, ‘xls’, ‘xlsx’, ‘odt’, ‘odp’, ‘ods’, ‘csv’)
Same issue :( I'm using Seafile Community edition v10.0.1. Have you managed to fix this issue ?
I’m running OnlyOffice in Seafile Professional 8.0.10 and everything works fine. I noticed that several file types which are supported by OnlyOffice (e.g. doc in addition to docx) are not configured by default in Seafile to be opened in OnlyOffice. I therefore added '.doc' and '.csv' to seahub_settings.py. Now I can edit also doc files. However, when I click on a csv file, it just opens in the Seafile viewer and not in OnlyOffice. Since doc files open in OnlyOffice after I added it (they didn't before), I know the config file is correct.
I also tried removing ‘csv’ from TEXT_PREVIEW_EXT but csv files still don’t open in OnlyOffice. The only thing I get then is “Online view is not applicable to this file format”.
Here is the relevant part from my seahub_settings.py:
ONLYOFFICE_FILE_EXTENSION = (‘doc’, ‘docx’, ‘ppt’, ‘pptx’, ‘xls’, ‘xlsx’, ‘odt’, ‘fodt’, ‘odp’, ‘fodp’, ‘ods’, ‘fods’, ‘csv’) ONLYOFFICE_EDIT_FILE_EXTENSION = (‘doc’, ‘docx’, ‘ppt’, ‘pptx’, ‘xls’, ‘xlsx’, ‘odt’, ‘odp’, ‘ods’, ‘csv’)
Hello, maybe some code changes is needed too, we will check this problem these days.