Ticket #1576 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

Patch: CPSImageWidget.getResizedImage should give more info on failure

Reported by: ybastide Assigned to: fguillaume
Priority: P1 Milestone: CPS 3.4.1
Component: CPSSchemas Version: TRUNK
Severity: normal Keywords:
Cc:

Description

CPSImageWidget.getResizedImage logs an useless message on failure ("Failed to resize file %s keep original"). Granted, the error is often caused by PIL not being installed, which is itself a logged warning. Yet a better error message would be nice here.

Regards,

yves

Attachments

BasicWidgets.py.diff (0.8 kB) - added by ybastide on 03/23/06 16:59:16.

Change History

03/23/06 16:59:16 changed by ybastide

  • attachment BasicWidgets.py.diff added.

03/24/06 17:28:19 changed by fguillaume

  • milestone changed from unspecified to CPS 3.4.1.

05/16/06 12:21:26 changed by sfermigier

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

Patch applied.