Skip to content
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.

Build fails when image download fails #5

Open
capsia37 opened this issue Jun 14, 2021 · 0 comments
Open

Build fails when image download fails #5

capsia37 opened this issue Jun 14, 2021 · 0 comments

Comments

@capsia37
Copy link

capsia37 commented Jun 14, 2021

Hi, the plugin sometimes makes the build fail if an image isn't downloaded correctly. It appears that it isn't related to the image since it is there and it works most of the time.
I think that it would be better if the build wouldn't fail when a download fails, instead the plugin should just skip it.

[Error: VipsJpeg: Premature end of JPEG file
VipsJpeg: out of order read at line 0
]
An error occurred while executing page-query for src/templates/Device.vue
Error: Expected node, got `https://fdn2.gsmarena.com/vv/pics/yureka/yu-yureka-yu5040-1.jpg`
GraphQL request:164:5
163 |     enableMdRendering
164 |     content
    |     ^
165 |     portStatus {
    at throwError (/builds/ubports/infrastructure/devices.ubuntu-touch.io/node_modules/gridsome/lib/app/build/executeQueries.js:22:13)
    at pMap.concurrency (/builds/ubports/infrastructure/devices.ubuntu-touch.io/node_modules/gridsome/lib/app/build/executeQueries.js:59:9)

For the full log you can check:
https://gitlab.com/ubports/infrastructure/devices.ubuntu-touch.io/-/jobs/1346050084

Code and configuration is available at:
https://gitlab.com/ubports/infrastructure/devices.ubuntu-touch.io/

Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant