abhi11 / tanglu-dak

GNU General Public License v2.0
0 stars 2 forks source link

Creates invalid data (components with the same ID present) #16

Closed ximion closed 10 years ago

ximion commented 10 years ago

Running against a copy of Tanglu bartholomea main, I get:

FATAL: Found two components with the same ID: flsudoku.desktop.
FATAL: Found two components with the same ID: flcheckers.desktop.
FATAL: Found two components with the same ID: flblocks.desktop.

when validating the resulting file.

ximion commented 10 years ago

This is related to #9 , but more important - there must never be two components with the same ID.

ximion commented 10 years ago

This is most likely caused by this function returning duplicated entries: https://github.com/abhi11/tanglu-dak/blob/master/dak/find_metainfo.py#L174 - likely the SQL needs improvements.

ximion commented 10 years ago

Fixed.