#15 OverflowError bei zu hoher expiration time

Fermé
Créé il y a 5 ans par eren · 0 commentaires

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 a référencé ce problème à partir d'un commit il y a 5 ans
Connectez-vous pour rejoindre cette conversation.
Aucun jalon
Pas d'assignataire
1 Participants
Chargement…
Annuler
Enregistrer
Il n'existe pas encore de contenu.