-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
Could not upload Auto Cad drawing file on rocket #11828
Comments
@sampaiodiego are there plans to support this file format? |
@phongb2b you can probably zip or tar the file and then upload... that should work |
definitely. the error seems it's trying to process it like an image, the fix might be treating is as a regular file |
@madguy02 yes, it works with zip/rar but our user would like to drag and drop CAD file to RocketChat client. |
For the first part regarding autoCAD .dwg support, I will try to submit a PR ASAP. For the second part of your query, you mean the .bak file are auto converted to .bak.bin?? after download? |
@madguy02 after we upload SQL xxx.bak file, it auto changes to xxx.bak.bin when completed upload file. We do a hash check that file (after downloaded and change back to xxx.bak) , it is OK. |
Ok, shall look at it once... |
Thank your effort |
Description:
Steps to reproduce:
Expected behavior:
The download link should show with a download icon, and show
Actual behavior:
Server Setup Information:
Additional context
Relevant logs:
�[34mI20180820-06:34:12.424(0) Exception while invoking method 'sendFileMessage' Error: Input buffer contains unsupported image format => awaited here: at Function.Promise.await (/snap/rocketchat-server/1317/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:56:12) at Promise.asyncApply (/snap/rocketchat-server/1317/programs/server/packages/rocketchat_file-upload.js:1745:49) at /snap/rocketchat-server/1317/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40
�[34mI20180820-06:40:05.268(0) Exception while invoking method 'sendFileMessage' Error: Input buffer contains unsupported image format => awaited here: at Function.Promise.await (/snap/rocketchat-server/1317/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:56:12) at Promise.asyncApply (/snap/rocketchat-server/1317/programs/server/packages/rocketchat_file-upload.js:1745:49) at /snap/rocketchat-server/1317/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40
�[34mI20180820-06:42:39.032(0) Exception while invoking method 'sendFileMessage' Error: Input buffer contains unsupported image format => awaited here: at Function.Promise.await (/snap/rocketchat-server/1317/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:56:12) at Promise.asyncApply (/snap/rocketchat-server/1317/programs/server/packages/rocketchat_file-upload.js:1745:49) at /snap/rocketchat-server/1317/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40
�[34mI20180820-07:21:42.679(0) Exception while invoking method 'sendFileMessage' Error: Input buffer contains unsupported image format => awaited here: at Function.Promise.await (/snap/rocketchat-server/1317/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:56:12) at Promise.asyncApply (/snap/rocketchat-server/1317/programs/server/packages/rocketchat_file-upload.js:1745:49) at /snap/rocketchat-server/1317/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40 https://rocket.chat/docs/contributing/reporting-issues#gathering-logs -->
The text was updated successfully, but these errors were encountered: