-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
gatsby-wordpress-source the thumbnail generation silently fails when gif is uploaded. #10465
Comments
We agree that this shouldn't fail silently though and should throw a more useful error. We'll look into this @arturhenryy Thank you for opening it. |
@arturhenryy Would it be possible to link to a minimal reproduction repo? That will enable us to move on this quickly |
hi @sidharthachatterjee sorry i only have a full blown production repo which i cant make public. |
@arturhenryy I understand If you'd like, you may share it with me privately via DM (I'm @chatsidhartha on Twitter) or invite me to the repo on GitHub |
Hey, me and @sidharthachatterjee were trying to reproduce it and get: {
"node": {
"title": "Hello world!",
"id": "2347739f-f4fa-5d13-8eac-4a0059e4ff82",
"acf": {
"gallery_custom_abcde": [
{
"slug": "200px-rotating_earth_large",
"localFile": {
"relativePath": ".cache/gatsby-source-filesystem/79cee5f2f6e8acb29191a56cfeea0938/200px-Rotating_earth_large.gif",
"childImageSharp": null
}
},
{
"slug": "screenshot-2018-12-13-at-17-56-10",
"localFile": {
"relativePath": ".cache/gatsby-source-filesystem/1621f4b101d5817c2cc942ad4c035fdf/Screenshot-2018-12-13-at-17.56.10.png",
"childImageSharp": {
"fluid": {
"base64": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAPCAYAAADkmO9VAAAACXBIWXMAAAsSAAALEgHS3X78AAABPElEQVQ4y6WT3ZKDIAyFfZBdq4L8CApILW3f/73OJnTb2audai/ORMF85oTQlHPBrdyRY0ZOZ5xJf+MeXS9XNMEHXAhaIeuGlcGkFPLrJ2+JvuX8xlmHuEQCrBXG75N2yMFTtDAjSf0vy3E0lOvR8MOWN0qe4IyrG107wEqBoe3RfXdvqf+NDYPu5YbZzUhLQpwjtJS02WM4DbvVWLKVQqplK2kQnMViR5y+HsC+3QemHtraQ7ZqRo11NihRQ/b7YY8KlaERybBkPc4eXisY6t9h4LOHwS8Ic6Iqxwp6wnZbttrQuKz1hFklGdr4ADgZi+tWsLhApxywTKZaFt1hyxYrDbXsJZRQtCgxmxHyKJBt8qFwsuhEXdRCHLL7qpDnkGFc5UAxTOqDsSEgX2yeQx4h0Ul4smxHcei2/AC11rB8sFegMwAAAABJRU5ErkJggg==",
"src": "/static/dfd312aff07ffc7667ef14f3e2c7b16d/8423c/Screenshot-2018-12-13-at-17.56.10.png",
"sizes": "(max-width: 800px) 100vw, 800px",
"srcSet": "/static/dfd312aff07ffc7667ef14f3e2c7b16d/8559d/Screenshot-2018-12-13-at-17.56.10.png 200w,\n/static/dfd312aff07ffc7667ef14f3e2c7b16d/78498/Screenshot-2018-12-13-at-17.56.10.png 400w,\n/static/dfd312aff07ffc7667ef14f3e2c7b16d/8423c/Screenshot-2018-12-13-at-17.56.10.png 800w,\n/static/dfd312aff07ffc7667ef14f3e2c7b16d/0a91e/Screenshot-2018-12-13-at-17.56.10.png 1200w,\n/static/dfd312aff07ffc7667ef14f3e2c7b16d/a13f1/Screenshot-2018-12-13-at-17.56.10.png 1338w"
}
}
}
}
]
}
}
} which is correct behaviour because {
allWordpressPost {
edges {
node {
title
id
acf {
gallery_custom_abcde {
slug
localFile {
# use publicURLif childImageSharp is null
publicURL
childImageSharp {
fluid {
base64
src
sizes
srcSet
}
}
}
}
}
}
}
}
} and check if |
@sidharthachatterjee hey sorry it took me a while to get back to this. the thing is that the missing following images could also be linked to this issue #10347. |
@arturhenryy I agree, we should log this. I'll write a quick patch for this once we resolve #10347 |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open! Thanks for being a part of the Gatsby community! 💪💜 |
Hey again! It’s been 30 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it. Please keep in mind that I’m only a robot, so if I’ve closed this issue in error, I’m Thanks again for being part of the Gatsby community! |
Description
Suddenly there where images missing on the page. after some search i realized that one of the images uploaded in the wp backend was a gif. after removing it all images showed up again. the problem seems to be that during the thumbnail generation the gif throws an error and the rest of the images after the gif are not generated. but there is no hint or error message.
Expected result
either support gifs or at least throw an error that the format is not supported and retry the rest of the images after the gif
Actual result
thumbnail generation fails
Environment
The text was updated successfully, but these errors were encountered: