Ticket #449 (closed bug: fixed)

Opened 5 months ago

Last modified 4 months ago

A warning message from the conversion stops the rendering

Reported by: sgeulette Assigned to: sgeulette
Priority: major Milestone:
Component: appy.pod Keywords:
Cc:

Description

The renderer checks the output of the conversion process. With Ubuntu 8.04 and OpenOffice? running with python 2.5, the conversion process returns warnings for some version library differences with the Zope python 2.4. Warnings would not stop the rendering (that is correct).

The error messages are : An error occurred during the conversion. warning: Python C API version mismatch for module time: This Python has API version 1013, module time has version 1012. warning: Python C API version mismatch for module strop: This Python has API version 1013, module strop has version 1012. warning: Python C API version mismatch for module struct: This Python has API version 1013, module struct has version 1012.

Temporary, when putting in comment the following lines in renderer.py, it works :

if convertOutput:

raise PodError?(CONVERT_ERROR % convertOutput)

Change History

09/22/08 16:19:48 changed by sgeulette

  • owner set to sgeulette.
  • status changed from new to assigned.

09/22/08 16:21:22 changed by sgeulette

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

Added a loop on output to filter warnings, that are printed in zope log.