Re: a clean exit

2021-07-29 Thread Dieter Maurer
jak wrote at 2021-7-29 00:07 +0200: > ... >Thanks to both of you for the replies. I know the rules you described to >me for process synchronization but unfortunately, due to the structure >of the library I am using, I cannot apply them. I can't even use >try/except because the library, when the err

Re: a clean exit

2021-07-28 Thread jak
Il 23/07/2021 10:55, jak ha scritto: Hello everybody, I wrote a bot for telegram which consists of some processes of which the main ones are: - the main process: a list of callback functions - a second process: managed with a message queue - a third process: started by the library I use (python-t

Re: a clean exit

2021-07-24 Thread Dieter Maurer
jak wrote at 2021-7-23 10:55 +0200: > ... >The problem is that sometimes I get an error from the library (python- >telegram-bot) via logging that my bot has no way of intercepting. The >error is "connection reset by pear" after which my program is no longer >called and I need to restart it. Typical

a clean exit

2021-07-23 Thread jak
Hello everybody, I wrote a bot for telegram which consists of some processes of which the main ones are: - the main process: a list of callback functions - a second process: managed with a message queue - a third process: started by the library I use (python-telegram-bot) which is used for the eve