#15 OverflowError bei zu hoher expiration time

Đã đóng
%! (template.HTML=5 năm trước cách đây)đang mở bởi eren · 0 ý kiến

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 năm trước cách đây
Đăng nhập để tham gia bình luận.
Không có Milestone
Không có người được phân công
1 tham gia
Đang tải...
Hủy bỏ
Lưu
Ở đây vẫn chưa có nội dung nào.