#15 OverflowError bei zu hoher expiration time

Closed
opened 5 years ago by eren · 0 comments

OverflowError: Python int too large to convert to C long 95.90.248.15 - - [31/Aug/2018 21:35:26] "POST /order HTTP/1.1" 500 1732 Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/bottle.py", line 862, in _handle return route.call(**args) File "/usr/local/lib/python3.5/dist-packages/bottle.py", line 1740, in wrapper rv = callback(*a, **ka) File "run_server.py", line 37, in process resp = method_to_call() File "/var/www/eren/Orderer/server_controller.py", line 133, in order model.place_order(buy, ownership_id, limit, stop_loss, amount, time_until_expiration) File "/var/www/eren/Orderer/model.py", line 821, in place_order expiry = datetime.strptime(current_db_time(), '%Y-%m-%d %H:%M:%S') + timedelta(minutes=time_until_exp iration)

OverflowError: Python int too large to convert to C long 95.90.248.15 - - [31/Aug/2018 21:35:26] "POST /order HTTP/1.1" 500 1732 Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/bottle.py", line 862, in _handle return route.call(**args) File "/usr/local/lib/python3.5/dist-packages/bottle.py", line 1740, in wrapper rv = callback(*a, **ka) File "run_server.py", line 37, in process resp = method_to_call() File "/var/www/eren/Orderer/server_controller.py", line 133, in order model.place_order(buy, ownership_id, limit, stop_loss, amount, time_until_expiration) File "/var/www/eren/Orderer/model.py", line 821, in place_order expiry = datetime.strptime(current_db_time(), '%Y-%m-%d %H:%M:%S') + timedelta(minutes=time_until_exp iration)
Eren B. Yilmaz referenced this issue from a commit 5 years ago
Sign in to join this conversation.
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.