[Zope] zope and python 2.0?

Oleg Broytmann Oleg Broytmann <phd@phd.fep.ru>
Thu, 21 Jun 2001 19:57:44 +0400 (MSD)


Aha! Thank you!!!

On Thu, 21 Jun 2001, Ron Bickers wrote:
> Ah!  I had forgotten about this.  It is only a problem in
> lib/python/Products/ZCatalog/dtml/catalogView.dtml.  I fixed it with the
> following patch, which is already in CVS.
>
> --- catalogView.dtml.orig  Mon Jan 15 16:45:50 2001
> +++ catalogView.dtml    Fri Apr 27 15:35:27 2001
> @@ -46,7 +46,7 @@
>      </td>
>      <td align="left" valign="top">
>      <div class="form-text">
> -      <dtml-with name="aq_self" only>
> +      <dtml-with name="sequence-item" only>
>          <dtml-if name="meta_type">
>            <dtml-var name="meta_type" size="15">
>          <dtml-else>
>
> > > > > does the actual zope version run with python 2.0?
> > > >
> > > >    Yes, but not with 2.1.
> > >
> > > I've been running Zope with Python 2.1 since it came out.
> > Other than the
> > > startup warnings, it has been working flawlessly for me.  Am I missing
> > > something?
> >
> >    I had problems zcataloging objects. I got an error "NoBrainer has no
> > attribute __call__". I think it is a problem with ExtensionType.

Oleg.
----
     Oleg Broytmann     http://www.zope.org/Members/phd/     phd@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.