I’m having a strange problem with Excel exports from Seatable (DE 3.1.0 self-hosted). Within the same base some views/tables export without any problems but others always return a “Failed export view to Excel” error message. There is no obvious commonality between views that export and those that fail as far as I can tell.
Is this a known bug? Any troubleshooting steps that I could try?
please check the dtable-web.log for errors at the moment you are trying to export the excel file. If you don’t see any errors or warning, please check the other log files.
In addition, you could have a look at the browser console.
2022-08-19 07:54:02,465 [ERROR] seahub.api2.endpoints.dtable_io:724 get dtable io query status error: 1660895641394, 2
2022-08-19 07:54:02,465 [ERROR] django.request:230 log_response Internal Server Error: /api/v2.1/dtable-io-status/
These are the two lines that I can see in the logs when the export fails.
Ok. Are there any entries in the dtable_events_io.log?
2022-08-19 09:54:01,397 [INFO] Run task: 1660895641394 <function convert_view_to_execl at 0x7fdb057e3290>
2022-08-19 09:54:01,525 [ERROR] Failed to handle task 1660895641394, error: [Errno 2] No such file or directory: '/tmp/dtable-io/export-view-to-excel/f8da982a-0a2b-4e8c-ae04-3bef3d1857ed/Redacted Base Name/Scenes_Default View.xlsx'
This should be the one for the event from the previous post.
For the ones that work as expected in the same base it looks like this:
2022-08-19 08:15:14,357 [INFO] Run task: 1660889714354 <function convert_view_to_execl at 0x7fdb057e3290>
2022-08-19 08:15:14,532 [INFO] Run task success: 1660889714354 <function convert_view_to_execl at 0x7fdb057e3290> cost 0s
Problem was solved and can be closed. I went through the detailed additional upgrade instructions in the manual again and it seems some steps along the way were missed and caused the problem.
Sorry for wasting you time
Glad to hear you could solve your problem.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.