POSKeyError in Zope when trying to copy a site to a new filesystem
Sunday, August 17th, 2008Some days ago I had to move a Plone Site from one filesystem to another, both in the same Zope instance in a linux PC with Zope 2.10.6-final, python 2.4.5, and Plone 3.1.2
Everything seemed to go well, I made a cut/paste from an entire Plone Site that was in the main Data.fs because I needed to put in another database, called Data-sitename.fs and after that, the site worked perfectly, but… some hours later I made a database pack in order to clean all the Plone instances removing old objects.
Just after pressing the pack button in the new Data-sitename.fs, ups! something went wrong:
Error Type: POSKeyError Error Value: 0x484b
As a result of that, the new Data-sitename.fs was corrupted and the Plone Site inside was gone :(
Be careful! do not cut or copy/paste a Plone Site from a filesystem to another one in the same Zope, instead of that, do a Export/Import and it will work :)






