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

Scott Kostyshak skostysh at lyx.org
Fri Aug 25 14:31:27 UTC 2023


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?

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20230825/ff4168d3/attachment.asc>


More information about the lyx-devel mailing list