- Truncated or unsent messages — Special characters in
files/out/telegram.htmlmay interfere with HTML parsing. The formatter escapes&,<,>automatically; if you hand-edited the file, replace&with&and remove any unsupported tags (<ul>,<li>,<br>,<p>). Use plain-text bullet characters instead. ModuleNotFoundError: No module named 'requests'— The virtual environment isn't activated. Runsource env-telegram-bot/bin/activatefirst.- Message not delivered to a specific group — Verify the chat ID at
https://api.telegram.org/bot<YourBOTToken>/getUpdates. If wrong, fix it infiles/groups.txt. - A run got stuck for a long time — Older versions had no network timeout; the current version
times out (10s connect / 30s read) and moves on. If a group shows
TIMEOUT — delivery UNCERTAIN, see Reliability. - The next run wants to send to everyone again — The results file reflects the last run. For a new message, that's expected — choose Start fresh. For finishing an interrupted run, choose Resume. See Resume.
Keep dependencies current:
pip list --outdated # check for outdated packages
pip install --upgrade <package> # upgrade one
pip freeze > requirements.txt # record current versions