lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Side effects of MR 84 with scripts


From: Jean-Charles Malahieude
Subject: Re: Side effects of MR 84 with scripts
Date: Sun, 9 Aug 2020 18:09:15 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

Le 09/08/2020 à 13:12, Han-Wen Nienhuys a écrit :
On Sun, Aug 9, 2020 at 12:44 PM Han-Wen Nienhuys <hanwenn@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 <jean@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.


Not being a developer often doesn't help much…


MR321 is OK for me.
Thanks for having resolved the problem.

Cheers,
--
Jean-Charles



reply via email to

[Prev in Thread] Current Thread [Next in Thread]