Kyler wrote..

> Date: Thu, 18 May 2000 08:03:58 EST
> From: "Kyler B. Laird" <[EMAIL PROTECTED]>
> >>I just installed release 2.2.0a1 on a glibc Linux box, but I keep
> >>getting a permission problem when accessing a database query.
> >
> >I have encountered the same problem using ZOracleDA
> >under SPARC Solaris.
> >    File /data/www/Zope/Zope-2.2.0a1-src/lib/python/DocumentTemplate/,
> > line 602, in renderwb
> >      (Object: jis_query)
> >  Unauthorized: 0    

I've had identical problems with PostgreSQL queries.  I posted
two fairly detailed posts describing the problem.  I guess I'll
try your brute force method.

[snip some frustration]

> After beating on this over the last day or so trying to
> understand what was happening at the Web interface level
> (thinking that I must have just screwed up a permissions
> setting somewhere), I finally looked at the code and
> simply commented out line 602 in
>       /data/www/Zope/Zope-2.2.0a1-src/lib/python/DocumentTemplate/
>       # raise ValidationError, index
> Ta da!  It works...for now.  This little patch will get
> me up and going.  I trust that someone will fix whatever
> problem necessitated this in a future release and I
> won't need this awful kludge, but it sure is nice to be
> able to use it now.

Anyone know what the real fix is?

-- cary

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to