Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-07 Thread José Matos
On Saturday 03 November 2007 05:44:44 Andre Poenitz wrote: A solution for back-and-forward conversions in the final script would be some 'obsoleted in format n' property. So lyx2lyx would skip parts that are obsoleted if the target format has a higher version, yet in between it will do the

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-07 Thread Andre Poenitz
On Wed, Nov 07, 2007 at 01:15:45PM -0500, José Matos wrote: On Saturday 03 November 2007 05:44:44 Andre Poenitz wrote: A solution for back-and-forward conversions in the final script would be some 'obsoleted in format n' property. So lyx2lyx would skip parts that are obsoleted if the target

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-07 Thread José Matos
On Saturday 03 November 2007 05:44:44 Andre Poenitz wrote: > A solution for back-and-forward conversions in the final script would be > some 'obsoleted in format n' property. So lyx2lyx would skip parts > that are obsoleted if the target format has a higher version, yet in > between it will do the

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-07 Thread Andre Poenitz
On Wed, Nov 07, 2007 at 01:15:45PM -0500, José Matos wrote: > On Saturday 03 November 2007 05:44:44 Andre Poenitz wrote: > > A solution for back-and-forward conversions in the final script would be > > some 'obsoleted in format n' property. So lyx2lyx would skip parts > > that are obsoleted if the

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-03 Thread Jürgen Spitzmüller
Bo Peng wrote: During a fast-evolving period like this, with no public release in between, reversion of lyx2lyx is IMHO acceptable I think we discussed this sufficiently now. It doesn't matter in which release perdiod we are. Jürgen

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-03 Thread Andre Poenitz
On Sat, Nov 03, 2007 at 01:12:24AM +0200, Martin Vermeer wrote: On Sat, Nov 03, 2007 at 12:00:42AM +0100, Abdelrazak Younes wrote: ... OK, I've done some cleanup an the crashes are gone but the inset layouts are broken! Martin, Richard, do you have an idea here? I don't

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-03 Thread Andre Poenitz
On Sat, Nov 03, 2007 at 12:29:39AM +0100, Uwe Stöhr wrote: During a fast-evolving period like this, with no public release in between, reversion of lyx2lyx is IMHO acceptable. But this introduces crashed: I can for example not open Stefan's macro example file, see my just sent post on the

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-03 Thread Abdelrazak Younes
Andre Poenitz wrote: On Sat, Nov 03, 2007 at 01:12:24AM +0200, Martin Vermeer wrote: On Sat, Nov 03, 2007 at 12:00:42AM +0100, Abdelrazak Younes wrote: ... OK, I've done some cleanup an the crashes are gone but the inset layouts are broken! Martin, Richard, do you have an idea here? I

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-03 Thread Jürgen Spitzmüller
Bo Peng wrote: > During a fast-evolving period like this, with no public release in > between, reversion of lyx2lyx is IMHO acceptable I think we discussed this sufficiently now. It doesn't matter in which release perdiod we are. Jürgen

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-03 Thread Andre Poenitz
On Sat, Nov 03, 2007 at 01:12:24AM +0200, Martin Vermeer wrote: > On Sat, Nov 03, 2007 at 12:00:42AM +0100, Abdelrazak Younes wrote: > > ... > > > >> OK, I've done some cleanup an the crashes are gone but the inset > > >> layouts > > >> are broken! > > >> > > >> Martin, Richard, do you have

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-03 Thread Andre Poenitz
On Sat, Nov 03, 2007 at 12:29:39AM +0100, Uwe Stöhr wrote: > > During a fast-evolving period like this, with no public release in > > between, reversion of lyx2lyx is IMHO acceptable. > > But this introduces crashed: I can for example not open Stefan's macro > example file, see my just sent post

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-03 Thread Abdelrazak Younes
Andre Poenitz wrote: On Sat, Nov 03, 2007 at 01:12:24AM +0200, Martin Vermeer wrote: On Sat, Nov 03, 2007 at 12:00:42AM +0100, Abdelrazak Younes wrote: ... OK, I've done some cleanup an the crashes are gone but the inset layouts are broken! Martin, Richard, do you have an idea here? I

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-02 Thread Helge Hafting
Bo Peng wrote: On Nov 2, 2007 6:45 AM, Helge Hafting [EMAIL PROTECTED] wrote: Start lyx, open a recent document - assert. Case one (A11.lyx, beamer presentation) Handling unknown body token: `\begin_manifest' Handling unknown body token: `\end_manifest' Handling unknown body token:

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-02 Thread Bo Peng
On Nov 2, 2007 6:45 AM, Helge Hafting [EMAIL PROTECTED] wrote: Start lyx, open a recent document - assert. Case one (A11.lyx, beamer presentation) Handling unknown body token: `\begin_manifest' Handling unknown body token: `\end_manifest' Handling unknown body token: `\begin_manifest'

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-02 Thread Abdelrazak Younes
Martin Vermeer wrote: On Fri, Nov 02, 2007 at 12:45:49PM +0100, Helge Hafting wrote: Start lyx, open a recent document - assert. Case one (A11.lyx, beamer presentation) ... Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xa62949b0 (LWP 10363)] 0x0832ec16

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-02 Thread Bo Peng
I can do that, no problem. I though lyx2lyx would do such things anyway though, I did not want to complicate lyx2lyx by adding another reversion function to remove this section. or that the unknown stuff would be lost the next time I save a changed file? Yes. (But the trunk crashes quite

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-02 Thread Martin Vermeer
On Fri, Nov 02, 2007 at 12:45:49PM +0100, Helge Hafting wrote: Start lyx, open a recent document - assert. Case one (A11.lyx, beamer presentation) ... Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xa62949b0 (LWP 10363)] 0x0832ec16 in

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-02 Thread Abdelrazak Younes
Martin Vermeer wrote: On Fri, Nov 02, 2007 at 12:45:49PM +0100, Helge Hafting wrote: Start lyx, open a recent document - assert. Case one (A11.lyx, beamer presentation) ... Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xa62949b0 (LWP 10363)] 0x0832ec16

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-02 Thread Abdelrazak Younes
Abdelrazak Younes wrote: OK, I've done some cleanup an the crashes are gone but the inset layouts are broken! Martin, Richard, do you have an idea here? I don't know if we shall we fix Inset::getLayout() or if we shall assume that each inset hard-code its own layout. OK, I see that the

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-02 Thread Uwe Stöhr
I can do that, no problem. I though lyx2lyx would do such things anyway though, I did not want to complicate lyx2lyx by adding another reversion function to remove this section. This won't complicate lyx2lyx, that's what lyx2lyx is for. Removing stuff manually from a LyX file using an

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-02 Thread Bo Peng
On Nov 2, 2007 3:47 PM, Uwe Stöhr [EMAIL PROTECTED] wrote: I can do that, no problem. I though lyx2lyx would do such things anyway though, I did not want to complicate lyx2lyx by adding another reversion function to remove this section. This won't complicate lyx2lyx, that's what

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-02 Thread Martin Vermeer
On Fri, Nov 02, 2007 at 06:51:54PM +0100, Abdelrazak Younes wrote: Martin Vermeer wrote: On Fri, Nov 02, 2007 at 12:45:49PM +0100, Helge Hafting wrote: Start lyx, open a recent document - assert. Case one (A11.lyx, beamer presentation) ... Program received signal SIGSEGV,

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-02 Thread Abdelrazak Younes
Martin Vermeer wrote: On Fri, Nov 02, 2007 at 06:51:54PM +0100, Abdelrazak Younes wrote: Martin Vermeer wrote: On Fri, Nov 02, 2007 at 12:45:49PM +0100, Helge Hafting wrote: Start lyx, open a recent document - assert. Case one (A11.lyx, beamer presentation) ... Program received signal

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-02 Thread Martin Vermeer
On Sat, Nov 03, 2007 at 12:00:42AM +0100, Abdelrazak Younes wrote: ... OK, I've done some cleanup an the crashes are gone but the inset layouts are broken! Martin, Richard, do you have an idea here? I don't know if we shall we fix Inset::getLayout() or if we shall assume that

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-02 Thread Abdelrazak Younes
Martin Vermeer wrote: On Sat, Nov 03, 2007 at 12:00:42AM +0100, Abdelrazak Younes wrote: ... I fought with this fruitlessly until Jean-Marc showed me. You reverted to my old non-working code :-( Calm down, I found a better solution (appended below, I guess you cannot read lyx-cvs?). Yes,

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-02 Thread Uwe Stöhr
During a fast-evolving period like this, with no public release in between, reversion of lyx2lyx is IMHO acceptable. But this introduces crashed: I can for example not open Stefan's macro example file, see my just sent post on the list. Besides this we have the general problem that LyX can

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-02 Thread Bo Peng
But this introduces crashed: I can for example not open Stefan's macro example file, see my just sent post on the list. As far as I know, today's crash is caused by some insets, not \begin manifest. Bo

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-02 Thread Helge Hafting
Bo Peng wrote: On Nov 2, 2007 6:45 AM, Helge Hafting <[EMAIL PROTECTED]> wrote: Start lyx, open a "recent document" - assert. Case one (A11.lyx, beamer presentation) Handling unknown body token: `\begin_manifest' Handling unknown body token: `\end_manifest' Handling unknown body token:

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-02 Thread Bo Peng
On Nov 2, 2007 6:45 AM, Helge Hafting <[EMAIL PROTECTED]> wrote: > Start lyx, open a "recent document" - assert. > > Case one (A11.lyx, beamer presentation) > > Handling unknown body token: `\begin_manifest' > Handling unknown body token: `\end_manifest' > Handling unknown body token:

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-02 Thread Abdelrazak Younes
Martin Vermeer wrote: On Fri, Nov 02, 2007 at 12:45:49PM +0100, Helge Hafting wrote: Start lyx, open a "recent document" - assert. Case one (A11.lyx, beamer presentation) ... Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xa62949b0 (LWP 10363)] 0x0832ec16

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-02 Thread Bo Peng
> I can do that, no problem. > I though lyx2lyx would do such things anyway though, I did not want to complicate lyx2lyx by adding another reversion function to remove this section. > or that the unknown stuff would be lost the next time I save > a changed file? Yes. (But the trunk crashes

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-02 Thread Martin Vermeer
On Fri, Nov 02, 2007 at 12:45:49PM +0100, Helge Hafting wrote: > Start lyx, open a "recent document" - assert. > > Case one (A11.lyx, beamer presentation) ... > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 0xa62949b0 (LWP 10363)] > 0x0832ec16 in

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-02 Thread Abdelrazak Younes
Martin Vermeer wrote: On Fri, Nov 02, 2007 at 12:45:49PM +0100, Helge Hafting wrote: Start lyx, open a "recent document" - assert. Case one (A11.lyx, beamer presentation) ... Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xa62949b0 (LWP 10363)] 0x0832ec16

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-02 Thread Abdelrazak Younes
Abdelrazak Younes wrote: OK, I've done some cleanup an the crashes are gone but the inset layouts are broken! Martin, Richard, do you have an idea here? I don't know if we shall we fix Inset::getLayout() or if we shall assume that each inset hard-code its own layout. OK, I see that the

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-02 Thread Uwe Stöhr
>> I can do that, no problem. >> I though lyx2lyx would do such things anyway though, > > I did not want to complicate lyx2lyx by adding another reversion > function to remove this section. This won't complicate lyx2lyx, that's what lyx2lyx is for. Removing stuff manually from a LyX file using

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-02 Thread Bo Peng
On Nov 2, 2007 3:47 PM, Uwe Stöhr <[EMAIL PROTECTED]> wrote: > >> I can do that, no problem. > >> I though lyx2lyx would do such things anyway though, > > > > I did not want to complicate lyx2lyx by adding another reversion > > function to remove this section. > > This won't complicate

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-02 Thread Martin Vermeer
On Fri, Nov 02, 2007 at 06:51:54PM +0100, Abdelrazak Younes wrote: > Martin Vermeer wrote: > > On Fri, Nov 02, 2007 at 12:45:49PM +0100, Helge Hafting wrote: > >> Start lyx, open a "recent document" - assert. > >> > >> Case one (A11.lyx, beamer presentation) > > ... > >> Program received

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-02 Thread Abdelrazak Younes
Martin Vermeer wrote: On Fri, Nov 02, 2007 at 06:51:54PM +0100, Abdelrazak Younes wrote: Martin Vermeer wrote: On Fri, Nov 02, 2007 at 12:45:49PM +0100, Helge Hafting wrote: Start lyx, open a "recent document" - assert. Case one (A11.lyx, beamer presentation) ... Program received

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-02 Thread Martin Vermeer
On Sat, Nov 03, 2007 at 12:00:42AM +0100, Abdelrazak Younes wrote: ... > >> OK, I've done some cleanup an the crashes are gone but the inset layouts > >> are broken! > >> > >> Martin, Richard, do you have an idea here? I don't know if we shall we > >> fix Inset::getLayout() or if we shall

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-02 Thread Abdelrazak Younes
Martin Vermeer wrote: On Sat, Nov 03, 2007 at 12:00:42AM +0100, Abdelrazak Younes wrote: ... I fought with this fruitlessly until Jean-Marc showed me. You reverted to my old non-working code :-( Calm down, I found a better solution (appended below, I guess you cannot read lyx-cvs?). Yes,

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-02 Thread Uwe Stöhr
> During a fast-evolving period like this, with no public release in > between, reversion of lyx2lyx is IMHO acceptable. But this introduces crashed: I can for example not open Stefan's macro example file, see my just sent post on the list. Besides this we have the general problem that LyX

Re: Todays 1.6svn crash in various ways when opening existing documents

2007-11-02 Thread Bo Peng
> But this introduces crashed: I can for example not open Stefan's macro > example file, see my just > sent post on the list. As far as I know, today's crash is caused by some insets, not \begin manifest. Bo