Ticket #69 (new defect)

Opened 1 year ago

Last modified 2 months ago

Too verbose when an image is not found

Reported by: tkg Assigned to:
Priority: minor Milestone: Future
Component: libfo Version: 0.5.x
Keywords: C Cc:
Blocking:

Description

xmlroff complains too much when an image isn't found:

(xmlroff:1383): libfo-CRITICAL **: g-file-error-quark: Failed to open file '/usr/local/src/download/figures/pysteganography_start_window.png': No such file or directory
Could not load image.

(xmlroff:1383): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed

(xmlroff:1383): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `pixbuf != NULL' failed

(xmlroff:1383): libfo-CRITICAL **: fo_image_get_width: assertion `fo_image->pixbuf != NULL' failed

(xmlroff:1383): libfo-CRITICAL **: fo_length_get_value: assertion `length != NULL' failed

(xmlroff:1383): libfo-CRITICAL **: fo_image_get_height: assertion `fo_image->pixbuf != NULL' failed

(xmlroff:1383): libfo-CRITICAL **: fo_length_get_value: assertion `length != NULL' failed

After failing to find the file, there seems little point in trying to find its height and width, etc.

Change History

05/02/08 20:26:27 changed by tkg

(In [415]) Starting to handle missing graphic. (Re #69.)