Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot generate thumbnails for serval photos shotted by iPhone #47

Open
hv0905 opened this issue Dec 4, 2024 · 0 comments
Open

Cannot generate thumbnails for serval photos shotted by iPhone #47

hv0905 opened this issue Dec 4, 2024 · 0 comments
Labels
bug Something isn't working Under Investigation

Comments

@hv0905
Copy link
Owner

hv0905 commented Dec 4, 2024

Logs:

2024-12-04 06:05:46.895 | INFO     | app.Services.upload_service:_upload_task:52 - Start indexing image 941581a6-37df-5e7d-b8dc-83bd6b4d86c7. Local: True. Size: 2541120
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1) 2024-12-04 06:05:46.895 | INFO     | app.Services.vector_db_context:validate_ids:96 - Validating 1 items from database...
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1) 2024-12-04 06:05:46.972 | INFO     | app.Services.transformers_service:get_image_vector:36 - Processing image...
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1) 2024-12-04 06:05:47.146 | SUCCESS  | app.Services.transformers_service:get_image_vector:39 - Image processed, now Inferring with CLIP model...
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1) 2024-12-04 06:05:48.537 | SUCCESS  | app.Services.transformers_service:get_image_vector:41 - Inference done. Time elapsed: 1.56s
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1) 2024-12-04 06:05:48.537 | INFO     | app.Services.ocr_services:ocr_interface:59 - Processing text with EasyPaddleOCR...
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1) 2024-12-04 06:06:01.148 | SUCCESS  | app.Services.ocr_services:ocr_interface:61 - OCR processed done. Time elapsed: 12.61s
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1) 2024-12-04 06:06:01.148 | INFO     | app.Services.transformers_service:get_bert_vector:59 - Inferring with BERT model...
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1) 2024-12-04 06:06:01.237 | SUCCESS  | app.Services.transformers_service:get_bert_vector:63 - BERT inference done. Time elapsed: 0.09s
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1) 2024-12-04 06:06:01.237 | INFO     | app.Services.vector_db_context:insertItems:148 - Inserting 1 items into Qdrant...
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1) 2024-12-04 06:06:01.240 | SUCCESS  | app.Services.vector_db_context:insertItems:155 - Insert completed! Status: completed
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1) 2024-12-04 06:06:01.240 | SUCCESS  | app.Services.upload_service:_upload_task:66 - Image 941581a6-37df-5e7d-b8dc-83bd6b4d86c7 indexed.
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1) 2024-12-04 06:06:01.240 | INFO     | app.Services.upload_service:_upload_task:69 - Start uploading image 941581a6-37df-5e7d-b8dc-83bd6b4d86c7 to local storage.
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1) 2024-12-04 06:06:01.244 | SUCCESS  | app.Services.storage.local_storage:upload:99 - Successfully uploaded file 2541120 bytes to /opt/NekoImageGallery/static/941581a6-37df-5e7d-b8dc-83bd6b4d86c7.jpeg via local_storage.
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1) 2024-12-04 06:06:01.244 | SUCCESS  | app.Services.upload_service:_upload_task:71 - Image 941581a6-37df-5e7d-b8dc-83bd6b4d86c7 uploaded to local storage.
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1) 2024-12-04 06:06:01.244 | INFO     | app.Services.upload_service:_upload_task:73 - Start generate and upload thumbnail for 941581a6-37df-5e7d-b8dc-83bd6b4d86c7.
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1) 2024-12-04 06:06:01.289 | ERROR    | app.Services.upload_service:_upload_worker:40 - Error occurred while uploading image 941581a6-37df-5e7d-b8dc-83bd6b4d86c7
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1) 2024-12-04 06:06:01.290 | ERROR    | app.Services.upload_service:_upload_worker:41 - image file is truncated (0 bytes not processed)
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1) Traceback (most recent call last):
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1) 
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)   File "/opt/NekoImageGallery/main.py", line 110, in <module>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     parser()
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     └ <typer.main.Typer object at 0x7afeec6cb390>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1) 
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)   File "/usr/local/lib/python3.11/site-packages/typer/main.py", line 310, in __call__
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     return get_command(self)(*args, **kwargs)
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)            │           │      │       └ {}
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)            │           │      └ ()
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)            │           └ <typer.main.Typer object at 0x7afeec6cb390>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)            └ <function get_command at 0x7afeeb3e5e40>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)   File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     return self.main(*args, **kwargs)
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)            │    │     │       └ {}
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)            │    │     └ ()
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)            │    └ <function TyperGroup.main at 0x7afeeb3e4720>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)            └ <TyperGroup NekoImageGallery>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)   File "/usr/local/lib/python3.11/site-packages/typer/core.py", line 723, in main
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     return _main(
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)            └ <function _main at 0x7afeeb3df880>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)   File "/usr/local/lib/python3.11/site-packages/typer/core.py", line 193, in _main
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     rv = self.invoke(ctx)
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)          │    │      └ <click.core.Context object at 0x7afeea620550>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)          │    └ <function MultiCommand.invoke at 0x7afeebb0af20>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)          └ <TyperGroup NekoImageGallery>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)   File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1666, in invoke
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     rv = super().invoke(ctx)
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)                         └ <click.core.Context object at 0x7afeea620550>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)   File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     return ctx.invoke(self.callback, **ctx.params)
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)            │   │      │    │           │   └ {'_': None, 'root_path': '/api', 'host': '0.0.0.0', 'port': 8000}
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)            │   │      │    │           └ <click.core.Context object at 0x7afeea620550>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)            │   │      │    └ <function server at 0x7afeea3d4b80>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)            │   │      └ <TyperGroup NekoImageGallery>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)            │   └ <function Context.invoke at 0x7afeebb09260>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)            └ <click.core.Context object at 0x7afeea620550>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)   File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     return __callback(*args, **kwargs)
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)                        │       └ {'_': None, 'root_path': '/api', 'host': '0.0.0.0', 'port': 8000}
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)                        └ ()
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)   File "/usr/local/lib/python3.11/site-packages/typer/main.py", line 693, in wrapper
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     return callback(**use_params)
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)            │          └ {'ctx': <click.core.Context object at 0x7afeea620550>, 'host': '0.0.0.0', 'port': 8000, 'root_path': '/api', '_': None}
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)            └ <function server at 0x7afeeb1eeb60>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1) 
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)   File "/opt/NekoImageGallery/main.py", line 51, in server
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     uvicorn.run("app.webapp:app", host=host, port=port, root_path=root_path)
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     │       │                          │          │               └ '/api'
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     │       │                          │          └ 8000
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     │       │                          └ '0.0.0.0'
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     │       └ <function run at 0x7afeeb1ee200>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     └ <module 'uvicorn' from '/usr/local/lib/python3.11/site-packages/uvicorn/__init__.py'>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1) 
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)   File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     server.run()
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     │      └ <function Server.run at 0x7afeeb1ee3e0>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     └ <uvicorn.server.Server object at 0x7afeeb1f3510>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)   File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     return asyncio.run(self.serve(sockets=sockets))
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)            │       │   │    │             └ None
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)            │       │   │    └ <function Server.serve at 0x7afeeb1ee480>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)            │       │   └ <uvicorn.server.Server object at 0x7afeeb1f3510>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)            │       └ <function run at 0x7afeebd5ae80>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)            └ <module 'asyncio' from '/usr/local/lib/python3.11/asyncio/__init__.py'>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)   File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     return runner.run(main)
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)            │      │   └ <coroutine object Server.serve at 0x7afeeb4887c0>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)            │      └ <function Runner.run at 0x7afeebce3e20>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)            └ <asyncio.runners.Runner object at 0x7afeea73a310>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)   File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     return self._loop.run_until_complete(task)
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)            │    │     │                  └ <Task pending name='Task-1' coro=<Server.serve() running at /usr/local/lib/python3.11/site-packages/uvicorn/server.py:69> wai...
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)            │    │     └ <method 'run_until_complete' of 'uvloop.loop.Loop' objects>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)            │    └ <uvloop.Loop running=True closed=False debug=False>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)            └ <asyncio.runners.Runner object at 0x7afeea73a310>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1) 
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1) > File "/opt/NekoImageGallery/app/Services/upload_service.py", line 37, in _upload_worker
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     await self._upload_task(img_data, *args)
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)           │    │            │          └ [b'\xff\xd8\xff\xe0\x00\x14JFIF\x00\x01\x01\x01\x01,\x01,\x00\x00AMPF\xff\xe14\xe1Exif\x00\x00MM\x00*\x00\x00\x00\x08\x00\x0c...
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)           │    │            └ MappedImage(id=UUID('941581a6-37df-5e7d-b8dc-83bd6b4d86c7'), url='/static/941581a6-37df-5e7d-b8dc-83bd6b4d86c7.jpeg', thumbna...
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)           │    └ <function UploadService._upload_task at 0x7afe91fc0360>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)           └ <app.Services.upload_service.UploadService object at 0x7afe89d1aa50>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1) 
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)   File "/opt/NekoImageGallery/app/Services/upload_service.py", line 76, in _upload_task
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     img.save(img_byte_arr, 'WebP', save_all=True)
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     │   │    └ <_io.BytesIO object at 0x7afee679f010>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     │   └ <function Image.save at 0x7afeea150d60>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     └ <PIL.MpoImagePlugin.MpoImageFile image mode=RGB size=4032x3024 at 0x7AFE8807A110>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1) 
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)   File "/usr/local/lib/python3.11/site-packages/PIL/Image.py", line 2439, in save
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     save_handler(self, fp, filename)
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     │            │     │   └ ''
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     │            │     └ <_io.BytesIO object at 0x7afee679f010>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     │            └ <PIL.MpoImagePlugin.MpoImageFile image mode=RGB size=4032x3024 at 0x7AFE8807A110>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     └ <function _save_all at 0x7afdb4f57600>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)   File "/usr/local/lib/python3.11/site-packages/PIL/WebPImagePlugin.py", line 272, in _save_all
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     ims.load()
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     │   └ <function ImageFile.load at 0x7afe8b1e5760>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     └ <PIL.MpoImagePlugin.MpoImageFile image mode=RGB size=4032x3024 at 0x7AFE8807A110>
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)   File "/usr/local/lib/python3.11/site-packages/PIL/ImageFile.py", line 288, in load
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)     raise OSError(msg)
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1)                   └ 'image file is truncated (0 bytes not processed)'
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1) 
[si0dm ](https://swarm.aiursoft.cn/#/tasks/si0dmq1szxhwyat2ehq77d9q8?log=1) OSError: image file is truncated (0 bytes not processed)

Maybe bugs from Pillow?

@hv0905 hv0905 added bug Something isn't working Under Investigation labels Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Under Investigation
Projects
None yet
Development

No branches or pull requests

1 participant