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

Plugin aborts on irrelevant appstreamcli warning #19

Closed
kybos opened this issue Nov 17, 2020 · 2 comments
Closed

Plugin aborts on irrelevant appstreamcli warning #19

kybos opened this issue Nov 17, 2020 · 2 comments

Comments

@kybos
Copy link

kybos commented Nov 17, 2020

Hi,

The creation of appimage aborts because of a simple warning in the appdata.xml file:

appimagetool, continuous build (commit 0880085), build 2133 built on 2020-07-09 12:25:52 UTC
Using architecture x86_64
/home/kybos/Projects/muse-fork/appimage/appdir should be packaged as MusE-master-x86_64.AppImage
AppStream upstream metadata found in usr/share/metainfo/org.musesequencer.Muse3.appdata.xml
Trying to validate AppStream information with the appstreamcli tool
In case of issues, please refer to https://github.com/ximion/appstream
W - org.musesequencer.Muse3.appdata.xml:org.musesequencer.Muse3:9
    Found empty 'content_rating' tag.

Validation failed: warnings: 1, pedantic: 5
Failed to validate AppStream information with appstreamcli

Can this be circumvented or changed somehow? I guess this kind of warning shouldn't cause the whole process to abort.
The problem is that the content_rating tag is required by FlatHub (even empty, as no rating is applicable in our case), so it's quite a deadlock.

Thanks
Kybos

@TheAssassin
Copy link
Member

I once suggested the AppStream folks to return a different exit code if only warnings are found, but they consider warnings serious issues, too. We don't want to parse the output of this application, we only read the exit code, so we can't differentiate any better.

Please consider fixing the AppStream file.

@kybos
Copy link
Author

kybos commented Nov 17, 2020

Thanks for your fast response.
That's exactly what I did, I fixed the AppStream file. With the result that now the flatpack creation fails...

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

No branches or pull requests

2 participants