Re: Last ImageMagick has problem with slash based path on windows

2008-07-05 Thread Enrico Forestieri
On Fri, Jul 04, 2008 at 02:45:38PM +0200, Abdelrazak Younes wrote: > > src/support/os_win32.cpp: string const cygprefix = cygdrive + > > "/" + drive.substr(0, 1); > > > > This one is Enrico's domain :-) I made sure that cygdrive has no trailing slashes: http://www.lyx.org/trac/

Re: Last ImageMagick has problem with slash based path on windows

2008-07-04 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: convert: unable to open image png:C:/Users/abdel/AppData/Local/Temp/lyx_tmpdir18088a16052/lyx_tmpbuf1/2C__devel_lyx_trunk_lib_images_undo.png': Invalid argument. convert: missing an image filename eps:C:/Users/abdel/Ap

Re: Last ImageMagick has problem with slash based path on windows

2008-07-04 Thread Jean-Marc Lasgouttes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: >> src/Buffer.cpp: return d->filename.onlyPath().absFilename() + "/"; >> > This one doesn't seem to be erroneous because FileName::onlyPath() > seems to be sane. I think we should not have to think about it. I agree that using addName is tiresome,

Re: Last ImageMagick has problem with slash based path on windows

2008-07-04 Thread Jean-Marc Lasgouttes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > convert: unable to open image > png:C:/Users/abdel/AppData/Local/Temp/lyx_tmpdir18088a16052/lyx_tmpbuf1/2C__devel_lyx_trunk_lib_images_undo.png': > Invalid argument. > convert: missing an image filename > eps:C:/Users/abdel/AppData/Local/Temp/lyx_tmp

Re: Last ImageMagick has problem with slash based path on windows

2008-07-04 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: This is the message I get when I try to compile the Tutorial to dvi: convert: unable to open image png:C:/Users/abdel/AppData/Local/Temp//lyx_tmpdir13444a15356/lyx_tmpbuf2/20C__devel_lyx_trunk_lib_images_math_frac.png

Re: Last ImageMagick has problem with slash based path on windows

2008-07-04 Thread Jean-Marc Lasgouttes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > This is the message I get when I try to compile the Tutorial to dvi: > > convert: unable to open image > png:C:/Users/abdel/AppData/Local/Temp//lyx_tmpdir13444a15356/lyx_tmpbuf2/20C__devel_lyx_trunk_lib_images_math_frac.png': > Invalid argument. > >

Re: Last ImageMagick has problem with slash based path on windows

2008-07-04 Thread Abdelrazak Younes
Abdelrazak Younes wrote: This is the message I get when I try to compile the Tutorial to dvi: convert: unable to open image `png:C:/Users/abdel/AppData/Local/Temp//lyx_tmpdir13444a15356/lyx_tmpbuf2/20C__devel_lyx_trunk_lib_images_math_frac.png': Invalid argument. I guess the problem comes fr

Last ImageMagick has problem with slash based path on windows

2008-07-04 Thread Abdelrazak Younes
This is the message I get when I try to compile the Tutorial to dvi: convert: unable to open image `png:C:/Users/abdel/AppData/Local/Temp//lyx_tmpdir13444a15356/lyx_tmpbuf2/20C__devel_lyx_trunk_lib_images_math_frac.png': Invalid argument. I guess the problem comes from the double // after 'Te