Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi sheets export to .ods, .xls crashes the server #795

Open
Dri372 opened this issue Feb 23, 2023 · 0 comments
Open

Multi sheets export to .ods, .xls crashes the server #795

Dri372 opened this issue Feb 23, 2023 · 0 comments

Comments

@Dri372
Copy link

Dri372 commented Feb 23, 2023

On a fresh new version of ethercalc the server crashes evrytime I try to export to a .ods or .xls file.

I get these error messages :

/usr/lib/node_modules/ethercalc/node_modules/redis/index.js:602
throw err;
^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
at new NodeError (node:internal/errors:399:5)
at ServerResponse.setHeader (node:_http_outgoing:663:11)
at ServerResponse.res.setHeader (/usr/lib/node_modules/ethercalc/node_modules/connect/lib/patch.js:133:22)
at ServerResponse.res.set.res.header (/usr/lib/node_modules/ethercalc/node_modules/express/lib/response.js:578:10)
at ServerResponse.res.contentType.res.type (/usr/lib/node_modules/ethercalc/node_modules/express/lib/response.js:447:15)
at /usr/lib/node_modules/ethercalc/main.js:131:34
at try_callback (/usr/lib/node_modules/ethercalc/node_modules/redis/index.js:592:9)
at RedisClient.return_reply (/usr/lib/node_modules/ethercalc/node_modules/redis/index.js:685:13)
at ReplyParser. (/usr/lib/node_modules/ethercalc/node_modules/redis/index.js:321:14)
at ReplyParser.emit (node:events:513:28)
at ReplyParser.send_reply (/usr/lib/node_modules/ethercalc/node_modules/redis/lib/parser/javascript.js:300:10)
at ReplyParser.execute (/usr/lib/node_modules/ethercalc/node_modules/redis/lib/parser/javascript.js:203:22)
at RedisClient.on_data (/usr/lib/node_modules/ethercalc/node_modules/redis/index.js:547:27)
at Socket. (/usr/lib/node_modules/ethercalc/node_modules/redis/index.js:102:14)
at Socket.emit (node:events:513:28)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9)
at Socket.Readable.push (node:internal/streams/readable:234:10)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
{
code: 'ERR_HTTP_HEADERS_SENT'
}

Node.js v18.14.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant