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

2023-08-25 Thread Scott Kostyshak
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 
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?

Scott


signature.asc
Description: PGP signature
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


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

2023-08-25 Thread Scott Kostyshak
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 
> 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


signature.asc
Description: PGP signature
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


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

2023-08-25 Thread Richard Kimberly Heck

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 

 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


--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


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

2023-08-25 Thread Scott Kostyshak
On Fri, Aug 25, 2023 at 11:47:13AM -0400, Richard Kimberly Heck wrote:
> 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 
> > >  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.

Thanks, done at dee5eec1 and 6b4c7c5e.

Scott


signature.asc
Description: PGP signature
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel