[Zope] (no subject)
Cornelis J. de Brabander
brabander@fsw.LeidenUniv.nl
Mon, 26 Feb 2001 15:39:50 +0100
Hi,
I am searching for an easy way to upgrade some thirty squishdot sites from
version 0.3.2 to 0.7.3. The reason behind all this is that I want to migrate
an existing site frome Zope 2.1.6. to Zope 2.2.2. I exported my site from
2.1.6 and imported it in 2.2.2. Then, I tried to be clever and copied all
items in the root folder of a newly installed squisdot site (with version
0.7.3) to replace the content of an old 0.3.2-site (residing now in my new
Zope install 2.2.2.).
Well, it did not work out. Can anybody give me a clue how to go about this
upgrade?
I tried some idea's, but to no avail.
Recataloging gives an AttributeError (_catalog) with the following
traceback:
File D:\Zope222\lib\python\ZPublisher\Publish.py, line 222, in
publish_module
File D:\Zope222\lib\python\ZPublisher\Publish.py, line 187, in publish
File D:\Zope222\lib\python\Zope\__init__.py, line 221, in
zpublisher_exception_hook
(Object: Traversable)
File D:\Zope222\lib\python\ZPublisher\Publish.py, line 171, in publish
File D:\Zope222\lib\python\ZPublisher\mapply.py, line 160, in mapply
(Object: recatalogPostings)
File D:\Zope222\lib\python\ZPublisher\Publish.py, line 112, in call_object
(Object: recatalogPostings)
File D:\Zope222\lib\python\Products\Squishdot\Squishdot.py, line 377, in
recatalogPostings
(Object: Traversable)
AttributeError: (see above)
Update indexing did not work out eather. The first time Zope complained
about the Vocabulary being already in use and after deleting the vocabulary
I got a KeyError (__cmp__)
Traceback:
File D:\Zope222\lib\python\ZPublisher\Publish.py, line 222, in
publish_module
File D:\Zope222\lib\python\ZPublisher\Publish.py, line 187, in publish
File D:\Zope222\lib\python\Zope\__init__.py, line 221, in
zpublisher_exception_hook
(Object: Traversable)
File D:\Zope222\lib\python\ZPublisher\Publish.py, line 171, in publish
File D:\Zope222\lib\python\ZPublisher\mapply.py, line 160, in mapply
(Object: updateIndexing)
File D:\Zope222\lib\python\ZPublisher\Publish.py, line 112, in call_object
(Object: updateIndexing)
File D:\Zope222\lib\python\Products\Squishdot\Squishdot.py, line 372, in
updateIndexing
(Object: Traversable)
File D:\Zope222\lib\python\Products\Squishdot\Squishdot.py, line 381, in
recatalogPostings
(Object: Traversable)
File D:\Zope222\lib\python\ZPublisher\HTTPRequest.py, line 810, in
__getitem__
Cornelis J. de Brabander
==========================================
Department of Education, Leiden University
P.O.Box 9555, NL-2300 RB Leiden
+31 71 527 3422/3401
brabander@fsw.leidenuniv.nl
==========================================