Page MenuHomePhabricator

Statistics fail on Wikidata harvested dataset
Closed, ResolvedPublic


2019-09-09_13:46:59 Make statistics...

Traceback (most recent call last):
  File "/data/project/heritage/heritage/erfgoedbot/", line 281, in <module>
  File "/data/project/heritage/heritage/erfgoedbot/", line 274, in main
    country, language, conn, cursor)
KeyError: u'au'

Event Timeline

Can’t reproduce this locally. I did a harvest of ge:ka and another of au:en, ran fill_table_monuments_all and then database_statistics − the stats are generated just fine :-/

Change 535292 had a related patch set uploaded (by Jean-Frédéric; owner: Jean-Frédéric):
[labs/tools/heritage@master] Do not skip Wikidata datasets when making statistis

Change 535292 merged by jenkins-bot:
[labs/tools/heritage@master] Do not skip Wikidata datasets when making statistics

Mentioned in SAL (#wikimedia-cloud) [2019-09-09T21:42:35Z] <JeanFred> Deploy latest from Git master: 0a4fbae, dff30f0 (T232394, T138668)