Spaces:
Running
Running
File size: 9,967 Bytes
9c71743 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 |
Collecting usage statistics. To deactivate, set browser.gatherUsageStats to false.
You can now view your Streamlit app in your browser.
Network URL: http://10.138.0.11:8501
External URL: http://34.127.13.224:8501
2024-04-26 14:13:40.949 Uncaught app exception
Traceback (most recent call last):
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script
exec(code, module.__dict__)
File "/home/aliasgarov/pdf_supporter/demo.py", line 70, in <module>
main()
File "/home/aliasgarov/pdf_supporter/demo.py", line 59, in main
img_crop = Image.open(io.BytesIO(pix.tobytes("ppm")))
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/fitz/__init__.py", line 10343, in tobytes
barray = self._tobytes(idx, jpg_quality)
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/fitz/__init__.py", line 9908, in _tobytes
elif format_ == 2: mupdf.fz_write_pixmap_as_pnm(out, pm)
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/fitz/mupdf.py", line 47561, in fz_write_pixmap_as_pnm
return _mupdf.fz_write_pixmap_as_pnm(out, pixmap)
fitz.mupdf.FzErrorArgument: code=4: Invalid bandwriter header dimensions/setup
2024-04-26 14:17:16.926 MediaFileHandler: Missing file b320a2d622a2a8bb698e3f4f3ba9f41c589b552f5f1d16d8e2bda11f.png
2024-04-26 16:05:37.997 Uncaught app exception
Traceback (most recent call last):
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script
exec(code, module.__dict__)
File "/home/aliasgarov/pdf_supporter/demo.py", line 70, in <module>
main()
File "/home/aliasgarov/pdf_supporter/demo.py", line 59, in main
img_crop = Image.open(io.BytesIO(pix.tobytes("ppm")))
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/fitz/__init__.py", line 10343, in tobytes
barray = self._tobytes(idx, jpg_quality)
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/fitz/__init__.py", line 9908, in _tobytes
elif format_ == 2: mupdf.fz_write_pixmap_as_pnm(out, pm)
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/fitz/mupdf.py", line 47561, in fz_write_pixmap_as_pnm
return _mupdf.fz_write_pixmap_as_pnm(out, pixmap)
fitz.mupdf.FzErrorArgument: code=4: Invalid bandwriter header dimensions/setup
2024-04-26 16:05:47.320 Uncaught app exception
Traceback (most recent call last):
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script
exec(code, module.__dict__)
File "/home/aliasgarov/pdf_supporter/demo.py", line 70, in <module>
main()
File "/home/aliasgarov/pdf_supporter/demo.py", line 59, in main
img_crop = Image.open(io.BytesIO(pix.tobytes("ppm")))
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/fitz/__init__.py", line 10343, in tobytes
barray = self._tobytes(idx, jpg_quality)
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/fitz/__init__.py", line 9908, in _tobytes
elif format_ == 2: mupdf.fz_write_pixmap_as_pnm(out, pm)
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/fitz/mupdf.py", line 47561, in fz_write_pixmap_as_pnm
return _mupdf.fz_write_pixmap_as_pnm(out, pixmap)
fitz.mupdf.FzErrorArgument: code=4: Invalid bandwriter header dimensions/setup
2024-04-26 16:07:36.641 Uncaught exception GET /media/4bfb60f3fade3edbf619f6357c60a9b159e32c6c164ed2ca91e47ed4.png (185.118.51.182)
HTTPServerRequest(protocol='http', host='sd.demo.polygraf.ai:8501', method='GET', uri='/media/4bfb60f3fade3edbf619f6357c60a9b159e32c6c164ed2ca91e47ed4.png', version='HTTP/1.1', remote_ip='185.118.51.182')
Traceback (most recent call last):
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/streamlit/runtime/memory_media_file_storage.py", line 140, in get_file
return self._files_by_id[file_id]
KeyError: '4bfb60f3fade3edbf619f6357c60a9b159e32c6c164ed2ca91e47ed4'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/tornado/web.py", line 1790, in _execute
result = await result
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/tornado/web.py", line 2693, in get
self.set_headers()
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/tornado/web.py", line 2805, in set_headers
self.set_extra_headers(self.path)
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/streamlit/web/server/media_file_handler.py", line 59, in set_extra_headers
media_file = self._storage.get_file(path)
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/streamlit/runtime/memory_media_file_storage.py", line 142, in get_file
raise MediaFileStorageError(
streamlit.runtime.media_file_storage.MediaFileStorageError: Bad filename '4bfb60f3fade3edbf619f6357c60a9b159e32c6c164ed2ca91e47ed4.png'. (No media file with id '4bfb60f3fade3edbf619f6357c60a9b159e32c6c164ed2ca91e47ed4')
2024-04-26 16:07:36.683 500 GET /media/4bfb60f3fade3edbf619f6357c60a9b159e32c6c164ed2ca91e47ed4.png (185.118.51.182) 85.45ms
2024-04-26 16:10:07.086 Uncaught app exception
Traceback (most recent call last):
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script
exec(code, module.__dict__)
File "/home/aliasgarov/pdf_supporter/demo.py", line 70, in <module>
main()
File "/home/aliasgarov/pdf_supporter/demo.py", line 59, in main
img_crop = Image.open(io.BytesIO(pix.tobytes("ppm")))
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/fitz/__init__.py", line 10343, in tobytes
barray = self._tobytes(idx, jpg_quality)
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/fitz/__init__.py", line 9908, in _tobytes
elif format_ == 2: mupdf.fz_write_pixmap_as_pnm(out, pm)
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/fitz/mupdf.py", line 47561, in fz_write_pixmap_as_pnm
return _mupdf.fz_write_pixmap_as_pnm(out, pixmap)
fitz.mupdf.FzErrorArgument: code=4: Invalid bandwriter header dimensions/setup
2024-04-26 16:11:34.899 Uncaught app exception
Traceback (most recent call last):
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script
exec(code, module.__dict__)
File "/home/aliasgarov/pdf_supporter/demo.py", line 70, in <module>
main()
File "/home/aliasgarov/pdf_supporter/demo.py", line 59, in main
img_crop = Image.open(io.BytesIO(pix.tobytes("ppm")))
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/fitz/__init__.py", line 10343, in tobytes
barray = self._tobytes(idx, jpg_quality)
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/fitz/__init__.py", line 9908, in _tobytes
elif format_ == 2: mupdf.fz_write_pixmap_as_pnm(out, pm)
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/fitz/mupdf.py", line 47561, in fz_write_pixmap_as_pnm
return _mupdf.fz_write_pixmap_as_pnm(out, pixmap)
fitz.mupdf.FzErrorArgument: code=4: Invalid bandwriter header dimensions/setup
2024-04-26 16:41:51.246 Uncaught app exception
Traceback (most recent call last):
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script
exec(code, module.__dict__)
File "/home/aliasgarov/pdf_supporter/demo.py", line 70, in <module>
main()
File "/home/aliasgarov/pdf_supporter/demo.py", line 59, in main
img_crop = Image.open(io.BytesIO(pix.tobytes("ppm")))
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/fitz/__init__.py", line 10343, in tobytes
barray = self._tobytes(idx, jpg_quality)
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/fitz/__init__.py", line 9908, in _tobytes
elif format_ == 2: mupdf.fz_write_pixmap_as_pnm(out, pm)
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/fitz/mupdf.py", line 47561, in fz_write_pixmap_as_pnm
return _mupdf.fz_write_pixmap_as_pnm(out, pixmap)
fitz.mupdf.FzErrorArgument: code=4: Invalid bandwriter header dimensions/setup
2024-04-26 16:42:03.642 Uncaught app exception
Traceback (most recent call last):
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script
exec(code, module.__dict__)
File "/home/aliasgarov/pdf_supporter/demo.py", line 70, in <module>
main()
File "/home/aliasgarov/pdf_supporter/demo.py", line 59, in main
img_crop = Image.open(io.BytesIO(pix.tobytes("ppm")))
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/fitz/__init__.py", line 10343, in tobytes
barray = self._tobytes(idx, jpg_quality)
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/fitz/__init__.py", line 9908, in _tobytes
elif format_ == 2: mupdf.fz_write_pixmap_as_pnm(out, pm)
File "/home/aliasgarov/pdfsupport/lib/python3.10/site-packages/fitz/mupdf.py", line 47561, in fz_write_pixmap_as_pnm
return _mupdf.fz_write_pixmap_as_pnm(out, pixmap)
fitz.mupdf.FzErrorArgument: code=4: Invalid bandwriter header dimensions/setup
Collecting usage statistics. To deactivate, set browser.gatherUsageStats to false.
You can now view your Streamlit app in your browser.
Network URL: http://10.138.0.11:8501
External URL: http://104.196.227.207:8501
Stopping...
Collecting usage statistics. To deactivate, set browser.gatherUsageStats to false.
You can now view your Streamlit app in your browser.
Network URL: http://10.138.0.11:8501
External URL: http://104.196.227.207:8501
2024-05-03 16:30:12.544 MediaFileHandler: Missing file f2b29efae916d8154f1cdf1d3c4c439869290e2015c09e061442ab9a.png
|