1. Installation

1.1 Failed installation of PCL-Core: ImportError: No module named _proj4

Failed attempts to install PCL-Core can leave a "bad" egg on your system, causing trouble for future installation attempts. The solution: remove the PCL* eggs from site-packages and edit the easy-install.pth to remove all PCL* lines.

2. Errors

2.1 'module' object has no attribute 'ImageRenderer'

Q: What does this mean?

A: Import trickery may be hiding another error. A common cause is the failure to meet PCL dependencies such as elementtree, or lxml.

2.2 TypeError: Expected a pointer

Q: What's the cause?

A: This error results from a mismatch between mapscript shapeObj and cartography.engine.mapserver.msbridge shapeObj. These modules are generated using SWIG (http://www.swig.org), and you must use the same version of swig for each.

If you must generate your own wrappers, delete the existing msbridge_wrap.c file under PCL-MapServer/cartography/engine/mapserver. Otherwise, swig will not be run.

This dependency on SWIG versions will be eliminated before PCL 1.0.