moonraker-telegram-bot
moonraker-telegram-bot copied to clipboard
[Bug]: Red Overlayer from Telegram
What happened and in what context?
The timelaps video gets a red overlay at the end. The 5sec video have it too, but the klipper timelapse not, so I would locate this issue to the telegram generation within telegram.
If needed, paste the relevant bot log contents here.
No response
If needed, paste the relevant bot journal contents here.
No response
What branch does this occur on?
master
Reports only on latest master or development branches!
- [X] I have updated to latest development/master version before submitting the bug
I have the same problem. The bot sends normal pictures to Telegram, but renders them in red.
https://github.com/nlef/moonraker-telegram-bot/assets/40995038/b8ea3140-a5af-4538-bfd7-f8e592d96b23
I didn't wait for a response, reinstalled debian11 x32, and the video stopped showing in red.
Really wonder what is the reason. A fix would be great instead of reinstalling the system.
Maybe an outdated version of OpenCV. You can try pip3 install opencv-python
. At least it worked for me today on a raspberry 4 with bullseye x64.
Thanks @Darthyson
I also run pip3 install --upgrade pip
as only OpenCV was not solving the issues.
Now the red layer is gone.
I'm not sure if the project can or should do something in order to prevent this, so I keep it open. Let the author decide.
Same issue for me. A proper fix would help.
Edit: @Darthyson for me this solution worked out on Rpi 3b with most recent Bullseye 64bit.
source ~/moonraker-telegram-bot-env/bin/activate
pip install opencv-python
i noticed that this package is included in requirements.dev.txt but not inside requirements.txt. Have not diggt to deep inside the issue but maybe adding "opencv-python" inside requirements.txt might help. I'm not very familiar with python. Hopefully the author can have a look.