Can I backport this commit to 2.3.x for cat.po?

Richard Kimberly Heck rikiheck at gmail.com
Fri Aug 25 15:47:13 UTC 2023


On 8/25/23 10:31, Scott Kostyshak wrote:
> On Fri, Aug 25, 2023 at 10:24:42AM -0400, Scott Kostyshak wrote:
>> On Ubuntu 23.04 I now get an error without the following commit in master: 9715d3504c6a74f9a498e2d9232956255110225d
>>
>> Here's the error:
>>
>> cd /home/scott/lyxbuilds/2.3.x/CMakeBuild/po && /usr/bin/python3 /home/scott/lyxbuilds/2.3.x/repo/development/cmake/po/cat.py /home/scott/lyxbuilds/2.3.x/CMakeBuild/po/qt4_l10n.pot /home/scott/lyxbuilds/2.3.x/CMakeBuild/po/layouts_l10n.pot /home/scott/lyxbuilds/2.3.x/CMakeBuild/po/languages_l10n.pot /home/scott/lyxbuilds/2.3.x/CMakeBuild/po/latexfonts_l10n.pot /home/scott/lyxbuilds/2.3.x/CMakeBuild/po/encodings_l10n.pot /home/scott/lyxbuilds/2.3.x/CMakeBuild/po/ui_l10n.pot /home/scott/lyxbuilds/2.3.x/CMakeBuild/po/external_l10n.pot /home/scott/lyxbuilds/2.3.x/CMakeBuild/po/formats_l10n.pot > /home/scott/lyxbuilds/2.3.x/CMakeBuild/po/lyx2.3.cat_tmp.pot
>> Traceback (most recent call last):
>>    File "/home/scott/lyxbuilds/2.3.x/repo/development/cmake/po/cat.py", line 34, in <module>
>>      fil = open(f, "rU")
>>            ^^^^^^^^^^^^^
>> ValueError: invalid mode: 'rU'
>> make[2]: *** [po/CMakeFiles/translations.dir/build.make:1384: po/lyx2.3.cat.pot] Error 1
>>
>> Can I cherry-pick to 2.3.x?
> Additionally to build I needed to cherry-pick 8c4d6bbb.
>
> Is that OK also?

Yes, go ahead.

Riki




More information about the lyx-devel mailing list