[Zope] pcgi error message.

Andreas Kostyrka andreas@mtg.co.at
Fri, 20 Aug 1999 15:11:07 +0200 (CEST)


On Fri, 20 Aug 1999, Jeff Bauer wrote:

> Andreas Kostyrka wrote:
> > At the moment I'm a bit stymified about a nonworking ZOPE :(
> > 
> > So what exactly does this mean:
> > 
> > Temporarily Unavailable
> > 
> > The resource you requested is temporarily unavailable -
> > please try again later.
> > 
> > (102) failure during connect
> 
> Andreas,
> 
> This is the archtypical fatal error message.  The
> pcgi-wrapper couldn't establish the connection.  You
> may be able to use pcgifile to figure out why:
> 
>   http://starship.python.net/crew/jbauer/persistcgi/pcgifile/
Well, I didn't discover my problem, but I've discovered a ``bug'' in
pcgifile.py: It doesn't like Zope/__init__.py:

            if os.path.isfile(p) or os.path.isfile(p+"/__init__.py"):
                self.resource.append("Module:\t%s" % p)
            else:
                self.log.append("module not found: %s" % p)
                raise PcgiFileException 

> 
> The 102 error code is simply a way to help you quickly
> locate where it occurs in the C source.  I used the
Well, that much I've discovered myself ;)
> original "Temporarily unavailable" error message for
> backward consistency with earlier pcgi version.  Since I
> know you're a skilled C programmer with vast knowledge
> about http & sockets, I won't spend too much time
> assisting you.  Remember that last statement next time
> I need help from you <wink>.  Seriously, you may find
Well, somehow, my sarcasm detector went crazy at this place ;)
(Question: Was this an opaque reference to some earlier crime of mine,
           that I've already purged from memory, or was it just a general
           remark?)

> it easiest to put in some debug code into pcgi-wrapper
> and recompile it if pcgifile.py doesn't help.
Ok, seems like this is a remark I often give myself: I can't debug via
phone, nor via email, very well :(

> "temporary"-is-however-long-it-takes-for-Andreas-to-fix-it-ly yr's

> 
> Jeff Bauer
> Rubicon Research
> 

--
Andreas Kostyrka                     | andreas@mtg.co.at
phone: +43/1/7070750                 | phone: +43/676/4091256   
MTG Handelsges.m.b.H.                | fax:   +43/1/7065299
Raiffeisenstr. 16/9                  | 2320 Zwoelfaxing AUSTRIA