You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed here, appstreamcli validate was not able to explain a problem in a metainfo file. Even worse, it was leading me on a wrong track.
The error printed by appstreamcli is:
$ appstreamcli validate-tree --no-net --explain build/files
org.frescobaldi.Frescobaldi.metainfo.xml
E: org.frescobaldi.Frescobaldi:~: app-categories-missing
This component is in no valid categories, even though it should be. Please check its metainfo
file and desktop-entry file.
? Validation failed: errors: 1, pedantic: 1
The categories are set in the desktop file and I know that appstreamcli should check categories in the desktop file if they are not present in the metainfo. So my guess was that for some reason the desktop file could not be found. A wrong guess.
Eventually I was told that the problem is the presence of this tag in my metainfo file:
As discussed here,
appstreamcli validate
was not able to explain a problem in a metainfo file. Even worse, it was leading me on a wrong track.The error printed by appstreamcli is:
The categories are set in the desktop file and I know that appstreamcli should check categories in the desktop file if they are not present in the metainfo. So my guess was that for some reason the desktop file could not be found. A wrong guess.
Eventually I was told that the problem is the presence of this tag in my metainfo file:
For the records, appstream-util was able to detect and explain the error correctly, here's the output:
Can you improve this error detection?
Thanks
The text was updated successfully, but these errors were encountered: