xml2po error when generating POT file for genius-help
The help for genius does not create a new pot file in https://l10n.gnome.org/module/genius/
The error mentions xml2po, but genius stopped using that in GNOME/genius@8af21a05 in favor of itstool.
Genius was mentioned in #228 (closed) as "wrong detection heuristic, should be resolved when defaulting to itstool", so is there still some change that is needed on the D-L side for it not to try xml2po?
Error message:
xml2po -o <scratchdir>/git/genius/help/C/genius-help.pot -e C/legal.xml C/genius.xml
Traceback (most recent call last):
File "/usr/bin/xml2po", line 191, in
main(sys.argv[1:])
File "/usr/bin/xml2po", line 160, in main
xml2po_main = Main(default_mode, operation, output, options)
File "/usr/lib/python3.9/site-packages/xml2po/__init__.py", line 559, in __init__
self.out = file(output, 'w')
NameError: name 'file' is not defined
I also tried refreshing the statistics to see if it would fix it, but got a new error message mentioning xml2po:
An error occurred while updating statistics for branch master of module genius:
[Errno 2] No such file or directory: 'xml2po'