[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

udd/blends_metadata_gathener.py hints



Hello Andreas,

When I try to run the the udd/blends_metadata_gathener.py locally for some testing I get:

Traceback (most recent call last):
  File "./local.udd.py", line 86, in <module>
    exec "gatherer.%s()" % command
  File "<string>", line 1, in <module>
  File "/home/alamages/Projects/udd/udd/blends_metadata_gatherer.py", line 217, in run
    self.cur.execute(query)
psycopg2.ProgrammingError: column "metapackage_name" of relation "blends_tasks" does not exist
LINE 1: ...n, enhances, leaf, test_always_lang, metapackage, metapackag...

Although the "metapackage_name" field in blends_tasks table is defined in udd/sql/setup.sql it does not appear into UDD latest dump either in UDD instance in udd.debian.org.

Once I removed the "metapackage_name" from the blends_metadata_gatherer.py everything worked fine.

Any ideas why the UDD schema is missing this field?

Also in order to test the gatheners locally with udd/udd.py I do for example

./udd.py CONF_FILE COMMAND SOURCE(eg blends-metadata)

In order to make the importer capable to import a single Blend how should we provide the wanted single Blend as an option? Should we provide it as an extra option along with the SOURCE argument or through the CONF_FILE?

Kind regards

Emmanouil


Reply to: