/var/lib/weblate/scripts/save-suggestions.py fails with > AttributeError: 'NoneType' object has no attribute 'set_target'
Since some days, save-suggestions script is failing because something is missing, but it is not clear to me what.
I tried to find the error, but the site is giving 503's all the time and also I don't even know the language that is causing the error.
The language for the guilty file would be nice, and also the string that is causing trouble.
The complete message is:
2020-05-26 03:21:05,847 - saveSuggestions(ERROR): Got an exception for wiki/src/about/contact.*.po(0) Traceback (most recent call last): File "/var/lib/weblate/scripts/save-suggestions.py", line 89, in update_unit(translation, unit, s.target) File "/var/lib/weblate/scripts/save-suggestions.py", line 60, in update_unit pounit.set_target(target) # update po file with first suggestion AttributeError: 'NoneType' object has no attribute 'set_target' Traceback (most recent call last): File "/var/lib/weblate/scripts/save-suggestions.py", line 89, in update_unit(translation, unit, s.target) File "/var/lib/weblate/scripts/save-suggestions.py", line 60, in update_unit pounit.set_target(target) # update po file with first suggestion AttributeError: 'NoneType' object has no attribute 'set_target'