You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the bot I wrote with python-nostr it always crashes with some kind of threading error after around 5h. I use python 3.9.5 with the correct dependencie versions. Connecting to around 5 reliable relais (also tried less).
Crash log:
424 in _callback
File "/home/satdress/.local/lib/python3.9/site-packages/websocket/_app.py", line 386 in run_forever ...
Thread 0x00007f9522112700 (most recent call first): File "/usr/local/lib/python3.9/threading.py", line 312 in wait
File "/usr/local/lib/python3.9/queue.py", line 171 in get File "/home/satdress/lightningpicturebot/nostr/relay.py", line 88 in queue_worker File "/usr/local/lib/python3.9/threading.py", line 892 in run
File "/usr/local/lib/python3.9/threading.py", line 954 in _bootstrap_inner
File "/usr/local/lib/python3.9/threading.py", line 912 in _bootstrap
Thread 0x00007f9522913700 (most recent call first):
File "/usr/local/lib/python3.9/selectors.py", line 469 in select
File "/home/satdress/.local/lib/python3.9/site-packages/websocket/_app.py", line 78 in select
File "/home/satdress/.local/lib/python3.9/site-packages/websocket/_app.py", line 64 in read
File "/home/satdress/.local/lib/python3.9/site-packages/websocket/_app.py", line 383 in run_forever
File "/home/satdress/lightningpicturebot/nostr/relay.py", line 60 in connect
File "/home/satdress/lightningpicturebot/nostr/relay.py", line 80 in check_reconnect
File "/home/satdress/lightningpicturebot/nostr/relay.py", line 135 in _on_error File "/home/satdress/.local/lib/python3.9/site-packages/websocket/_app.py", line 424 in _callback File "/home/satdress/.local/lib/python3.9/site-packages/websocket/_app.py", line 386 in run_forever File "/home/satdress/lightningpicturebot/nostr/relay.py", line 60 in connect
File "/home/satdress/lightningpicturebot/nostr/relay.py", line 80 in check_reconnect
File "/home/satdress/lightningpicturebot/nostr/relay.py", line 135 in _on_error
File "/home/satdress/.local/lib/python3.9/site-packages/websocket/_app.py", line 424 in _callback
File "/home/satdress/.local/lib/python3.9/site-packages/websocket/_app.py", line 386 in run_forever
File "/home/satdress/lightningpicturebot/nostr/relay.py", line 60 in connect
File "/usr/local/lib/python3.9/threading.py", line 892 in run File "/usr/local/lib/python3.9/threading.py", line 954 in _bootstrap_inner
File "/usr/local/lib/python3.9/threading.py", line 912 in _bootstrap
Thread 0x00007f9523114700 (most recent call first):
File "/usr/local/lib/python3.9/threading.py", line 312 in wait
File "/usr/local/lib/python3.9/queue.py", line 171 in get
File "/home/satdress/lightningpicturebot/nostr/relay.py", line 88 in queue_worker File "/usr/local/lib/python3.9/threading.py", line 892 in run
File "/usr/local/lib/python3.9/threading.py", line 954 in _bootstrap_inner
File "/usr/local/lib/python3.9/threading.py", line 912 in _bootstrap
Thread 0x00007f9523955700 (most recent call first):
File "/usr/local/lib/python3.9/selectors.py", line 469 in select
File "/home/satdress/.local/lib/python3.9/site-packages/websocket/_app.py", line 78 in select
File "/home/satdress/.local/lib/python3.9/site-packages/websocket/_app.py", line 64 in read
File "/home/satdress/.local/lib/python3.9/site-packages/websocket/_app.py", line 383 in run_forever
File "/home/satdress/lightningpicturebot/nostr/relay.py", line 60 in connect
File "/usr/local/lib/python3.9/threading.py", line 892 in run
File "/usr/local/lib/python3.9/threading.py", line 954 in _bootstrap_inner
File "/usr/local/lib/python3.9/threading.py", line 912 in _bootstrap
Thread 0x00007f95267a8280 (most recent call first):
File "/usr/local/lib/python3.9/threading.py", line 312 in wait
File "/usr/local/lib/python3.9/queue.py", line 171 in get
File "/home/satdress/lightningpicturebot/nostr/message_pool.py", line 35 in get_event
File "/home/satdress/lightningpicturebot/nostr1.py", line 102 in nostr_bot
File "/home/satdress/lightningpicturebot/nostr1.py", line 551 in run
File "/home/satdress/lightningpicturebot/nostr1.py", line 559 in
Abgebrochen
Is this a bug in python-nostr or more likely related to my code?
The text was updated successfully, but these errors were encountered:
When running the bot I wrote with python-nostr it always crashes with some kind of threading error after around 5h. I use python 3.9.5 with the correct dependencie versions. Connecting to around 5 reliable relais (also tried less).
Crash log:
424 in _callback
File "/home/satdress/.local/lib/python3.9/site-packages/websocket/_app.py", line 386 in run_forever ...
Thread 0x00007f9522112700 (most recent call first): File "/usr/local/lib/python3.9/threading.py", line 312 in wait
File "/usr/local/lib/python3.9/queue.py", line 171 in get File "/home/satdress/lightningpicturebot/nostr/relay.py", line 88 in queue_worker File "/usr/local/lib/python3.9/threading.py", line 892 in run
File "/usr/local/lib/python3.9/threading.py", line 954 in _bootstrap_inner
File "/usr/local/lib/python3.9/threading.py", line 912 in _bootstrap
Thread 0x00007f9522913700 (most recent call first):
File "/usr/local/lib/python3.9/selectors.py", line 469 in select
File "/home/satdress/.local/lib/python3.9/site-packages/websocket/_app.py", line 78 in select
File "/home/satdress/.local/lib/python3.9/site-packages/websocket/_app.py", line 64 in read
File "/home/satdress/.local/lib/python3.9/site-packages/websocket/_app.py", line 383 in run_forever
File "/home/satdress/lightningpicturebot/nostr/relay.py", line 60 in connect
File "/home/satdress/lightningpicturebot/nostr/relay.py", line 80 in check_reconnect
File "/home/satdress/lightningpicturebot/nostr/relay.py", line 135 in _on_error File "/home/satdress/.local/lib/python3.9/site-packages/websocket/_app.py", line 424 in _callback File "/home/satdress/.local/lib/python3.9/site-packages/websocket/_app.py", line 386 in run_forever File "/home/satdress/lightningpicturebot/nostr/relay.py", line 60 in connect
File "/home/satdress/lightningpicturebot/nostr/relay.py", line 80 in check_reconnect
File "/home/satdress/lightningpicturebot/nostr/relay.py", line 135 in _on_error
File "/home/satdress/.local/lib/python3.9/site-packages/websocket/_app.py", line 424 in _callback
File "/home/satdress/.local/lib/python3.9/site-packages/websocket/_app.py", line 386 in run_forever
File "/home/satdress/lightningpicturebot/nostr/relay.py", line 60 in connect
File "/usr/local/lib/python3.9/threading.py", line 892 in run File "/usr/local/lib/python3.9/threading.py", line 954 in _bootstrap_inner
File "/usr/local/lib/python3.9/threading.py", line 912 in _bootstrap
Thread 0x00007f9523114700 (most recent call first):
File "/usr/local/lib/python3.9/threading.py", line 312 in wait
File "/usr/local/lib/python3.9/queue.py", line 171 in get
File "/home/satdress/lightningpicturebot/nostr/relay.py", line 88 in queue_worker File "/usr/local/lib/python3.9/threading.py", line 892 in run
File "/usr/local/lib/python3.9/threading.py", line 954 in _bootstrap_inner
File "/usr/local/lib/python3.9/threading.py", line 912 in _bootstrap
Thread 0x00007f9523955700 (most recent call first):
File "/usr/local/lib/python3.9/selectors.py", line 469 in select
File "/home/satdress/.local/lib/python3.9/site-packages/websocket/_app.py", line 78 in select
File "/home/satdress/.local/lib/python3.9/site-packages/websocket/_app.py", line 64 in read
File "/home/satdress/.local/lib/python3.9/site-packages/websocket/_app.py", line 383 in run_forever
File "/home/satdress/lightningpicturebot/nostr/relay.py", line 60 in connect
File "/usr/local/lib/python3.9/threading.py", line 892 in run
File "/usr/local/lib/python3.9/threading.py", line 954 in _bootstrap_inner
File "/usr/local/lib/python3.9/threading.py", line 912 in _bootstrap
Thread 0x00007f95267a8280 (most recent call first):
File "/usr/local/lib/python3.9/threading.py", line 312 in wait
File "/usr/local/lib/python3.9/queue.py", line 171 in get
File "/home/satdress/lightningpicturebot/nostr/message_pool.py", line 35 in get_event
File "/home/satdress/lightningpicturebot/nostr1.py", line 102 in nostr_bot
File "/home/satdress/lightningpicturebot/nostr1.py", line 551 in run
File "/home/satdress/lightningpicturebot/nostr1.py", line 559 in
Abgebrochen
Is this a bug in python-nostr or more likely related to my code?
The text was updated successfully, but these errors were encountered: