Known Issues

Here you can find a list of known issues, contributed by users and
developers. We will try to keep this list always updated with the
current development and summarize the discussions on the mailing
list.

You are under OSX and installed Plone binaries. You have been
fascinated by Archetypes and its easy way of managing document
types. Your custom Schema includes an ImageField occurence for your
next wonderful web project. But there is a problem: if you try to
create an instance of the newly defined Archetype OSX returns you with
the following annoyance:

- Decoder jpeg not available -

Grrrrrr !!!! It took me all my Biblical patience not to give up immediately (OSX is not what I would call the most plain Unix implementation.. But I love it !).

The current OSX Plone binary distribution (at writing time: 1.0.1) is
a complete standalone framework including Python 2.1.3 and its
libraries. Even if the Python distribution is quite complete, it does
not seem neither to include the necessary Pyhton bindings for the PIL
(Python Imaging Library) nor the classic (read standard.) Zlib
extensions. The reason for this is maybe because OSX does not include
as standard the following libraries: IJG Jpeg Library and zlib.

The IJG Jpeg Lib is a general purpose library that provides C code to
read and write JPEG-compressed image while Zlib is the GNU zip
library.

After ./configure analyzed our OSX and generated the necessary rules
for make to work we need to edit the resulting ImConfig.h file. I use
vi for the "quick-and-dirties" but feel free to use whatever editor
you like:

As for the previous packages I am mentioning versions that are
tested to work with Binaries 1.0.1 of the Plone distribution. Check
which version you have in the future to avoid potential
incompatibilities.

PloneDirectory is the actual folder where your Plone has been
installed.

For good measure I suggest to restart the machine (it's not
really needed but I still wonder how OSX does not get confused with
framework and classic libraries.. If you are not on a production
server (I guess you are not) you should have no problem doing this.

A lot of valuable resources and help can be found on the python image
sig mailing list where I found a message from calvin@xmission.com
that helped me much to verify my steps (initially I adopted another
approach but he gave me the "Satori" to rationalize the
installation). I would be delighted to credit him for this paper along
with me if I only knew the name of the guy (too lazy to contact him
!!?).

Happy Scheming with Archetypes (this product is just wonderful, I hope
it will be included in the next version of Plone).