[Zope] xmldocument
Phil Harris
phil.harris@zope.co.uk
Wed, 10 Jan 2001 09:09:07 -0000
Chris,
This occurs using the bog-standard ZODB as well, nothing to do with any
other storage facility.
Phil
----- Original Message -----
From: "Chris McDonough" <chrism@digicool.com>
To: "Phil Harris" <phil.harris@zope.co.uk>; <bak@nstp.com.my>;
<zope@zope.org>
Sent: Wednesday, January 10, 2001 9:27 AM
Subject: Re: [Zope] xmldocument
> Relational database adapters (like ZOracleDA, etc.) are currently not
> compatible with subtransactions. I worked around this for a customer by
> adding dummy commit_sub and abort_sub methods to the database adapter's DB
> class, e.g.
>
> def commit_sub(*arg, **kw): pass
> def abort_sub(*arg, **kw): pass
>
>
> ----- Original Message -----
> From: "Phil Harris" <phil.harris@zope.co.uk>
> To: <bak@nstp.com.my>; <zope@zope.org>
> Sent: Wednesday, January 10, 2001 3:56 AM
> Subject: Re: [Zope] xmldocument
>
>
> > Bak,
> >
> > I can't help you fix it but I can tell you what the problem is, the file
> is
> > too big for Zope to cope with in one transaction so it starts a
> > sub-transaction and there is a bug in the sub-transactioning engine.
> >
> > The same thing happens with a normal 'File' type as well.
> >
> > You should probably check the collector to see if this has been fixed or
> > even reported.
> >
> > Phil
> >
> > ----- Original Message -----
> > From: "Bak@kedai" <kedai@kedai.com.my>
> > To: <zope@zope.org>
> > Sent: Wednesday, January 10, 2001 4:40 AM
> > Subject: [Zope] xmldocument
> >
> >
> > > happy new year all
> > > i can't get xmldocument to work with zope2.2x i can install the
product
> > ok,
> > > but can;t add XML Document.
> > >
> > > i got attribute error. any insight into the error is appreciated.
> > >
> > > can anybody suggest ways of rendering xml documents in zope?
> > >
> > > thanks
> > >
> > > --8<--------
> > > <P><STRONG>AttributeError</STRONG></P>
> > >
> > > Sorry, a Zope error occurred.<p>
> > > <!--
> > > Traceback (innermost last):
> > > File /home/kdie/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py,
line
> > 222,
> > > in publish_module
> > > File /home/kdie/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py,
line
> > 187,
> > > in publish
> > > File /home/kdie/Zope-2.2.0-src/lib/python/Zope/__init__.py, line
221,
> in
> > > zpublisher_exception_hook
> > > File /home/kdie/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py,
line
> > 175,
> > > in publish
> > > File /home/kdie/Zope-2.2.0-src/lib/python/Zope/__init__.py, line
235,
> in
> > > commit
> > > File /home/kdie/Zope/lib/python/ZODB/Transaction.py, line 261, in
> commit
> > > AttributeError: commit_sub
> > >
> > > -->
> > >
> > > --
> > >
> > > http://www.kedai.com.my/kk
> > > http://www.kedai.com.my/eZine
> > >
> > > We don't need no, no, no, no, no parental guidance here!
> > >
> > >
> > > _______________________________________________
> > > Zope maillist - Zope@zope.org
> > > http://lists.zope.org/mailman/listinfo/zope
> > > ** No cross posts or HTML encoding! **
> > > (Related lists -
> > > http://lists.zope.org/mailman/listinfo/zope-announce
> > > http://lists.zope.org/mailman/listinfo/zope-dev )
> >
> >
> > _______________________________________________
> > Zope maillist - Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > ** No cross posts or HTML encoding! **
> > (Related lists -
> > http://lists.zope.org/mailman/listinfo/zope-announce
> > http://lists.zope.org/mailman/listinfo/zope-dev )
> >
> >