-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlog.txt
17 lines (15 loc) · 942 Bytes
/
log.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Working outside of request context.
This typically means that you attempted to use functionality that needed
an active HTTP request. Consult the documentation on testing for
information about how to avoid this problem.
Traceback (most recent call last):
File "c:\Users\ctih\FileUploadService\main.py", line 21, in download_file
ip: str = request.remote_addr
File "C:\Users\ctih\AppData\Local\Programs\Python\Python39\lib\site-packages\werkzeug\local.py", line 311, in __get__
obj = instance._get_current_object()
File "C:\Users\ctih\AppData\Local\Programs\Python\Python39\lib\site-packages\werkzeug\local.py", line 508, in _get_current_object
raise RuntimeError(unbound_message) from None
RuntimeError: Working outside of request context.
This typically means that you attempted to use functionality that needed
an active HTTP request. Consult the documentation on testing for
information about how to avoid this problem.