-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Bug: (invalid JPEG format: bad RST marker) #1673
Comments
see golang/go#40130 and golang/go#41875 |
Looks like we need to patch Go for this 🍿 |
I see. `Missing 0xff00 Sequence' It's the same bug? Thank you |
Most likely unless only few files are affected. They might have other issues then or are really broken. |
Waiting for this issue to be fixed in Go. If it takes more than 2 months, we'll have to release our own Go distribution. Remind me! |
It has been 2 months, here's your reminder! :) |
The code change seems minimal, I'm shocked they haven't merged it yet. Perhaps you'll need to follow their process and submit your own PR to get this pushed through? |
Tests are missing and you need to get familiar with the Google internal tools, which we currently don't have time for as we're drowning in work. Help welcome! |
FYI I took a look at the linked golang issue. As an aside, if there's an example image for the Missing 0xff00 Sequence issue I'd be interested to look at that whilst I have the golang src/build environment set up and my head is in the jpeg decoder. That may be solved by the linked fix 🤞 |
@lastzero In case you didn't notice, I submitted a PR on golang that solves the issue for at least the attached test image (and possibly others). |
@moosepants Thanks! Much appreciated as I am literally drowning in work 😵💫 |
@moosepants From what I can see, a review has been performed and some minor changes have been requested? |
Yes, I did see that - it's been on my todo for a while. It's winter here in Australia... a good time to work on code :)
Will try to resolve the issues and move it forward.
--
Seamus Allan
+61 (0) 459 634 898
… On 02/06/2022 1:33 PM Michael Mayer ***@***.***> wrote:
@moosepants https://github.com/moosepants From what I can see, a review has been performed and some minor changes have been requested?
👉 https://go-review.googlesource.com/c/go/+/382754/
—
Reply to this email directly, view it on GitHub #1673 (comment), or unsubscribe https://github.com/notifications/unsubscribe-auth/AQPYHTJ2TIJQ65EC4TBGBWLVNATPFANCNFSM5GXPXUSA.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Failed on (x/tools) linux-amd64: https://storage.googleapis.com/go-build-log/0b8005c5/linux-amd64_a29c2471.log Consult https://build.golang.org/ to see whether they are new failures. Keep in mind that TryBots currently test exactly your git commit, without rebasing. If your commit's git parent is old, the failure might've already been fixed. |
Signed-off-by: Michael Mayer <michael@photoprism.app>
Signed-off-by: Michael Mayer <michael@photoprism.app>
@mbelletti With the last commit, both images work for me! New preview build is available for testing soon. Let us know if you find any JPEGs that don't work yet so we can look into it. |
@lastzero Thank you. I will do |
I uploaded a jpg with a glitch that before gave errors (with Missing 0xff00 Sequence ), now is imported. https://demo.photoprism.app/library/albums/arqh3al2v8t3risn/view |
…m#1673 photoprism#2463 Signed-off-by: Michael Mayer <michael@photoprism.app>
What does not work as expected?
Many photos from iphone XSMax perfectly visibles on my mac, and on other devices, when imported in photoprism, gave this error:
index: failed creating thumbnails for IMG_xyzw.jpeg (invalid JPEG format: bad RST marker)
I've Library-> Hidden full of them and not visible at all.
I attach a photo as sample
The text was updated successfully, but these errors were encountered: