
jeanmichel.francois at makina-corpus
Oct 10, 2008, 1:15 AM
Post #3 of 5
(252 views)
Permalink
|
Hi, I don't like the zmi (or any web interface) for this kind of operation, i prefer scripting them. Check the two attached files. How to use it ? push them on the server cd path/tomyscripts zopepy recatalog.py -c path/to/etc/zope.conf --recatalog --commit zopepy is a python interpreter with all zope modules in its PYTHONPATH common.py is used in production on our servers recatalog.py is a kind of template adapted to fit your needs (not tested, but should work) I m using this to perform migrations of datas (objects) -- JeanMichel FRANCOIS Makina Corpus Le Thursday 09 October 2008 22:20:05 Laurence Rowe, vous avez écrit : > This is only a timeout and nothing to worry about. Either connect > directly to the zope instance to perform the recatalog or just leave it > and wait. You can tell it's done when python is no longer using all your > cpu. > > Laurence > > Ignacio Valdes wrote: > > Hello all, Linux Medical News http://www.linuxmednews.com is a quite > > large Squishdot based website. I am attempting to re-catalog all > > postings which is a fairly lengthy process. When I try to do this, it > > works for a period of time then gives this message: > > > > Proxy Error > > > > The proxy server received an invalid response from an upstream server. > > The proxy server could not handle the request POST /. > > > > Reason: Error reading from remote server > > > > Apache/2.2.6 (Fedora) Server at linuxmednews.com Port 80 > > > > What should I do? > > > > -- IV > > _______________________________________________ > > Zope maillist - Zope[at]zope.org > > http://mail.zope.org/mailman/listinfo/zope > > ** No cross posts or HTML encoding! ** > > (Related lists - > > http://mail.zope.org/mailman/listinfo/zope-announce > > http://mail.zope.org/mailman/listinfo/zope-dev ) > > _______________________________________________ > Zope maillist - Zope[at]zope.org > http://mail.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://mail.zope.org/mailman/listinfo/zope-announce > http://mail.zope.org/mailman/listinfo/zope-dev )
|