IntegrityError: duplicate key value violates unique constraint
A tale of how I learned about PostgreSQL sequence generators the hard way.
A tale of how I learned about PostgreSQL sequence generators the hard way.
Today I wanted to set the workflow for the content type File to
(Default)
.
After migrating a Plone 2.5 site to Plone 3, I got a
UnicodeEncodeError
when viewing the site.
One of the things that was still on my wish list for this site, was a proper search. In two articles I will explain how I’ve done this. The previous article described why I picked Djapian. This article focusses on some of the technical aspects of my setup.
One of the things that was still on my wish list for this site, was a proper search. In two articles I will explain how I’ve done this. The next article will describe the way I have currently set things up. This article will primarily focus on the journey I made to come to my choice (Djapian).
Initially I was a bit sceptic about Fabric. After all, I’m already using buildout to manage projects. “How much better can it get?” After watching the video of the Django Deployment Workshop (held by Jacob Kaplan-Moss at PyCon 2010 Atlanta), I finally decided to see for myself what Fabric is all about.
After a bit of experimentation I’ve succeeded in moving an existing
Plone 3.3.5 from the normal FileStorage storage (in other words a ZODB
in a Data.fs
file) to RelStorage using PostgreSQL. This is a blog post
about what I needed to change in the buildout configuration and which
resources I used.
Yesterday I was experimenting with RelStorage and ran into an error:
“UnboundLocalError: local variable 'blob_storage' referenced before assignment.
”
One of the latest Plone books from Packt Publishing is Plone 3 Intranets (Design, build, and deploy a reliable, full-featured, and secure Plone-based enterprise intranet easily from scratch) by Víctor Fernández de Alba. Packt sent me a copy and asked me to review it.
While reading
Plone 3 Intranets
by Víctor Fernández de Alba, I discovered the logreopen
command.