Kernel source tree for Raspberry Pi-provided kernel builds. Issues unrelated to the linux kernel should be posted on the community forum at https://forums.raspberrypi.com/
getting this when trying to upload a tar.xz file using a telegram bot written in python
https://github.com/xsolinsx/RPiCamBot/blob/master/WebcamBot/utils.py#L89
it backups the folder of the telegram bot + some additional files specified in the configuration
this archive is then sent to my telegram user from my bot, this is the step where it gets stuck, last time it broke at this situation
I am sending the automatic backup.[███████████████░░░░░] 78.38%
18.00 MB/22.96 MB
1.12 MB/s 16s/20s
the tmux window then is blocked on the logs reported below and I cannot kill the python process in any way
Steps to reproduce the behaviour
it does not happen consistently, but I experienced this multiple times in the last months, every week or so
I don't have a clue of what the steps to reproduce could be
I would say get a telegram bot api key, install the required libraries and try to upload a file of some MB, but I'm not sure this would definitely cause the issue to occur
these lines should be enough to create the client with the library I'm using https://github.com/xsolinsx/RPiCamBot/blob/master/WebcamBot/timelapse_bot.py#L25-L36
while these lines should be enough to actually send a document https://github.com/xsolinsx/RPiCamBot/blob/master/WebcamBot/utils.py#L98-L104 (the progress function could be useful to debug but it's not mandatory)
Device (s)
Raspberry Pi Zero W / WH
System
Raspberry Pi reference 2023-12-05
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 446f3e34c8ceb33dfe7bd38578f1cd6b6afe19da, stage2
Mar 17 2023 10:53:39
Copyright (c) 2012 Broadcom
version 82f3750a65fadae9a38077e3c2e217ad158c8d54 (clean) (release) (start_x)
Describe the bug
getting this when trying to upload a tar.xz file using a telegram bot written in python https://github.com/xsolinsx/RPiCamBot/blob/master/WebcamBot/utils.py#L89 it backups the folder of the telegram bot + some additional files specified in the configuration this archive is then sent to my telegram user from my bot, this is the step where it gets stuck, last time it broke at this situation
the tmux window then is blocked on the logs reported below and I cannot kill the python process in any way
Steps to reproduce the behaviour
it does not happen consistently, but I experienced this multiple times in the last months, every week or so I don't have a clue of what the steps to reproduce could be I would say get a telegram bot api key, install the required libraries and try to upload a file of some MB, but I'm not sure this would definitely cause the issue to occur these lines should be enough to create the client with the library I'm using https://github.com/xsolinsx/RPiCamBot/blob/master/WebcamBot/timelapse_bot.py#L25-L36 while these lines should be enough to actually send a document https://github.com/xsolinsx/RPiCamBot/blob/master/WebcamBot/utils.py#L98-L104 (the progress function could be useful to debug but it's not mandatory)
Device (s)
Raspberry Pi Zero W / WH
System
Raspberry Pi reference 2023-12-05 Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 446f3e34c8ceb33dfe7bd38578f1cd6b6afe19da, stage2
Mar 17 2023 10:53:39 Copyright (c) 2012 Broadcom version 82f3750a65fadae9a38077e3c2e217ad158c8d54 (clean) (release) (start_x)
Linux raspberrypi 6.1.21+ #1642 Mon Apr 3 17:19:14 BST 2023 armv6l GNU/Linux
Logs
tmux console where python was being executed
syslog
Additional context
Python 3.9.2
docs of the library https://docs.pyrogram.org/