#15 OverflowError bei zu hoher expiration time

已关闭
eren5 年之前创建 · 0 条评论

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 年之前 中引用了该工单
eren5 年之前 关闭
登录 并参与到对话中。
未选择里程碑
未指派成员
1 名参与者
正在加载...
取消
保存
这个人很懒,什么都没留下。