Trivial fix, much improved comprehension of what's going on. Ok to apply, Lars? And to 1.2.X, JMarc?
Angus
Index: src/graphics/ChangeLog =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/graphics/ChangeLog,v retrieving revision 1.129 diff -u -p -r1.129 ChangeLog --- src/graphics/ChangeLog 24 Sep 2002 18:22:50 -0000 1.129 +++ src/graphics/ChangeLog 18 Oct 2002 08:50:26 -0000 @@ -1,3 +1,7 @@ +2002-10-18 Angus Leeming <[EMAIL PROTECTED]> + + * GraphicsCacheItem.C (findTargetFormat): add debug message. + 2002-09-24 Lars Gullik Bjønnes <[EMAIL PROTECTED]> * Makefile.am (INCLUDES): loose SIGC_INCLUDES Index: src/graphics/GraphicsCacheItem.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/graphics/GraphicsCacheItem.C,v retrieving revision 1.46 diff -u -p -r1.46 GraphicsCacheItem.C --- src/graphics/GraphicsCacheItem.C 5 Sep 2002 15:14:20 -0000 1.46 +++ src/graphics/GraphicsCacheItem.C 18 Oct 2002 08:50:26 -0000 @@ -330,6 +330,10 @@ string const findTargetFormat(string con for (; it1 != end; ++it1) { if (from == *it1) return *it1; + else + lyxerr[Debug::GRAPHICS] + << "Unable to convert from " << from + << " to " << *it2 << std::endl; } // So, we have to convert to a loadable format. Can we?
Index: src/graphics/ChangeLog =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/graphics/ChangeLog,v retrieving revision 1.59.2.12 diff -u -p -r1.59.2.12 ChangeLog --- src/graphics/ChangeLog 10 Sep 2002 15:54:45 -0000 1.59.2.12 +++ src/graphics/ChangeLog 18 Oct 2002 08:50:49 -0000 @@ -1,3 +1,7 @@ +2002-10-18 Angus Leeming <[EMAIL PROTECTED]> + + * GraphicsCacheItem.C (findTargetFormat): add debug message. + 2002-09-10 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> * GraphicsConverter.C (build_script): do not use ChangeExtension Index: src/graphics/GraphicsCacheItem.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/graphics/GraphicsCacheItem.C,v retrieving revision 1.33.2.2 diff -u -p -r1.33.2.2 GraphicsCacheItem.C --- src/graphics/GraphicsCacheItem.C 17 Jul 2002 21:21:38 -0000 1.33.2.2 +++ src/graphics/GraphicsCacheItem.C 18 Oct 2002 08:50:49 -0000 @@ -434,6 +434,10 @@ string const findTargetFormat(string con for (; it2 != end; ++it2) { if (graphics_converter.isReachable(from, *it2)) return *it2; + else + lyxerr[Debug::GRAPHICS] + << "Unable to convert from " << from + << " to " << *it2 << std::endl; } // Failed!