Ok? [to be true, this code is really ugly: all works because the buffer argument seems not used when the conversion is from latex. but I'm not touching it right now...]
Alfredo
? bfri.C Index: ChangeLog =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v retrieving revision 1.1714 diff -u -p -u -r1.1714 ChangeLog --- ChangeLog 21 Nov 2003 17:26:09 -0000 1.1714 +++ ChangeLog 24 Nov 2003 08:59:35 -0000 @@ -1,3 +1,8 @@ +2003-11-24 Alfredo Braunstein <[EMAIL PROTECTED]> + + * converter.C (convert): Converter::convert get called with buffer == 0 + from importer. + 2003-11-21 Michael Schmitt <[EMAIL PROTECTED]> * factory.C: change call to InsetERT constructor to avoid Index: converter.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/converter.C,v retrieving revision 1.93 diff -u -p -u -r1.93 converter.C --- converter.C 5 Nov 2003 12:06:03 -0000 1.93 +++ converter.C 24 Nov 2003 08:59:36 -0000 @@ -355,7 +355,9 @@ bool Converters::convert(Buffer const * dvipdfm_options(buffer->params())); lyxerr[Debug::FILES] << "Calling " << command << endl; - buffer->message(_("Executing command: ") + command); + if (buffer) + buffer->message(_("Executing command: ") + + command); Systemcall::Starttype type = (dummy) ? Systemcall::DontWait : Systemcall::Wait;