Page MenuHomePhabricator

Repair missing_commonscat
Closed, ResolvedPublic

Description

From the 2018-07-24 logs

2018-07-24_14:15:05 Make a list of missing commonscat links...
Traceback (most recent call last):
  File "/data/project/heritage/heritage/erfgoedbot/missing_commonscat_links.py", line 396, in <module>
    main()
  File "/data/project/heritage/heritage/erfgoedbot/missing_commonscat_links.py", line 389, in main
    cursor2))
  File "/data/project/heritage/heritage/erfgoedbot/missing_commonscat_links.py", line 74, in processCountry
    commonscats, withoutCommonscat, countryconfig)
  File "/data/project/heritage/heritage/erfgoedbot/missing_commonscat_links.py", line 186, in group_missing_commonscat_by_source
    missing_commonscat[source_link].append((u_name, monumentId))
AttributeError: 'dict' object has no attribute 'append'
CRITICAL: Closing network session.
<type 'exceptions.AttributeError'>

Event Timeline

Change 447784 had a related patch set uploaded (by Lokal Profil; owner: Lokal Profil):
[labs/tools/heritage@master] Hotfix for missing commonscat

https://gerrit.wikimedia.org/r/447784

Change 447784 merged by jenkins-bot:
[labs/tools/heritage@master] Hotfix for missing commonscat

https://gerrit.wikimedia.org/r/447784

Mentioned in SAL (#wikimedia-cloud) [2018-07-26T12:55:51Z] <Lokal_Profil> Deploy latest from Git master: 6bffdbb, 65f04d2, df4e313 (T200326), 2b5e868 (T176845)

Mentioned in SAL (#wikimedia-cloud) [2018-07-31T09:07:53Z] <Lokal_Profil> Deploy latest from Git master: 6bffdbb, 65f04d2, df4e313 (T200326), 2b5e868 (T176845)