Ticket #69 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

Too verbose when an image is not found

Reported by: tkg Assigned to:
Priority: minor Milestone: xmlroff 0.6.0
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.)

07/06/08 21:10:42 changed by tkg

  • milestone changed from Future to xmlroff 0.6.0.

07/06/08 21:26:22 changed by tkg

  • status changed from new to closed.
  • resolution set to fixed.

(In [436]) Coping if no image file. (Closes #69.)