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

Duplicated data detected while there is none #477

Open
eclipseo opened this issue Nov 14, 2023 · 1 comment
Open

Duplicated data detected while there is none #477

eclipseo opened this issue Nov 14, 2023 · 1 comment

Comments

@eclipseo
Copy link

Given this metainfo:

<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
  <id>org.merkaartor.merkaartor</id>
  <launchable type="desktop-id">org.merkaartor.merkaartor.desktop</launchable>
  <name>Merkaartor</name>
  <summary>OpenStreetMap editor</summary>
  <metadata_license>CC0-1.0</metadata_license>
  <project_license>GPL-2.0</project_license>
  <description>
    <p>Merkaartor is a map editor for OpenStreetMap.org, the free editable map of the whole world. Features:</p>
    <ul>
      <li>Download from and upload to the OpenStreetMap server</li>
      <li>Open .osm and .gpx files</li>
      <li>Create and move trackpoints, ways, and areas</li>
      <li>Add tags, delete features</li>
      <li>Reverse, split and join ways</li>
      <li>Visualize some leisure/landuse areas and road types</li>
      <li>Displaying GPS information</li>
    </ul>
  </description>
  <screenshots>
    <screenshot type="default">
      <caption>Merkaartor 0.15.3 with Mapnik style</caption>
​      <image>https://wiki.openstreetmap.org/w/images/0/04/Merkaartor_0.15.3.png</image>
    </screenshot>
    <screenshot>
      <caption>Merkaartor 0.15.3 with Maxspeed style</caption>
​      <image>https://wiki.openstreetmap.org/w/images/b/b4/Merkaartor_0.15.3_maxspeed.png</image>
    </screenshot>
    <screenshot>
      <caption>Merkaartor 0.15.3 showing the fully localized GUI</caption>
​      <image>https://wiki.openstreetmap.org/w/images/4/48/Merkaartor_0.15.3_i18n.png</image>
    </screenshot>
    <screenshot>
      <caption>Merkaartor 0.15.3 with WMS background and semi-transparent map layer</caption>
​      <image>https://wiki.openstreetmap.org/w/images/c/c9/Merkaartor_0.15.3_wms.png</image>
    </screenshot>
  </screenshots>
  <url type="bugtracker">https://github.com/openstreetmap/merkaartor/issues</url>
  <url type="homepage">http://merkaartor.be/</url>
  <update_contact>[email protected]</update_contact>
  <translation type="qt">merkaartor</translation>
</component>

When trying to validate it, I get:

appstream-util validate-relax --nonet org.merkaartor.merkaartor.appdata.xml 
org.merkaartor.merkaartor.appdata.xml: FAILED:
• duplicate-data        : <screenshot> has duplicated data
Validation of files failed

And I really don't understand why.

@hughsie
Copy link
Owner

hughsie commented Nov 14, 2023

Hmm, I'm not sure why either. Can you have a look at libappstream-glib/as-app-validate.c and see if you can see anything fishy please?

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