[Zope] commit_sub error in add_NetShowLogFile (a ZClass with baseclasses :CatalogAware and File)

Farrell, Troy troy.farrell@wilcom.com
Mon, 5 Mar 2001 11:48:21 -0600


I have a ZClass NetShowLogFile.  It has baseclasses of CatalogAware and
File.  When I try to add a NetShowLogFile, my python script adds the
file(between 200KB and 3MB), parses the file, executes many SQL methods(two
per line in the file -- average 1000 lines), and
context.REQUEST.RESPONSE.redirect()s to a different page.  The problem is
this:
After it finishes parsing the file and inserting it's contents into the
database, I get a Transaction error:

Error Type: AttributeError
Error Value: commit_sub
<!--
Traceback (innermost last):
  File /home/zope/Zope-2.3.1b1-src/lib/python/ZPublisher/Publish.py, line
222, in publish_module
  File /home/zope/Zope-2.3.1b1-src/lib/python/ZPublisher/Publish.py, line
187, in publish
  File /home/zope/Zope-2.3.1b1-src/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
    (Object: CatalogAware)
  File /home/zope/Zope-2.3.1b1-src/lib/python/ZPublisher/Publish.py, line
175, in publish
  File /home/zope/Zope-2.3.1b1-src/lib/python/Zope/__init__.py, line 235, in
commit
  File /home/zope/Zope-2.3.1b1-src/lib/python/ZODB/Transaction.py, line 276,
in commit
AttributeError: (see above)
-->

Any ideas?  It looks similar to
http://classic.zope.org:8080/Collector/1895/view
and to
http://classic.zope.org:8080/Collector/629/view

It also looks like I may have to move my files to LocalFS objects and
rebuild my ZClasses :(

Thanks for the second time today,
Troy