aliasgerovs's picture
Updated
9c71743
raw
history blame
9.97 kB
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