Jean-Pierre.Chretien wrote:
> Could it come from
> .../share/lyx/scripts/convertDefault.sh
> being not executable ?

Have I ever told anyone that I hate that bloody script ;-)

Yes, Jean-Pierre, you are correct. So the fix is either to make the 
script executable or to patch the LyX source:

Index: insetgraphics.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/insetgraphics.C,v
retrieving revision 1.146.2.1
diff -u -p -r1.146.2.1 insetgraphics.C
--- insetgraphics.C     25 Feb 2003 13:42:48 -0000      1.146.2.1
+++ insetgraphics.C     28 Aug 2003 11:08:43 -0000
@@ -668,7 +668,7 @@ string const InsetGraphics::prepareFile(
        // from ImageMagic: convert from:inname.from to:outname.to
        if (!converters.convert(buf, temp_file, outfile_base, from, to)) {
                string const command =
-                       LibFileSearch("scripts", "convertDefault.sh") +
+                       "sh " + LibFileSearch("scripts", "convertDefault.sh") +
                                ' ' + from + ':' + temp_file + ' ' +
                                to + ':' + outfile_base + '.' + to;
                lyxerr[Debug::GRAPHICS]

-- 

Reply via email to