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

Build fails due to appstream metadata validation failure #18

Closed
a-wai opened this issue Oct 10, 2022 · 2 comments
Closed

Build fails due to appstream metadata validation failure #18

a-wai opened this issue Oct 10, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@a-wai
Copy link
Contributor

a-wai commented Oct 10, 2022

Appstream metadata validation fails, mostly due to the screenshot being invalid. Here's the relevant output:

==================================== 2/2 =====================================
test:         Validate appstream file
start time:   13:44:34
duration:     0.56s
result:       exit status 1
command:      MALLOC_PERTURB_=48 /usr/bin/appstream-util validate data/me.sanchezrodriguez.passes.metainfo.xml
----------------------------------- stdout -----------------------------------
data/me.sanchezrodriguez.passes.metainfo.xml: FAILED:
• attribute-invalid     : <screenshot> width too large [https://raw.githubusercontent.com/pablo-s/passes/main/data/screenshots/passes.png] maximum is 1600px
• attribute-invalid     : <screenshot> height too large [https://raw.githubusercontent.com/pablo-s/passes/main/data/screenshots/passes.png] maximum is 900px
• style-invalid         : <image> has vertical padding [https://raw.githubusercontent.com/pablo-s/passes/main/data/screenshots/passes.png]
• style-invalid         : <image> has horizontal padding [https://raw.githubusercontent.com/pablo-s/passes/main/data/screenshots/passes.png]
• style-invalid         : <ul> cannot start a description [(null)]
• style-invalid         : Not enough <p> tags for a good description [0/1]
----------------------------------- stderr -----------------------------------
Validation of files failed
==============================================================================

Note: this happened on Debian testing using appstream-util version 0.8.1

@pablo-s pablo-s added the bug Something isn't working label Oct 15, 2022
@pablo-s
Copy link
Owner

pablo-s commented Oct 16, 2022

Hello @a-wai ! I have just fixed the reported errors in commits 5eae3fb and 4b0c443. Thanks!

@pablo-s pablo-s closed this as completed Oct 16, 2022
@a-wai
Copy link
Contributor Author

a-wai commented Oct 20, 2022

Perfect, thanks for the quick fix :)

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

No branches or pull requests

2 participants