I’ve been racking my brains to find something to present at PyCon 2010. I have been trying to find something good to present since PyCon 2003, when I last presented at PyCon. (I talked about Ape, the Adaptable Persistence Engine for Zope.) I really liked the experience of presenting and it led to a lot [...]
These step by step instructions describe how to install Plone on Ubuntu with RelStorage connected to MySQL as the main database. Familiarity with Linux systems administration is expected. Update: These instructions were revised in August 2009 for Plone 3.2.3 and RelStorage 1.2.0.
Problem: running “python bootstrap.py” or “bin/buildout” often produces scripts that mix up the Python package search path due to some packages being installed system-wide. Version conflicts result. Workaround: use “python -S bootstrap.py” and “python -S bin/buildout”. Magically, no more version conflicts. I wish I had thought of that before. Duh! Update: Another tip for new [...]
I’ve been using zc.buildout quite a bit over the past month. Although it has been working, it has been doing strange things like using the wrong version of zope.interface. Yesterday I finally figured out why, and today I found a possible solution. It turns out that Ubuntu (8.10) provides a package called python-pkg-resources. At least [...]