#15 OverflowError bei zu hoher expiration time

クローズ
5 年 前eren によって開かれました · 0 コメント
Eren B. Yilmaz5 年 前 にコメントしました

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 この課題がコミット 5 年 前 から参照されました
eren 5 年 前 に閉じられました
会話に参加するには サインイン してください。
マイルストーンなし
担当者なし
1 参加者
読み込み中…
キャンセル
保存
まだコンテンツがありません