Site Scene

Posts Tagged ‘xml’

Deliverance, Plone, and tags

It’s been a little bit of time since my last post, and who can blame me with my site having been down for almost 2 full days over the last week!  I’m not paying that much for the webspace, thankfully, but if I was, I’d be seeing red over it.  Apparently some patch for MySQL broke everything; imagine how it looked to see my site with a ‘500 internal error’ plastered all over it and not being able to access my cPanel.  Ugh.

Anyway, everything’s back again, assuming that you can see this.  Okay?  Great!

Today’s conundrum presented itself very, very strangely.  People couldn’t change their password in Plone (which effectively breaks registration if a user has to select a password).  The Plone site we have was being themed by Deliverance. A colleague and I were taking a look at this earlier in the week and from everything that we could see, the request traffic and variables were being sent onto Plone correctly from Deliverance. That said, the issue persisted. (more…)

Deliver me from … Deliverance?

Always one for being on and beyond the bleeding edge of new technology, I’ve (with the help of colleagues) been setting up a new technology for applying themes to web sites.  In particular, I’m applying Deliverance to Plone and whilst I’m not the first one to venture out into the wilderness this way, I’ve got to be thinking that I could be one of the few people documenting their experience.  Ah, but where to begin? (more…)

Plone: Buildout Won’t Install Products.OpenXml

So it’s almost Christmas time and I’m still slaving away working. It’s all about commitment.

Today in my life I’ve been trying to install the OpenXml product for Plone (using buildout, of course).

david@computer:~/buildout/instance$ ./bin/buildout
Uninstalling zopepy.
Uninstalling instance.
Updating plone.
Updating zope2.
Updating productdistros.
Installing instance.
Getting distribution for ‘Products.OpenXml’.
Got Products.OpenXml 1.0.1.
Getting distribution for ‘openxmllib’.
Got openxmllib 1.0.3.
Getting distribution for ‘lxml>=1.3.0,<2.0.0dev’.
Building lxml version 1.3.6
ERROR: /bin/sh: xslt-config: not found
** make sure the development packages of libxml2 and libxslt are installed
**ERROR: /bin/sh: xslt-config: not found
** make sure the development packages of libxml2 and libxslt are installed
**ERROR: /bin/sh: xslt-config: not found

And then 50,000 errors follow, making this message hard to find. Either way, the end result was that lxml wasn’t able to install.

Solution: install libxslt and its dev counterpart plus the relevant Python bindings on your system. In Ubuntu 8.10, that’s libxslt1.1, libxslt1-dev, and python-libxslt1.

All good now.

Update: Turns out Centos 5 (Red Hat) is has different package names. Try yum install libxslt libxslt-devel libxslt-python as root for Centos.