question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Invalid AppStream Appdata

See original GitHub issue

Thanks for shipping AppStream Appdata. However, it fails validation by the AppStream CLI tool version: 0.9.4 (the one in Ubuntu 16.04):

E - itch.appdata.xml:itch.desktop
    Unknown type '(null)' for <translation/> tag.

W - itch.appdata.xml:itch.desktop
    Found invalid tag: 'languages'. Non-standard tags must be prefixed with "x-".

W - itch.appdata.xml:itch.desktop
    Found empty 'translation' tag.

E - itch.appdata.xml:itch.desktop
    'translation' tag has no 'type' property: 

Validation failed.
Failed to validate AppStream information with appstreamcli

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
ximioncommented, Oct 13, 2016

@fasterthanlime

Correct! So there’s no way to list the languages in which the app is translated, since there’s no separate -i18n package?

No - the AppStream metadata extractor will determine the l10n status from the translation domain referenced by the <translation/> tag. Additionally, I allowed the <languages/> tag for arbitrary components now, feel free to use it (and maybe use a newer validator to validate).

I’m willing to do that (although io.itch.itch sounds kinda silly), but you might want to fix the Quickstart guide so that its example includes a reverse-domain-name id (instead of gnome-power-manager). I’m now seeing the note, but it’s easy to miss!

Good catch! I thought I converted all of these entries, looks like I missed quite a few.

Thanks for the help so far, I’ll take another pass at it eventually. Is there an up-to-date “single HTML page” or PDF version of this? https://www.freedesktop.org/software/appstream/docs/index.html

No, but we could build one if there is interest in one (it’s all Docbook afterall).

0reactions
fasterthanlimecommented, Sep 18, 2018

Closing since we don’t ship an official .deb package anymore as of itch v25.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Invalid Application ID and other AppStream Appdata Issues
The id is not compliant with the AppStream specification. Specifically the section that states: "The ID must follow a reverse-DNS scheme, ...
Read more >
1830923 – appstream-util error: tag-invalid : <url> type invalid ...
Bug 1830923 - appstream-util error: tag-invalid : <url> type invalid [unknown] when validating mkvtoolnix appstream metadata.
Read more >
41.0 FAIL in Validate appstream file - gnome-builder - GitLab
After a successful build of 41.0 I get a FAIL in the Validate appstream file test. OS: Arch Linux. appstream-util --version Version: 0.7.18....
Read more >
Metadata Quickstart - AppStream 0.15 - Freedesktop.org
If no name tag (and no Name desktop-entry field) is present, the metadata is considered invalid and will be ignored by the AppStream...
Read more >
tag-invalid <icon> not allowed in appdata - devel - Fedora Mailing ...
Both are generated to include the icon tag - but now according to appstream-util this isn't allowed in the xml file any longer....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found