On Sun, Aug 9, 2020 at 12:44 PM Han-Wen Nienhuys <hanw...@gmail.com> wrote:

> make translation-status
>> translations-status.py
>> Reading documents...
>> Generating status pages...
>> translations-status.py:717: warning: using markup = TexiMarkup (): ugly
>> HTML
>>      output, questionable PDF and info output.
>>      Consider using HTML-only markup = HTMLMarkup ()
>> Traceback (most recent call last):
>>    File
>> "/home/jcharles/GIT/Traduc/scripts/auxiliar/translations-status.py",
>> line 817, in <module>
>>      open(os.path.join(l, 'en/translations.itexi'),
>> 'w').write(lang_status_page)
>> FileNotFoundError: [Errno 2] No such file or directory:
>> 'ca/en/translations.itexi'
>> make: *** [GNUmakefile:483: translation-status] Error 1
>>
>
thanks; there was a straightforward problem that I have a fix for, but now
I get

 Traceback (most recent call last):
  File "/home/hanwen/vc/lilypond/scripts/auxiliar/translations-status.py",
line 782, in <module>
    master_docs = [MasterTelyDocument(os.path.normpath(filename))
  File "/home/hanwen/vc/lilypond/scripts/auxiliar/translations-status.py",
line 782, in <listcomp>
    master_docs = [MasterTelyDocument(os.path.normpath(filename))
  File "/home/hanwen/vc/lilypond/scripts/auxiliar/translations-status.py",
line 669, in __init__
    [(lang, self.translated_factory(os.path.join(lang, self.filename),
  File "/home/hanwen/vc/lilypond/scripts/auxiliar/translations-status.py",
line 669, in <listcomp>
    [(lang, self.translated_factory(os.path.join(lang, self.filename),
  File "/home/hanwen/vc/lilypond/scripts/auxiliar/translations-status.py",
line 682, in translated_factory
    return TranslatedTelyDocument(filename, self, parent)
  File "/home/hanwen/vc/lilypond/scripts/auxiliar/translations-status.py",
line 419, in __init__
    self.translation = translation[self.language]
TypeError: 'set' object is not subscriptable


which was apparently caused by

14f96a55304d4133a02e5669a56d371a79ac62b8 is the first bad commit
commit 14f96a55304d4133a02e5669a56d371a79ac62b8
Author: Jean Abou Samra <j...@abou-samra.fr>
Date:   Sun Jul 12 17:38:42 2020 +0200

    Python cleanup (V): Clean up langdefs.py

Sorry that I haven't participated enough with it.
>>
>
no worries, the documentation build is too complicated for its own good. I
wouldn't blame anyone who wants to stay away from it.

-- 
Han-Wen Nienhuys - hanw...@gmail.com - http://www.xs4all.nl/~hanwen

Reply via email to