Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Users

Proxy Error on Squishdot Re-catalog.

 

 

Zope users RSS feed   Index | Next | Previous | View Threaded


ivaldes at hal-pc

Oct 9, 2008, 12:21 PM

Post #1 of 5 (260 views)
Permalink
Proxy Error on Squishdot Re-catalog.

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 )


l at lrowe

Oct 9, 2008, 1:20 PM

Post #2 of 5 (258 views)
Permalink
Re: Proxy Error on Squishdot Re-catalog. [In reply to]

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 )


jeanmichel.francois at makina-corpus

Oct 10, 2008, 1:15 AM

Post #3 of 5 (252 views)
Permalink
Re: Proxy Error on Squishdot Re-catalog. [In reply to]

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 )
Attachments: common.py (1.72 KB)
  recatalog.py (3.75 KB)


chris at simplistix

Oct 10, 2008, 3:49 AM

Post #4 of 5 (252 views)
Permalink
Re: Proxy Error on Squishdot Re-catalog. [In reply to]

JeanMichel FRANCOIS wrote:
> 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)

...or you could just use Stepper which is designed for this kind of
thing and has a recatalog step in its library.

cheers,

Chris

--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
_______________________________________________
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 )


jeanmichel.francois at makina-corpus

Oct 13, 2008, 9:02 AM

Post #5 of 5 (221 views)
Permalink
Re: Proxy Error on Squishdot Re-catalog. [In reply to]

Thanks Chris for this product, i will use it .
--
JeanMichel FRANCOIS
Makina Corpus

Le Friday 10 October 2008 12:49:32, vous avez écrit :
> ...or you could just use Stepper which is designed for this kind of
> thing and has a recatalog step in its library.
>
> cheers,
>
> Chris

Zope users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.