Re: lyx2lyx error

2023-09-06 Thread Scott Kostyshak
On Wed, Sep 06, 2023 at 05:58:18PM +0100, José Matos wrote: > The fix was then simple and also follows attached. Please commit it. Thanks, José! In master at 77fc67d3. Scott signature.asc Description: PGP signature -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman

Re: lyx2lyx error

2023-09-06 Thread José Matos
On Wed, 2023-09-06 at 07:36 +0100, José Matos wrote: > So it seems that what should not happen happened. :-) > > This means that something unexpected is happening and the code is not > able to react to it. My analysis was not entirely correct. :-) In any case the issue is that function returns e

Re: lyx2lyx error

2023-09-05 Thread José Matos
On Tue, 2023-09-05 at 21:07 -0400, Richard Kimberly Heck wrote: > lyx2lyx warning: An error occurred in 604, at 0x7fe2423d7600> >  Traceback (most recent call last): >   File "/usr/local/share/lyx/lyx2lyx/lyx2lyx", line 97, in > main() >   File "/usr/local/share/lyx/lyx2lyx/lyx2lyx", line

Re: lyx2lyx error: IndexError: list index out of range

2022-12-21 Thread Richard Kimberly Heck
On 12/21/22 02:55, Jürgen Spitzmüller wrote: Am Mittwoch, dem 21.12.2022 um 08:09 +0100 schrieb Jürgen Spitzmüller: The problem seems to be in the revert_starred_refs method, which overwrites parts of the surrounding document and thus deletes a plain layout begin. If you comment out that method,

Re: lyx2lyx error: IndexError: list index out of range

2022-12-21 Thread Scott Kostyshak
On Wed, Dec 21, 2022 at 08:55:18AM +0100, Jürgen Spitzmüller wrote: > Am Mittwoch, dem 21.12.2022 um 08:09 +0100 schrieb Jürgen Spitzmüller: > > The problem seems to be in the revert_starred_refs method, which > > overwrites parts of the surrounding document and thus deletes a plain > > layout begi

Re: lyx2lyx error: IndexError: list index out of range

2022-12-20 Thread Jürgen Spitzmüller
Am Mittwoch, dem 21.12.2022 um 08:09 +0100 schrieb Jürgen Spitzmüller: > The problem seems to be in the revert_starred_refs method, which > overwrites parts of the surrounding document and thus deletes a plain > layout begin. If you comment out that method, the error disappears. I think I fixed it

Re: lyx2lyx error: IndexError: list index out of range

2022-12-20 Thread Jürgen Spitzmüller
Am Montag, dem 19.12.2022 um 16:57 -0500 schrieb Scott Kostyshak: > The problem is that the code is supposed to append, then pop. then > append, then pop. There is a mismatch somewhere and the code pops > without a preceding append, so the list of languages is empty. The problem seems to be in the

Re: lyx2lyx error: IndexError: list index out of range

2022-12-19 Thread Scott Kostyshak
On Sun, Dec 11, 2022 at 09:42:33PM +, José Matos wrote: > On Sun, 2022-12-11 at 15:29 -0500, Scott Kostyshak wrote: > > convert_hebrew_parentheses > >     elif current_languages[-1] == 'hebrew' and not > > line.startswith('\\'): > > IndexError: list index out of range > > This happens only whe

Re: lyx2lyx error: IndexError: list index out of range

2022-12-11 Thread José Matos
On Sun, 2022-12-11 at 15:29 -0500, Scott Kostyshak wrote: > convert_hebrew_parentheses >     elif current_languages[-1] == 'hebrew' and not > line.startswith('\\'): > IndexError: list index out of range This happens only when current_languages is an empty list: In [1]: [][-1]

Re: lyx2lyx error not as informative when opening newer file

2022-12-11 Thread Scott Kostyshak
On Sun, Dec 11, 2022 at 12:13:28PM +0100, Enrico Forestieri wrote: > On Sun, Dec 11, 2022 at 12:06:34AM +0100, Yuriy Skalko wrote: > > > > And opening such file with non-existing version in LyX (master, Win10) > > gives that old message: > > > > is from a newer version of LyX and the lyx2lyx scr

Re: lyx2lyx error not as informative when opening newer file

2022-12-11 Thread Richard Kimberly Heck
On 12/11/22 06:13, Enrico Forestieri wrote: On Sun, Dec 11, 2022 at 12:06:34AM +0100, Yuriy Skalko wrote: And opening such file with non-existing version in LyX (master, Win10) gives that old message: is from a newer version of LyX and the lyx2lyx script failed to convert it. Yes, this i

Re: lyx2lyx error not as informative when opening newer file

2022-12-11 Thread Enrico Forestieri
On Sun, Dec 11, 2022 at 12:06:34AM +0100, Yuriy Skalko wrote: And opening such file with non-existing version in LyX (master, Win10) gives that old message: is from a newer version of LyX and the lyx2lyx script failed to convert it. Yes, this is true for the Windows version. The problem w

Re: lyx2lyx error not as informative when opening newer file

2022-12-10 Thread Yuriy Skalko
And opening such file with non-existing version in LyX (master, Win10) gives that old message: is from a newer version of LyX and the lyx2lyx script failed to convert it. Yuriy -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: lyx2lyx error not as informative when opening newer file

2022-12-10 Thread Yuriy Skalko
On 10.12.2022 15:22, Scott Kostyshak wrote: If you open a new .lyx file than the lyx2lyx version can handle we used to get: is from a newer version of LyX and the lyx2lyx script failed to convert it. Now we get: is not a readable LyX document. You can test this by just manually incre

Re: lyx2lyx error not as informative when opening newer file

2022-12-10 Thread Richard Kimberly Heck
On 12/10/22 09:22, Scott Kostyshak wrote: If you open a new .lyx file than the lyx2lyx version can handle we used to get: is from a newer version of LyX and the lyx2lyx script failed to convert it. Now we get: is not a readable LyX document. You can test this by just manually increme

Re: lyx2lyx error: \begin{english} is inside a bold layout instead of outside

2020-03-03 Thread Scott Kostyshak
On Tue, Mar 03, 2020 at 06:42:24PM +0100, Kornel Benko wrote: > Am Tue, 3 Mar 2020 16:32:08 - (UTC) > schrieb Guenter Milde : > > > Dear Scott, dear LyX developers, > > > > thanks for the failure-report, analysis and patience. > > I believe to have found the reason, it has been a long and tri

Re: lyx2lyx error: \begin{english} is inside a bold layout instead of outside

2020-03-03 Thread Kornel Benko
Am Tue, 3 Mar 2020 16:32:08 - (UTC) schrieb Guenter Milde : > Dear Scott, dear LyX developers, > > thanks for the failure-report, analysis and patience. > I believe to have found the reason, it has been a long and tricky journey: > > On 2020-03-02, Scott Kostyshak wrote: > > On Sun, Mar 01,

Re: lyx2lyx error: \begin{english} is inside a bold layout instead of outside

2020-03-03 Thread Guenter Milde
Dear Scott, dear LyX developers, thanks for the failure-report, analysis and patience. I believe to have found the reason, it has been a long and tricky journey: On 2020-03-02, Scott Kostyshak wrote: > On Sun, Mar 01, 2020 at 09:43:52PM -, Guenter Milde wrote: >> On 2020-02-23, Scott Kostysha

Re: lyx2lyx error: \begin{english} is inside a bold layout instead of outside

2020-03-02 Thread Scott Kostyshak
On Sun, Mar 01, 2020 at 09:43:52PM -, Guenter Milde wrote: > On 2020-02-23, Scott Kostyshak wrote: > > On Fri, Feb 21, 2020 at 11:26:08AM -0500, Scott Kostyshak wrote: > >> The following tests are failing on master: > > >> export/examples/ko/Welcome_lyx22 (Failed) > >> export/examples/ko/W

Re: lyx2lyx error: \begin{english} is inside a bold layout instead of outside

2020-03-01 Thread Guenter Milde
On 2020-02-23, Scott Kostyshak wrote: > On Fri, Feb 21, 2020 at 11:26:08AM -0500, Scott Kostyshak wrote: >> The following tests are failing on master: >> export/examples/ko/Welcome_lyx22 (Failed) >> export/examples/ko/Welcome_lyx23 (Failed) >> To reproduce manually, export Welcome.lyx in mate

Re: lyx2lyx error: \begin{english} is inside a bold layout instead of outside

2020-02-24 Thread Guenter Milde
On 2020-02-23, Scott Kostyshak wrote: > On Fri, Feb 21, 2020 at 11:26:08AM -0500, Scott Kostyshak wrote: >> The following tests are failing on master: >> export/examples/ko/Welcome_lyx22 (Failed) >> export/examples/ko/Welcome_lyx23 (Failed) >> To reproduce manually, export Welcome.lyx in mate

Re: lyx2lyx error: \begin{english} is inside a bold layout instead of outside

2020-02-23 Thread Scott Kostyshak
On Fri, Feb 21, 2020 at 11:26:08AM -0500, Scott Kostyshak wrote: > The following tests are failing on master: > > export/examples/ko/Welcome_lyx22 (Failed) > export/examples/ko/Welcome_lyx23 (Failed) > > To reproduce manually, export Welcome.lyx in mater to LyX 2.3.x format. > Then open the c

Re: lyx2lyx error in revert_new_languages

2019-08-31 Thread Jürgen Spitzmüller
Am Samstag, den 31.08.2019, 11:21 +0200 schrieb Jürgen Spitzmüller: > However, it seems that > revert_languages (which is called here) misses some languages in > Branches. I think this is by design, since the missed ones were polyglossia-only and we had also babel-only languages. Jürgen signatu

Re: lyx2lyx error in revert_new_languages

2019-08-31 Thread Scott Kostyshak
On Sat, Aug 31, 2019 at 11:21:36AM +0200, Jürgen Spitzmüller wrote: > Am Freitag, den 30.08.2019, 21:24 -0400 schrieb Scott Kostyshak: > > I get the following error when trying to export supported- > > languages.lyx > > to 2.3.x format: > > > > $ lyx -e lyx23x autotests/export/latex/languages/su

Re: lyx2lyx error in revert_new_languages

2019-08-31 Thread Jürgen Spitzmüller
Am Freitag, den 30.08.2019, 21:24 -0400 schrieb Scott Kostyshak: > I get the following error when trying to export supported- > languages.lyx > to 2.3.x format: > > $ lyx -e lyx23x autotests/export/latex/languages/supported- > languages.lyx > Warning: An error ocurred in 575, 0x7f62ecd51ea0>

Re: lyx2lyx error

2018-09-16 Thread Jürgen Spitzmüller
Am Mittwoch, den 12.09.2018, 10:27 +0200 schrieb Kornel Benko: > Try > # lyx2lyx -V 1.6 autotests/export/lyx2lyx/lyx_2_1_test.lyx | > lyx2lyx > Warning: Lyx2lyx knows nothing about module 'graphicboxes'. > Please check if short title insets have been converted correctly. > Warning

Re: lyx2lyx error

2018-08-04 Thread Kornel Benko
Am Samstag, 4. August 2018 12:51:19 CEST schrieb Enrico Forestieri : > On Thu, Aug 02, 2018 at 10:54:47PM +0200, Kornel Benko wrote: > > Am Mittwoch, 1. August 2018 20:10:38 CEST schrieb Kornel Benko > > : > > > Am Mittwoch, 1. August 2018 19:26:15 CEST schrieb Enrico Forestieri > > > : > > > >

Re: lyx2lyx error

2018-08-04 Thread Enrico Forestieri
On Thu, Aug 02, 2018 at 10:54:47PM +0200, Kornel Benko wrote: > Am Mittwoch, 1. August 2018 20:10:38 CEST schrieb Kornel Benko > : > > Am Mittwoch, 1. August 2018 19:26:15 CEST schrieb Enrico Forestieri > > : > > > It is not possible loading the attached document with current master > > > because

Re: lyx2lyx error

2018-08-02 Thread Kornel Benko
Am Mittwoch, 1. August 2018 20:10:38 CEST schrieb Kornel Benko : > Am Mittwoch, 1. August 2018 19:26:15 CEST schrieb Enrico Forestieri > : > > It is not possible loading the attached document with current master > > because lyx2lyx fails with the following error: > > > > Warning: An error ocurred

Re: lyx2lyx error

2018-08-01 Thread Kornel Benko
Am Mittwoch, 1. August 2018 19:26:15 CEST schrieb Enrico Forestieri : > It is not possible loading the attached document with current master > because lyx2lyx fails with the following error: > > Warning: An error ocurred in 482, > Traceback (most recent call last): > File "/usr/local/src/lyx/l

Re: lyx2lyx error

2018-04-27 Thread Kornel Benko
Am Freitag, 27. April 2018 12:39:12 CEST schrieb Kornel Benko : > This looks again like language nesting problem ... > Open autotests/export/lyx2lyx/lyx_2_1_test.lyx > Try to compile ... > ... > ! Missing \endcsname inserted. > > \protect > l.55 ...oreignlanguage{english}{-60}}{ with rotated} >

Re: lyx2lyx Error? [Re: Did something about indexes change between 1.5.x and 1.6.x?]

2009-08-26 Thread Vincent van Ravesteijn
I already tried saving it as 1.5.x file and reimporting it in 1.6.x, no problems whatsoever, besides Steve said he only has 1.6.3 and he could create a new example from scratch. Maybe something with default fontencoding in stead of T1 or something... ?!? Vincent Steve, What's your Tool

Re: lyx2lyx Error? [Re: Did something about indexes change between 1.5.x and 1.6.x?]

2009-08-26 Thread Vincent van Ravesteijn
rgheck schreef: On 08/26/2009 03:24 PM, Vincent van Ravesteijn wrote: Steve Litt schreef: OK, I've researched it a little more, and during the lyx --export latex, LyX is converting a LyX idx inset containing "chapter 2|(" without the quotes to the following LaTeX: \index{chapter 2|(@chapter

Re: lyx2lyx error in trunk

2008-04-02 Thread José Matos
On Wednesday 02 April 2008 12:49:37 Kornel Benko wrote: > Hi, > some of my old lyx-files cannot be read by the newest lyx. > > lyx2lys tries to convert to 325-format, which leads to an error. > > Trying manually to convert with lyx2lyx, it was ok up to the 310 -format, > e.g.: python -tt '/usr/loca