all-2021-03-11.log 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. [2021-03-11 15:45:11,090] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
  2. [2021-03-11 15:45:18,176] [basehttp.py:157] [basehttp:log_message] [INFO]- "POST /ocr/invoice_ocr/ HTTP/1.1" 200 36
  3. [2021-03-11 16:48:41,324] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
  4. [2021-03-11 16:55:01,145] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
  5. [2021-03-11 16:56:00,609] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
  6. [2021-03-11 16:56:39,716] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
  7. [2021-03-11 16:56:44,906] [log.py:230] [log:log_response] [ERROR]- Internal Server Error: /ocr/invoice_ocr/
  8. Traceback (most recent call last):
  9. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
  10. response = get_response(request)
  11. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
  12. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  13. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
  14. return self.dispatch(request, *args, **kwargs)
  15. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
  16. return handler(request, *args, **kwargs)
  17. File "D:\pythonProject\invoice_ocr\ocr\views.py", line 14, in post
  18. res = ocr.predict(paths=image_path)
  19. File "D:\pythonProject\invoice_ocr\PaddleOCR\deploy\hubserving\ocr_system\module.py", line 72, in predict
  20. predicted_data = self.read_images(paths)
  21. File "D:\pythonProject\invoice_ocr\PaddleOCR\deploy\hubserving\ocr_system\module.py", line 51, in read_images
  22. img_path), "The {} isn't a valid file.".format(img_path)
  23. AssertionError: The .PaddleOCR/doc/imgs/11.jpg isn't a valid file.
  24. [2021-03-11 16:56:44,907] [basehttp.py:157] [basehttp:log_message] [ERROR]- "POST /ocr/invoice_ocr/ HTTP/1.1" 500 83254
  25. [2021-03-11 16:57:26,616] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
  26. [2021-03-11 16:57:30,898] [log.py:230] [log:log_response] [ERROR]- Internal Server Error: /ocr/invoice_ocr/
  27. Traceback (most recent call last):
  28. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
  29. response = get_response(request)
  30. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
  31. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  32. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
  33. return self.dispatch(request, *args, **kwargs)
  34. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
  35. return handler(request, *args, **kwargs)
  36. File "D:\pythonProject\invoice_ocr\ocr\views.py", line 14, in post
  37. res = ocr.predict(paths=image_path)
  38. File "D:\pythonProject\invoice_ocr\PaddleOCR\deploy\hubserving\ocr_system\module.py", line 85, in predict
  39. dt_boxes, rec_res = self.text_sys(img)
  40. AttributeError: 'OCRSystem' object has no attribute 'text_sys'
  41. [2021-03-11 16:57:30,899] [basehttp.py:157] [basehttp:log_message] [ERROR]- "POST /ocr/invoice_ocr/ HTTP/1.1" 500 81632
  42. [2021-03-11 17:09:26,941] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
  43. [2021-03-11 17:09:30,716] [log.py:230] [log:log_response] [ERROR]- Internal Server Error: /ocr/invoice_ocr/
  44. Traceback (most recent call last):
  45. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
  46. response = get_response(request)
  47. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
  48. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  49. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
  50. return self.dispatch(request, *args, **kwargs)
  51. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
  52. return handler(request, *args, **kwargs)
  53. File "D:\pythonProject\invoice_ocr\ocr\views.py", line 14, in post
  54. res = ocr.predict(paths=image_path)
  55. File "D:\pythonProject\invoice_ocr\PaddleOCR\deploy\hubserving\ocr_system\module.py", line 85, in predict
  56. dt_boxes, rec_res = self.text_sys(img)
  57. AttributeError: 'OCRSystem' object has no attribute 'text_sys'
  58. [2021-03-11 17:09:30,717] [basehttp.py:157] [basehttp:log_message] [ERROR]- "POST /ocr/invoice_ocr/ HTTP/1.1" 500 82459
  59. [2021-03-11 17:10:55,703] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
  60. [2021-03-11 17:11:02,591] [log.py:230] [log:log_response] [ERROR]- Internal Server Error: /ocr/invoice_ocr/
  61. Traceback (most recent call last):
  62. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
  63. response = get_response(request)
  64. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
  65. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  66. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
  67. return self.dispatch(request, *args, **kwargs)
  68. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
  69. return handler(request, *args, **kwargs)
  70. File "D:\pythonProject\invoice_ocr\ocr\views.py", line 14, in post
  71. res = ocr.predict(paths=image_path)
  72. File "D:\pythonProject\invoice_ocr\PaddleOCR\deploy\hubserving\ocr_system\module.py", line 85, in predict
  73. dt_boxes, rec_res = self.text_sys(img)
  74. AttributeError: 'OCRSystem' object has no attribute 'text_sys'
  75. [2021-03-11 17:11:02,593] [basehttp.py:157] [basehttp:log_message] [ERROR]- "POST /ocr/invoice_ocr/ HTTP/1.1" 500 81741
  76. [2021-03-11 17:35:31,917] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
  77. [2021-03-11 17:35:41,540] [log.py:230] [log:log_response] [ERROR]- Internal Server Error: /ocr/invoice_ocr/
  78. Traceback (most recent call last):
  79. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
  80. response = get_response(request)
  81. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
  82. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  83. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
  84. return self.dispatch(request, *args, **kwargs)
  85. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
  86. return handler(request, *args, **kwargs)
  87. File "D:\pythonProject\invoice_ocr\ocr\views.py", line 17, in post
  88. res = ocr.predict(paths=image_path)
  89. File "D:\pythonProject\invoice_ocr\PaddleOCR\deploy\hubserving\ocr_system\module.py", line 85, in predict
  90. dt_boxes, rec_res = self.text_sys(img)
  91. AttributeError: 'OCRSystem' object has no attribute 'text_sys'
  92. [2021-03-11 17:35:41,542] [basehttp.py:157] [basehttp:log_message] [ERROR]- "POST /ocr/invoice_ocr/ HTTP/1.1" 500 82573
  93. [2021-03-11 17:36:43,172] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
  94. [2021-03-11 17:36:46,332] [log.py:230] [log:log_response] [ERROR]- Internal Server Error: /ocr/invoice_ocr/
  95. Traceback (most recent call last):
  96. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
  97. response = get_response(request)
  98. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
  99. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  100. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
  101. return self.dispatch(request, *args, **kwargs)
  102. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
  103. return handler(request, *args, **kwargs)
  104. File "D:\pythonProject\invoice_ocr\ocr\views.py", line 16, in post
  105. res = ocr.predict(paths=image_path)
  106. File "D:\pythonProject\invoice_ocr\PaddleOCR\deploy\hubserving\ocr_system\module.py", line 85, in predict
  107. dt_boxes, rec_res = self.text_sys(img)
  108. AttributeError: 'OCRSystem' object has no attribute 'text_sys'
  109. [2021-03-11 17:36:46,333] [basehttp.py:157] [basehttp:log_message] [ERROR]- "POST /ocr/invoice_ocr/ HTTP/1.1" 500 82334
  110. [2021-03-11 17:38:20,368] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
  111. [2021-03-11 17:38:26,483] [log.py:230] [log:log_response] [ERROR]- Internal Server Error: /ocr/invoice_ocr/
  112. Traceback (most recent call last):
  113. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
  114. response = get_response(request)
  115. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
  116. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  117. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
  118. return self.dispatch(request, *args, **kwargs)
  119. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
  120. return handler(request, *args, **kwargs)
  121. File "D:\pythonProject\invoice_ocr\ocr\views.py", line 15, in post
  122. res = ocr.predict(paths=image_path)
  123. File "D:\pythonProject\invoice_ocr\PaddleOCR\deploy\hubserving\ocr_system\module.py", line 85, in predict
  124. dt_boxes, rec_res = self.text_sys(img)
  125. AttributeError: 'OCRSystem' object has no attribute 'text_sys'
  126. [2021-03-11 17:38:26,485] [basehttp.py:157] [basehttp:log_message] [ERROR]- "POST /ocr/invoice_ocr/ HTTP/1.1" 500 82333
  127. [2021-03-11 17:42:13,675] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
  128. [2021-03-11 17:42:46,110] [log.py:230] [log:log_response] [ERROR]- Internal Server Error: /ocr/invoice_ocr/
  129. Traceback (most recent call last):
  130. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
  131. response = get_response(request)
  132. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
  133. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  134. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
  135. return self.dispatch(request, *args, **kwargs)
  136. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
  137. return handler(request, *args, **kwargs)
  138. File "D:\pythonProject\invoice_ocr\ocr\views.py", line 15, in post
  139. res = ocr.predict(paths=image_path)
  140. File "D:\pythonProject\invoice_ocr\PaddleOCR\deploy\hubserving\ocr_system\module.py", line 85, in predict
  141. dt_boxes, rec_res = self.text_sys(img)
  142. AttributeError: 'OCRSystem' object has no attribute 'text_sys'
  143. [2021-03-11 17:42:46,115] [basehttp.py:157] [basehttp:log_message] [ERROR]- "POST /ocr/invoice_ocr/ HTTP/1.1" 500 84339
  144. [2021-03-11 17:44:59,338] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
  145. [2021-03-11 17:46:38,923] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
  146. [2021-03-11 17:46:49,402] [log.py:230] [log:log_response] [ERROR]- Internal Server Error: /ocr/invoice_ocr/
  147. Traceback (most recent call last):
  148. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
  149. response = get_response(request)
  150. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
  151. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  152. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
  153. return self.dispatch(request, *args, **kwargs)
  154. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
  155. return handler(request, *args, **kwargs)
  156. File "D:\pythonProject\invoice_ocr\ocr\views.py", line 15, in post
  157. res = ocr.predict(paths=image_path)
  158. File "D:\pythonProject\invoice_ocr\PaddleOCR\deploy\hubserving\ocr_system\module.py", line 85, in predict
  159. dt_boxes, rec_res = self.text_sys(img)
  160. AttributeError: 'OCRSystem' object has no attribute 'text_sys'
  161. [2021-03-11 17:46:49,403] [basehttp.py:157] [basehttp:log_message] [ERROR]- "POST /ocr/invoice_ocr/ HTTP/1.1" 500 82334
  162. [2021-03-11 17:47:33,531] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
  163. [2021-03-11 17:47:43,431] [basehttp.py:157] [basehttp:log_message] [INFO]- "POST /ocr/invoice_ocr/ HTTP/1.1" 200 2809
  164. [2021-03-11 17:49:15,419] [autoreload.py:240] [autoreload:trigger_reload] [INFO]- D:\pythonProject\invoice_ocr\PaddleOCR\deploy\hubserving\ocr_system\module.py changed, reloading.
  165. [2021-03-11 17:49:18,917] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
  166. [2021-03-11 18:04:57,114] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
  167. [2021-03-11 18:07:58,829] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
  168. [2021-03-11 18:08:09,947] [log.py:230] [log:log_response] [ERROR]- Internal Server Error: /ocr/invoice_ocr/
  169. Traceback (most recent call last):
  170. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
  171. response = get_response(request)
  172. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
  173. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  174. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
  175. return self.dispatch(request, *args, **kwargs)
  176. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
  177. return handler(request, *args, **kwargs)
  178. File "D:\pythonProject\invoice_ocr\ocr\views.py", line 9, in post
  179. image = images.read()
  180. AttributeError: 'list' object has no attribute 'read'
  181. [2021-03-11 18:08:09,950] [basehttp.py:157] [basehttp:log_message] [ERROR]- "POST /ocr/invoice_ocr/ HTTP/1.1" 500 78453
  182. [2021-03-11 18:09:34,381] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
  183. [2021-03-11 18:14:45,668] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
  184. [2021-03-11 18:14:48,585] [log.py:230] [log:log_response] [ERROR]- Internal Server Error: /ocr/invoice_ocr/
  185. Traceback (most recent call last):
  186. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
  187. response = get_response(request)
  188. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
  189. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  190. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
  191. return self.dispatch(request, *args, **kwargs)
  192. File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
  193. return handler(request, *args, **kwargs)
  194. File "D:\pythonProject\invoice_ocr\ocr\views.py", line 12, in post
  195. img = cv2.imdecode(image.read(), cv2.IMREAD_ANYCOLOR)
  196. TypeError: Expected Ptr<cv::UMat> for argument 'buf'
  197. [2021-03-11 18:14:48,587] [basehttp.py:157] [basehttp:log_message] [ERROR]- "POST /ocr/invoice_ocr/ HTTP/1.1" 500 78852