Bo Peng wrote:
Hi,

I compiled the latest trunk, open UserGuid.lyx, view->pdf gives me:


I assume pdflatex.

BTW, the current English User Guide is broken.


Error: Cannot convert file
----------------------------------------
An error occurred whilst running epstopdf
--outfile='16_usr_local_share_lyx16_doc_clipart_mobius.pdf'
'16_usr_local_share_lyx16_doc_clipart_mobius.eps'

I try this command in /tmp/blah and it works fine so I am wondering if
the latest systemcall changes have anything to do with this.

BTW, I can only get the full command using

Index: src/Converter.cpp
===================================================================
--- src/Converter.cpp   (revision 22056)
+++ src/Converter.cpp   (working copy)
@@ -474,7 +474,7 @@
 // it is a document (.lyx) or something else. Same goes for elsewhere.
                                        Alert::error(_("Cannot convert file"),
                                                bformat(_("An error
occurred whilst running %1$s"),
-
from_utf8(command.substr(0, 50))));
+                                               from_utf8(command)));
                                }
                                return false;

Why do we use substr() to avoid outputing the full command? The error
message is supposed to help us figure out what went wrong, right?

Cheers,
Bo



--
Peter Kümmel

Reply via email to