W3C home > Mailing lists > Public > www-amaya@w3.org > January to March 2003

Print crashes on missing image

From: Adrian Skeates <ajs@kerridge.com>
Date: Wed, 26 Mar 2003 13:05:32 GMT
Message-Id: <200303261305.NAA788596@mailhost.kerridge.com>
To: Amaya Technical Forum <www-amaya@w3.org>

I have authors who create documents for our Intranet based upon a standard HTML document which includes references to files that may not necessarily reside on their own PCs - things such as external style sheets, script files and logos.

The latter seems to cause problems when printing.  Each document contains a reference to our standard logo <img src="../../images/KCSdivlogo.gif" width="45"height="57">, which works fine when the document is published, but the image generally does not exist in a relative location on the author's PC.

Should they attempt to print the HTML document, it invariably crashes with a C++ assertion error:

"Debug Assertion Failed!
"Program: AMAYA.EXE
"File: fopen.c
"Line: 54
"Expression: *file != _T('\0')"

Clicking ignore will generate another error dialog:

"Error - Source: GifCreate(1)"

The HTML works fine if the image can be found.

Regards
Adrian Skeates <ajs@kerridge.com>
Technical Information Coordinator
Kerridge Computer Services
515-517 Stockwood Road, Brislington, BRISTOL, BS4 5LT,  UK
Tel: +44 (0)117 972 1491,  Fax: +44 (0)117 971 9885
Web Page: http://www.kerridge.com
Received on Wednesday, 26 March 2003 08:06:01 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:27 UTC