On Wednesday 08 June 2005 08:46, Georg Baum wrote: > Jose' Matos wrote: > > Hello, > > I have implemented the --try-hard option. As you can see it will catch > > any python exception in the convertion step and ignore it. > > I did not try it, but if it does what it says it is good :-)
It doesn't crashes on me if that is what you want to know. ;-) > > My question is how to warn the user that something wrong happened > > during the convertion? The goal would be to ask the user to report it > > to us. > > As long as we have no bidirectional communication between lyx and lyx2lyx > I would suggest that lyx2lyx writes everything to stderr and lyx displays > that if it is not empty. Doing it that way we have no translation, and no > questions can be asked by lyx2lyx. That is certainly limited, but better > than nothing. Are you volunteering yourself to do this work? ;-) You are right IMHO. > > I think that this behaviour should only be turned on during a stable > > release and not during any development phase. > > Agreed, but the error output of the exceptions should be made visible, > too. OK. > > There is another possible step in the direction of a reasonable lyx > > file, to sanitize the lyx file output. We can, for example, remove any > > keyword not allowed in lyx present version... > > Yes, but I think this can wait for 1.5. Actually I think this can be done for 1.4.x for x > 0. :-) It doesn't make sense that some ill-crafted lyx file can crash it. Most of this problems can be solved quite easily. :-) For 1.5 with xml the issue will be less severe and easier to handle. :-) > Georg -- José Abílio