Am Mittwoch, 9. Mai 2018 13:55:14 CEST schrieb José Abílio Matos 
<jama...@lyx.org>:
> On Wednesday, 9 May 2018 12.09.18 WEST Kornel Benko wrote:
> > No it was not there.
> > But with the other file it is.
> > I removed the last part following the first Traceback
> > 
> >         Kornel
> 
> The culprit is:
> Format.cpp (507):     will guess format from file extension: svgz -> svgz
> graphics/GraphicsCacheItem.cpp (398): 
>       The file contains svgz format data.
> graphics/GraphicsCacheItem.cpp (347): Unable to convert from svgz to bmp
> graphics/GraphicsConverter.cpp (140): Converter c-tor:
> doc_fname:        /usr2/src/lyx/lyx-2.0.x-git/lib/doc/attic/eu_UserGuide.lyx
>       from_file:    
> /usr2/src/lyx/lyx-2.0.x-git/lib/images/bookmark-goto_0.svgz
>       to_file_base: /home/kornel/.lyx2.3/tmp/lyx_tmpdir.dAtNUOH25142/
> CacheItem.Y25142
>       from_format:  svgz
>       to_format:    
> 
> Note the last line, the target format is missing.
> 
> That is what causes the problem with the converter.
> 
> It is called as:
> python -tt "/usr/local/share/lyx2.3/scripts/convertDefault.py" svgz 
> "/usr2/src/lyx/lyx-2.0.x-git/lib/
> images/bookmark-goto_0.svgz"  
> "/home/kornel/.lyx2.3/tmp/lyx_tmpdir.dAtNUOH25142/
> gconvertu25142.svgz"
> 
> The usual call would have another format between the two file names.
> 
> So again the problem is not in the calling code. It seems to want to convert 
> from svgz to a 
> format that could be loaded and it fails the specify the target.
> 
OK, but what can be done here? Even if I define a converter
        \converter "svgz" "bmp" "convert  $$i $$o" ""
I still see the error messages.

(Manually, the "convert"-command works)

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to