Replies: 2 comments 1 reply
-
I will take a look. I see you are using websockets? What does your config.json look like? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Should be fixed in "beta" git checkout beta Can you confirm it's resolved? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I use the latest version of Python Crypto Bot v7.0.33 on macOS 13.2 and Python 3.10.9.
Occasionally I get an error message see listing below.
Do you have any recommendations on how to resolve this?
Thank you
Bot1 2023-02-03 11:26:56 BTCBUSD 1h 2023-02-03 11:26:56 | Insufficient Quote Funds! (Actual: 0.2025022, Minimum: 10.0)
Exception in thread Thread-1 (_go):
Traceback (most recent call last):
File "/Users/miroslavfridrich/PyCryptoBot/BTC-BUSD/models/exchange/binance/api.py", line 1233, in _listen
data = self.ws.recv()
File "/Users/miroslavfridrich/Library/Python/3.10/lib/python/site-packages/websocket/_core.py", line 354, in recv
opcode, data = self.recv_data()
File "/Users/miroslavfridrich/Library/Python/3.10/lib/python/site-packages/websocket/_core.py", line 377, in recv_data
opcode, frame = self.recv_data_frame(control_frame)
File "/Users/miroslavfridrich/Library/Python/3.10/lib/python/site-packages/websocket/_core.py", line 396, in recv_data_frame
frame = self.recv_frame()
File "/Users/miroslavfridrich/Library/Python/3.10/lib/python/site-packages/websocket/_core.py", line 432, in recv_frame
return self.frame_buffer.recv_frame()
File "/Users/miroslavfridrich/Library/Python/3.10/lib/python/site-packages/websocket/_abnf.py", line 372, in recv_frame
self.recv_header()
File "/Users/miroslavfridrich/Library/Python/3.10/lib/python/site-packages/websocket/_abnf.py", line 320, in recv_header
header = self.recv_strict(2)
File "/Users/miroslavfridrich/Library/Python/3.10/lib/python/site-packages/websocket/abnf.py", line 407, in recv_strict
bytes = self.recv(min(16384, shortage))
File "/Users/miroslavfridrich/Library/Python/3.10/lib/python/site-packages/websocket/_core.py", line 516, in _recv
return recv(self.sock, bufsize)
File "/Users/miroslavfridrich/Library/Python/3.10/lib/python/site-packages/websocket/_socket.py", line 124, in recv
raise WebSocketConnectionClosedException(
websocket._exceptions.WebSocketConnectionClosedException: Connection is already closed.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/Users/miroslavfridrich/PyCryptoBot/BTC-BUSD/models/exchange/binance/api.py", line 1189, in _go
self._listen()
File "/Users/miroslavfridrich/PyCryptoBot/BTC-BUSD/models/exchange/binance/api.py", line 1241, in _listen
self.on_error(e)
File "/Users/miroslavfridrich/PyCryptoBot/BTC-BUSD/models/exchange/binance/api.py", line 1275, in on_error
RichText.notify(e, self.app, "error")
File "/Users/miroslavfridrich/PyCryptoBot/BTC-BUSD/views/PyCryptoBot.py", line 17, in notify
if notification == "":
UnboundLocalError: local variable 'notification' referenced before assignment
Bot1 2023-02-03 11:34:23 BTCBUSD 1h 2023-02-03 11:34:23 | Insufficient Quote Funds! (Actual: 0.2025022, Minimum: 10.0)
Beta Was this translation helpful? Give feedback.
All reactions