|
@@ -1,276 +0,0 @@
|
|
|
-[2021-03-12 08:42:46,731] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
|
|
|
-[2021-03-12 08:43:00,571] [log.py:230] [log:log_response] [ERROR]- Internal Server Error: /ocr/invoice_ocr/
|
|
|
-Traceback (most recent call last):
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
|
|
|
- response = get_response(request)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
|
|
|
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
|
|
|
- return self.dispatch(request, *args, **kwargs)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
|
|
|
- return handler(request, *args, **kwargs)
|
|
|
- File "D:\pythonProject\invoice_ocr\ocr\views.py", line 21, in post
|
|
|
- res = ocr.predict(paths=image_path, invoice_type=1)
|
|
|
- File "D:\pythonProject\invoice_ocr\utils\PaddleOCR\deploy\hubserving\ocr_system\module.py", line 73, in predict
|
|
|
- predicted_data = self.read_images(paths)
|
|
|
- File "D:\pythonProject\invoice_ocr\utils\PaddleOCR\deploy\hubserving\ocr_system\module.py", line 52, in read_images
|
|
|
- img_path), "The {} isn't a valid file.".format(img_path)
|
|
|
-AssertionError: The ./PaddleOCR/doc/imgs/test2.jpg isn't a valid file.
|
|
|
-[2021-03-12 08:43:00,574] [basehttp.py:157] [basehttp:log_message] [ERROR]- "POST /ocr/invoice_ocr/ HTTP/1.1" 500 84812
|
|
|
-[2021-03-12 08:43:22,651] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
|
|
|
-[2021-03-12 08:43:33,537] [basehttp.py:157] [basehttp:log_message] [INFO]- "POST /ocr/invoice_ocr/ HTTP/1.1" 200 444
|
|
|
-[2021-03-12 08:44:13,453] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
|
|
|
-[2021-03-12 08:45:54,862] [basehttp.py:157] [basehttp:log_message] [INFO]- "POST /ocr/invoice_ocr/ HTTP/1.1" 200 444
|
|
|
-[2021-03-12 08:47:56,159] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
|
|
|
-[2021-03-12 08:48:05,749] [basehttp.py:157] [basehttp:log_message] [INFO]- "POST /ocr/invoice_ocr/ HTTP/1.1" 200 444
|
|
|
-[2021-03-12 08:48:44,838] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
|
|
|
-[2021-03-12 08:48:51,624] [basehttp.py:157] [basehttp:log_message] [INFO]- "POST /ocr/invoice_ocr/ HTTP/1.1" 200 456
|
|
|
-[2021-03-12 09:03:29,840] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
|
|
|
-[2021-03-12 09:08:12,134] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
|
|
|
-[2021-03-12 09:08:16,377] [log.py:230] [log:log_response] [ERROR]- Internal Server Error: /ocr/invoice_ocr/
|
|
|
-Traceback (most recent call last):
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
|
|
|
- response = get_response(request)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
|
|
|
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
|
|
|
- return self.dispatch(request, *args, **kwargs)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
|
|
|
- return handler(request, *args, **kwargs)
|
|
|
- File "D:\pythonProject\invoice_ocr\ocr\views.py", line 10, in post
|
|
|
- invoice_type = request.post.get('invoice_type', 1)
|
|
|
-AttributeError: 'WSGIRequest' object has no attribute 'post'
|
|
|
-[2021-03-12 09:08:16,381] [basehttp.py:157] [basehttp:log_message] [ERROR]- "POST /ocr/invoice_ocr/ HTTP/1.1" 500 78950
|
|
|
-[2021-03-12 09:09:49,649] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
|
|
|
-[2021-03-12 09:10:09,069] [basehttp.py:157] [basehttp:log_message] [INFO]- "POST /ocr/invoice_ocr/ HTTP/1.1" 200 456
|
|
|
-[2021-03-12 09:10:22,290] [basehttp.py:157] [basehttp:log_message] [INFO]- "POST /ocr/invoice_ocr/ HTTP/1.1" 200 449
|
|
|
-[2021-03-12 09:12:18,278] [basehttp.py:157] [basehttp:log_message] [INFO]- "POST /ocr/invoice_ocr/ HTTP/1.1" 200 456
|
|
|
-[2021-03-12 09:26:08,702] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
|
|
|
-[2021-03-12 09:26:33,841] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
|
|
|
-[2021-03-12 09:28:00,729] [autoreload.py:240] [autoreload:trigger_reload] [INFO]- D:\pythonProject\invoice_ocr\invoice_ocr\settings.py changed, reloading.
|
|
|
-[2021-03-12 09:28:04,137] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
|
|
|
-[2021-03-12 09:28:08,209] [autoreload.py:240] [autoreload:trigger_reload] [INFO]- D:\pythonProject\invoice_ocr\invoice_ocr\settings.py changed, reloading.
|
|
|
-[2021-03-12 09:28:11,355] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
|
|
|
-[2021-03-12 09:29:26,093] [autoreload.py:240] [autoreload:trigger_reload] [INFO]- D:\pythonProject\invoice_ocr\invoice_ocr\settings.py changed, reloading.
|
|
|
-[2021-03-12 09:29:29,345] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
|
|
|
-[2021-03-12 09:29:34,327] [autoreload.py:240] [autoreload:trigger_reload] [INFO]- D:\pythonProject\invoice_ocr\invoice_ocr\settings.py changed, reloading.
|
|
|
-[2021-03-12 09:29:37,492] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
|
|
|
-[2021-03-12 09:29:53,724] [autoreload.py:240] [autoreload:trigger_reload] [INFO]- D:\pythonProject\invoice_ocr\invoice_ocr\settings.py changed, reloading.
|
|
|
-[2021-03-12 09:34:51,274] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
|
|
|
-[2021-03-12 09:55:49,284] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
|
|
|
-[2021-03-12 10:17:38,892] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
|
|
|
-[2021-03-12 10:17:47,253] [basehttp.py:157] [basehttp:log_message] [INFO]- "POST /ocr/invoice_ocr/ HTTP/1.1" 200 456
|
|
|
-[2021-03-12 10:20:03,567] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
|
|
|
-[2021-03-12 10:21:00,587] [basehttp.py:157] [basehttp:log_message] [INFO]- "POST /ocr/invoice_ocr/ HTTP/1.1" 200 456
|
|
|
-[2021-03-12 10:21:30,968] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
|
|
|
-[2021-03-12 10:21:37,317] [basehttp.py:157] [basehttp:log_message] [INFO]- "POST /ocr/invoice_ocr/ HTTP/1.1" 200 456
|
|
|
-[2021-03-12 10:22:53,991] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
|
|
|
-[2021-03-12 10:23:01,293] [basehttp.py:157] [basehttp:log_message] [INFO]- "POST /ocr/invoice_ocr/ HTTP/1.1" 200 454
|
|
|
-[2021-03-12 10:24:09,370] [log.py:230] [log:log_response] [ERROR]- Internal Server Error: /ocr/invoice_ocr/
|
|
|
-Traceback (most recent call last):
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
|
|
|
- response = get_response(request)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
|
|
|
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
|
|
|
- return self.dispatch(request, *args, **kwargs)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
|
|
|
- return handler(request, *args, **kwargs)
|
|
|
- File "D:\pythonProject\invoice_ocr\ocr\views.py", line 17, in post
|
|
|
- res = ocr.predict(images=image_list, invoice_type=invoice_type)
|
|
|
- File "D:\pythonProject\invoice_ocr\utils\PaddleOCR\deploy\hubserving\ocr_system\module.py", line 75, in predict
|
|
|
- raise TypeError("The input data is inconsistent with expectations.")
|
|
|
-TypeError: The input data is inconsistent with expectations.
|
|
|
-[2021-03-12 10:24:09,371] [basehttp.py:157] [basehttp:log_message] [ERROR]- "POST /ocr/invoice_ocr/ HTTP/1.1" 500 82610
|
|
|
-[2021-03-12 10:27:17,559] [log.py:230] [log:log_response] [ERROR]- Internal Server Error: /ocr/invoice_ocr/
|
|
|
-Traceback (most recent call last):
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
|
|
|
- response = get_response(request)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
|
|
|
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
|
|
|
- return self.dispatch(request, *args, **kwargs)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
|
|
|
- return handler(request, *args, **kwargs)
|
|
|
- File "D:\pythonProject\invoice_ocr\ocr\views.py", line 17, in post
|
|
|
- res = ocr.predict(images=image_list, invoice_type=invoice_type)
|
|
|
- File "D:\pythonProject\invoice_ocr\utils\PaddleOCR\deploy\hubserving\ocr_system\module.py", line 75, in predict
|
|
|
- raise TypeError("The input data is inconsistent with expectations.")
|
|
|
-TypeError: The input data is inconsistent with expectations.
|
|
|
-[2021-03-12 10:27:17,560] [basehttp.py:157] [basehttp:log_message] [ERROR]- "POST /ocr/invoice_ocr/ HTTP/1.1" 500 82610
|
|
|
-[2021-03-12 10:30:17,393] [log.py:230] [log:log_response] [ERROR]- Internal Server Error: /ocr/invoice_ocr/
|
|
|
-Traceback (most recent call last):
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
|
|
|
- response = get_response(request)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
|
|
|
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
|
|
|
- return self.dispatch(request, *args, **kwargs)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
|
|
|
- return handler(request, *args, **kwargs)
|
|
|
- File "D:\pythonProject\invoice_ocr\ocr\views.py", line 17, in post
|
|
|
- res = ocr.predict(images=image_list, invoice_type=invoice_type)
|
|
|
- File "D:\pythonProject\invoice_ocr\utils\PaddleOCR\deploy\hubserving\ocr_system\module.py", line 75, in predict
|
|
|
- raise TypeError("The input data is inconsistent with expectations.")
|
|
|
-TypeError: The input data is inconsistent with expectations.
|
|
|
-[2021-03-12 10:30:17,394] [basehttp.py:157] [basehttp:log_message] [ERROR]- "POST /ocr/invoice_ocr/ HTTP/1.1" 500 82628
|
|
|
-[2021-03-12 10:36:51,451] [log.py:230] [log:log_response] [WARNING]- Bad request (Unable to parse request body): /ocr/invoice_ocr/
|
|
|
-Traceback (most recent call last):
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
|
|
|
- response = get_response(request)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
|
|
|
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
|
|
|
- return self.dispatch(request, *args, **kwargs)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
|
|
|
- return handler(request, *args, **kwargs)
|
|
|
- File "D:\pythonProject\invoice_ocr\ocr\views.py", line 9, in post
|
|
|
- images = request.FILES.getlist('images')
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\wsgi.py", line 116, in FILES
|
|
|
- self._load_post_and_files()
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\http\request.py", line 350, in _load_post_and_files
|
|
|
- self._post, self._files = self.parse_file_upload(self.META, data)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\http\request.py", line 309, in parse_file_upload
|
|
|
- parser = MultiPartParser(META, post_data, self.upload_handlers, self.encoding)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\http\multipartparser.py", line 77, in __init__
|
|
|
- raise MultiPartParserError('Invalid boundary in multipart: %s' % force_str(boundary))
|
|
|
-django.http.multipartparser.MultiPartParserError: Invalid boundary in multipart: None
|
|
|
-[2021-03-12 10:36:51,461] [basehttp.py:157] [basehttp:log_message] [WARNING]- "POST /ocr/invoice_ocr/ HTTP/1.1" 400 143
|
|
|
-[2021-03-12 10:39:24,107] [log.py:230] [log:log_response] [WARNING]- Bad request (Unable to parse request body): /ocr/invoice_ocr/
|
|
|
-Traceback (most recent call last):
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
|
|
|
- response = get_response(request)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
|
|
|
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
|
|
|
- return self.dispatch(request, *args, **kwargs)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
|
|
|
- return handler(request, *args, **kwargs)
|
|
|
- File "D:\pythonProject\invoice_ocr\ocr\views.py", line 9, in post
|
|
|
- images = request.FILES.getlist('images')
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\wsgi.py", line 116, in FILES
|
|
|
- self._load_post_and_files()
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\http\request.py", line 350, in _load_post_and_files
|
|
|
- self._post, self._files = self.parse_file_upload(self.META, data)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\http\request.py", line 309, in parse_file_upload
|
|
|
- parser = MultiPartParser(META, post_data, self.upload_handlers, self.encoding)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\http\multipartparser.py", line 77, in __init__
|
|
|
- raise MultiPartParserError('Invalid boundary in multipart: %s' % force_str(boundary))
|
|
|
-django.http.multipartparser.MultiPartParserError: Invalid boundary in multipart: None
|
|
|
-[2021-03-12 10:39:24,108] [basehttp.py:157] [basehttp:log_message] [WARNING]- "POST /ocr/invoice_ocr/ HTTP/1.1" 400 143
|
|
|
-[2021-03-12 10:53:30,675] [log.py:230] [log:log_response] [WARNING]- Bad request (Unable to parse request body): /ocr/invoice_ocr/
|
|
|
-Traceback (most recent call last):
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
|
|
|
- response = get_response(request)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
|
|
|
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
|
|
|
- return self.dispatch(request, *args, **kwargs)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
|
|
|
- return handler(request, *args, **kwargs)
|
|
|
- File "D:\pythonProject\invoice_ocr\ocr\views.py", line 9, in post
|
|
|
- images = request.FILES.getlist('images')
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\wsgi.py", line 116, in FILES
|
|
|
- self._load_post_and_files()
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\http\request.py", line 350, in _load_post_and_files
|
|
|
- self._post, self._files = self.parse_file_upload(self.META, data)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\http\request.py", line 309, in parse_file_upload
|
|
|
- parser = MultiPartParser(META, post_data, self.upload_handlers, self.encoding)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\http\multipartparser.py", line 77, in __init__
|
|
|
- raise MultiPartParserError('Invalid boundary in multipart: %s' % force_str(boundary))
|
|
|
-django.http.multipartparser.MultiPartParserError: Invalid boundary in multipart: None
|
|
|
-[2021-03-12 10:53:30,676] [basehttp.py:157] [basehttp:log_message] [WARNING]- "POST /ocr/invoice_ocr/ HTTP/1.1" 400 143
|
|
|
-[2021-03-12 10:54:10,303] [log.py:230] [log:log_response] [ERROR]- Internal Server Error: /ocr/invoice_ocr/
|
|
|
-Traceback (most recent call last):
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
|
|
|
- response = get_response(request)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
|
|
|
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
|
|
|
- return self.dispatch(request, *args, **kwargs)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
|
|
|
- return handler(request, *args, **kwargs)
|
|
|
- File "D:\pythonProject\invoice_ocr\ocr\views.py", line 17, in post
|
|
|
- res = ocr.predict(images=image_list, invoice_type=invoice_type)
|
|
|
- File "D:\pythonProject\invoice_ocr\utils\PaddleOCR\deploy\hubserving\ocr_system\module.py", line 75, in predict
|
|
|
- raise TypeError("The input data is inconsistent with expectations.")
|
|
|
-TypeError: The input data is inconsistent with expectations.
|
|
|
-[2021-03-12 10:54:10,304] [basehttp.py:157] [basehttp:log_message] [ERROR]- "POST /ocr/invoice_ocr/ HTTP/1.1" 500 82628
|
|
|
-[2021-03-12 11:13:17,809] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
|
|
|
-[2021-03-12 11:14:31,507] [log.py:230] [log:log_response] [ERROR]- Internal Server Error: /ocr/invoice_ocr/
|
|
|
-Traceback (most recent call last):
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
|
|
|
- response = get_response(request)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
|
|
|
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
|
|
|
- return self.dispatch(request, *args, **kwargs)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
|
|
|
- return handler(request, *args, **kwargs)
|
|
|
- File "D:\pythonProject\invoice_ocr\ocr\views.py", line 17, in post
|
|
|
- res = ocr.predict(images=image_list, invoice_type=invoice_type)
|
|
|
- File "D:\pythonProject\invoice_ocr\utils\PaddleOCR\deploy\hubserving\ocr_system\module.py", line 75, in predict
|
|
|
- raise TypeError("The input data is inconsistent with expectations.")
|
|
|
-TypeError: The input data is inconsistent with expectations.
|
|
|
-[2021-03-12 11:14:31,509] [basehttp.py:157] [basehttp:log_message] [ERROR]- "POST /ocr/invoice_ocr/ HTTP/1.1" 500 84633
|
|
|
-[2021-03-12 11:18:02,722] [basehttp.py:157] [basehttp:log_message] [INFO]- "POST /ocr/invoice_ocr/ HTTP/1.1" 200 454
|
|
|
-[2021-03-12 11:22:41,428] [autoreload.py:240] [autoreload:trigger_reload] [INFO]- D:\pythonProject\invoice_ocr\ocr\views.py changed, reloading.
|
|
|
-[2021-03-12 11:22:46,928] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
|
|
|
-[2021-03-12 11:23:01,554] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
|
|
|
-[2021-03-12 11:23:10,062] [basehttp.py:157] [basehttp:log_message] [INFO]- "POST /ocr/invoice_ocr/ HTTP/1.1" 200 454
|
|
|
-[2021-03-12 11:23:23,249] [basehttp.py:157] [basehttp:log_message] [INFO]- "POST /ocr/invoice_ocr/ HTTP/1.1" 200 442
|
|
|
-[2021-03-12 11:23:28,630] [basehttp.py:157] [basehttp:log_message] [INFO]- "POST /ocr/invoice_ocr/ HTTP/1.1" 200 73
|
|
|
-[2021-03-12 11:23:33,706] [log.py:230] [log:log_response] [ERROR]- Internal Server Error: /ocr/invoice_ocr/
|
|
|
-Traceback (most recent call last):
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
|
|
|
- response = get_response(request)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
|
|
|
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
|
|
|
- return self.dispatch(request, *args, **kwargs)
|
|
|
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
|
|
|
- return handler(request, *args, **kwargs)
|
|
|
- File "D:\pythonProject\invoice_ocr\ocr\views.py", line 21, in post
|
|
|
- res = ocr.predict(images=image_list, invoice_type=invoice_type)
|
|
|
- File "D:\pythonProject\invoice_ocr\utils\PaddleOCR\deploy\hubserving\ocr_system\module.py", line 75, in predict
|
|
|
- raise TypeError("The input data is inconsistent with expectations.")
|
|
|
-TypeError: The input data is inconsistent with expectations.
|
|
|
-[2021-03-12 11:23:33,707] [basehttp.py:157] [basehttp:log_message] [ERROR]- "POST /ocr/invoice_ocr/ HTTP/1.1" 500 82466
|
|
|
-[2021-03-12 11:24:25,767] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
|
|
|
-[2021-03-12 11:24:28,224] [basehttp.py:157] [basehttp:log_message] [INFO]- "POST /ocr/invoice_ocr/ HTTP/1.1" 200 61
|
|
|
-[2021-03-12 12:07:10,402] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
|
|
|
-[2021-03-12 12:07:14,765] [log.py:230] [log:log_response] [WARNING]- Not Found: /
|
|
|
-[2021-03-12 12:07:14,766] [basehttp.py:157] [basehttp:log_message] [WARNING]- "GET / HTTP/1.1" 404 2030
|
|
|
-[2021-03-12 12:07:14,772] [log.py:230] [log:log_response] [WARNING]- Not Found: /
|
|
|
-[2021-03-12 12:07:14,772] [basehttp.py:157] [basehttp:log_message] [WARNING]- "GET / HTTP/1.1" 404 2030
|
|
|
-[2021-03-12 12:07:14,840] [log.py:230] [log:log_response] [WARNING]- Not Found: /favicon.ico
|
|
|
-[2021-03-12 12:07:14,840] [basehttp.py:157] [basehttp:log_message] [WARNING]- "GET /favicon.ico HTTP/1.1" 404 2081
|
|
|
-[2021-03-12 12:07:19,604] [basehttp.py:157] [basehttp:log_message] [INFO]- "GET /admin HTTP/1.1" 301 0
|
|
|
-[2021-03-12 12:07:19,623] [basehttp.py:157] [basehttp:log_message] [INFO]- "GET /admin/ HTTP/1.1" 302 0
|
|
|
-[2021-03-12 12:07:19,701] [basehttp.py:157] [basehttp:log_message] [INFO]- "GET /admin/login/?next=/admin/ HTTP/1.1" 200 2194
|
|
|
-[2021-03-12 12:07:19,728] [basehttp.py:157] [basehttp:log_message] [INFO]- "GET /static/admin/css/base.css HTTP/1.1" 200 16307
|
|
|
-[2021-03-12 12:07:19,733] [basehttp.py:157] [basehttp:log_message] [INFO]- "GET /static/admin/css/nav_sidebar.css HTTP/1.1" 200 2138
|
|
|
-[2021-03-12 12:07:19,734] [basehttp.py:157] [basehttp:log_message] [INFO]- "GET /static/admin/css/login.css HTTP/1.1" 200 1185
|
|
|
-[2021-03-12 12:07:19,736] [basehttp.py:157] [basehttp:log_message] [INFO]- "GET /static/admin/css/responsive.css HTTP/1.1" 200 18344
|
|
|
-[2021-03-12 12:07:19,739] [basehttp.py:157] [basehttp:log_message] [INFO]- "GET /static/admin/js/nav_sidebar.js HTTP/1.1" 200 1360
|
|
|
-[2021-03-12 12:07:19,751] [basehttp.py:157] [basehttp:log_message] [INFO]- "GET /static/admin/css/fonts.css HTTP/1.1" 200 423
|
|
|
-[2021-03-12 12:07:19,788] [basehttp.py:157] [basehttp:log_message] [INFO]- "GET /static/admin/fonts/Roboto-Light-webfont.woff HTTP/1.1" 200 85692
|
|
|
-[2021-03-12 12:07:19,788] [basehttp.py:157] [basehttp:log_message] [INFO]- "GET /static/admin/fonts/Roboto-Regular-webfont.woff HTTP/1.1" 200 85876
|
|
|
-[2021-03-12 12:07:26,692] [basehttp.py:157] [basehttp:log_message] [INFO]- "GET /admin/ HTTP/1.1" 302 0
|
|
|
-[2021-03-12 12:07:26,707] [basehttp.py:157] [basehttp:log_message] [INFO]- "GET /admin/login/?next=/admin/ HTTP/1.1" 200 2194
|
|
|
-[2021-03-12 14:04:43,609] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
|
|
|
-[2021-03-12 14:05:58,993] [basehttp.py:157] [basehttp:log_message] [INFO]- "POST /ocr/invoice_ocr/ HTTP/1.1" 200 454
|
|
|
-[2021-03-12 14:06:14,431] [basehttp.py:157] [basehttp:log_message] [INFO]- "POST /ocr/invoice_ocr/ HTTP/1.1" 200 447
|
|
|
-[2021-03-12 14:06:30,574] [basehttp.py:157] [basehttp:log_message] [INFO]- "POST /ocr/invoice_ocr/ HTTP/1.1" 200 374
|
|
|
-[2021-03-12 14:09:16,172] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
|
|
|
-[2021-03-12 14:09:23,605] [basehttp.py:157] [basehttp:log_message] [INFO]- "POST /ocr/invoice_ocr/ HTTP/1.1" 200 286
|
|
|
-[2021-03-12 14:10:35,165] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
|
|
|
-[2021-03-12 14:10:42,951] [basehttp.py:157] [basehttp:log_message] [INFO]- "POST /ocr/invoice_ocr/ HTTP/1.1" 200 374
|
|
|
-[2021-03-12 14:11:00,533] [basehttp.py:157] [basehttp:log_message] [INFO]- "POST /ocr/invoice_ocr/ HTTP/1.1" 200 447
|
|
|
-[2021-03-12 14:11:13,776] [basehttp.py:157] [basehttp:log_message] [INFO]- "POST /ocr/invoice_ocr/ HTTP/1.1" 200 454
|
|
|
-[2021-03-12 14:31:33,213] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
|
|
|
-[2021-03-12 14:31:42,325] [basehttp.py:157] [basehttp:log_message] [INFO]- "POST /ocr/invoice_ocr/ HTTP/1.1" 200 480
|
|
|
-[2021-03-12 14:32:00,245] [basehttp.py:157] [basehttp:log_message] [INFO]- "POST /ocr/invoice_ocr/ HTTP/1.1" 200 403
|
|
|
-[2021-03-12 14:32:27,593] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
|
|
|
-[2021-03-12 14:32:33,975] [basehttp.py:157] [basehttp:log_message] [INFO]- "POST /ocr/invoice_ocr/ HTTP/1.1" 200 447
|
|
|
-[2021-03-12 14:32:46,174] [basehttp.py:157] [basehttp:log_message] [INFO]- "POST /ocr/invoice_ocr/ HTTP/1.1" 200 454
|