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

error when processing some images #87

Closed
hermanw opened this issue Jul 5, 2023 · 4 comments · Fixed by #88
Closed

error when processing some images #87

hermanw opened this issue Jul 5, 2023 · 4 comments · Fixed by #88
Assignees
Labels
bug Something isn't working

Comments

@hermanw
Copy link

hermanw commented Jul 5, 2023

[2023-07-02T12:57:38Z INFO this_week_in_past::scheduler] Begin resource indexing
[2023-07-02T12:57:38Z INFO this_week_in_past::scheduler] Indexing resources, this may take some time depending on the amount of resources...
[2023-07-02T12:57:38Z INFO this_week_in_past] 🚀 Launching webserver on http://0.0.0.0:8080 🚀
[2023-07-02T12:57:38Z INFO actix_server::builder] Starting 3 workers
[2023-07-02T12:57:38Z INFO actix_server::server] Actix runtime found; starting in Actix runtime
thread '' panicked at 'Failed to read file /resources/herman/2022/2022-10-03/IMG_8158+1.HEIC: Invalid argument (os error 22)', src/filesystem_client.rs:53:33
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

@RouHim RouHim self-assigned this Jul 5, 2023
@RouHim
Copy link
Owner

RouHim commented Jul 5, 2023

Hello @hermanw ,
can you please re-run the application with: RUST_BACKTRACE=1 ?
Did you check if the affected file, is corrupted?
Thanks.

@RouHim RouHim added the bug Something isn't working label Jul 5, 2023
@hermanw
Copy link
Author

hermanw commented Jul 6, 2023

This file is good. I can open it correctly in Windows from the same place.
You may look into two things:

  1. The filename contain a "+" sign, will it bring trouble?
  2. Is the image file format .HEIC supported? It comes from iPhone

@RouHim
Copy link
Owner

RouHim commented Jul 6, 2023

Ok thanks I'll look into this.
Does the picture contain anything private? If not, I would be grateful if you could send me the picture (rouven(at)himmelstein.info). If you do not want to send it not problem, then I try to reproduce it synthetically.

@RouHim
Copy link
Owner

RouHim commented Jul 10, 2023

Thanks for sending this image. But due to image-rs/image#1375 HEIF / HEIC images are not supported currently. I'll implement a console output that tells the user.

@RouHim RouHim linked a pull request Jul 10, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants