-
Notifications
You must be signed in to change notification settings - Fork 11
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
Received images missing thumbnail kills Node Red #65
Comments
The same happens to me as well but only with images not with files. The strange thing is that I have configured the node to accept only m.text on the Timeline event filters and as far as I can see on the code (where the exception is raised) the thumbnail_file must be null for this to happen BUT it should not reach this line as line 99 18 Aug 00:04:12 - [info] [matrix-server-config:someconfiguration] Received encrypted timeline event [m.image]: (Encrypted terrorist plot room) @user:host.com :: no wizards.jpg |
Thanks for the report! Definitely looks like something is broken in the code. I will check it out tomorrow after work and report back. |
I'm having trouble replicating this issue. When I set incoming messages to only be text no images come through. I sent multiple .png and .jpg files through an encrypted room and got it coming in on Node-RED correctly. Maybe these questions will help: What version of matrix is the server running? Thanks. |
@skylord123 Hi, In my case: Matrix Synapse 1.65.0, I hope this helps. |
I am also running the latest version of both matrix and node red in docker containers. Interestingly there are files that work and others don't. the crash is always the same though.
|
Do you have an image that you can share here that fails? Would help a lot in debugging this. Thanks. |
Hi; I've run into this problem as well, and it seems to be related to forwarded media files, which don't have a "file" object under "content". I assume the receive node tries to access "url" under "file", and fails in this case? Thank-you, |
a friend an d mine have the same problem, so +2 |
I also am seeing this. I can get it to happen when it receives an image that was sent using the send image node. |
Can you provide the error you are getting in your Node-RED log? EDIT: Believe I found the issue. Looks like if you send an image without a thumbnail this will occur. I'll get this fixed for the next release. |
Awesome, thanks! How would a thumbnail be specified? I don't seem to see it as an option for the Send Image node. |
You actually can't specify a thumbnail on the latest release. You need to use the dev branch on here in order to accomplish that. We actually deprecated the send image node in favor of a single upload file node that can now generate thumbnails for images and videos. I believe this issue should be resolved now. I made it so the thumbnail is optional now so it should no longer throw an error. I actually noticed I only added code to generate for videos so I quickly added support for images as well and pushed it up to the dev branch. Give that a try and let me know how it goes. Once I get some more time I will get the release completed and out the door. |
Good Morning,
I am currently trying out the "Matrix Receive" function with an encrypted Room. Messages work fine and i can see them. But as soon as I sent an image I get the following exception and NR dies.
The text was updated successfully, but these errors were encountered: