<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2722.900" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I am working on a database application that allows
me to view, and manipulate data over a web page. Here is a brief
summary of how it works:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>1. Zope Page Templates pass arguments to
External Methods (This works)</FONT></DIV>
<DIV><FONT face=Arial size=2>2. External Methods pass arguments to Zope
Page Templates(This works)</FONT></DIV>
<DIV><FONT face=Arial size=2>3. The External Methods import my custom
built classes and create instances of them (This works)</FONT></DIV>
<DIV><FONT face=Arial size=2>4. The External Methods</FONT><FONT
face=Arial size=2> "import ZODB.config" (This works)</FONT></DIV>
<DIV><FONT face=Arial size=2>5. The problem comes when I try to connect to
the datbase using the the functions:</FONT></DIV>
<DIV><FONT face=Arial size=2> "connection =
db.open()"</FONT></DIV>
<DIV><FONT face=Arial
size=2> "connection.close()"</FONT></DIV>
<DIV><FONT face=Arial size=2> Zope will not run at
this point. My web page gives me the error:</FONT></DIV>
<DIV>
<P><STRONG>Error Type: IOError</STRONG><BR><STRONG>Error Value: [Errno 11]
Resource temporarily unavailable</STRONG><BR></P>
<P><FONT face=Arial size=2>I am guessing that somehow the ZODB and Zope are
stomping on each other's feet.</FONT></P></DIV>
<DIV><FONT face=Arial size=2>6. The funny thing is that I can interact
with the ZODB easily on the server side with out any problems. I thought
that External Methods were supposed to allow you to program python scripts on
the server side without Zope interfering. Note: that between Zope page
templates and the External Methods I only pass strings. I do not pass any
kind of object or class instance.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am using Zope-2.7.0 and ZODB-3.2.1 and
Python 2.3.3</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Is there a better way to store customized objects
in the ZODB? I like the idea of using objects with ZODB instead of
mapping objects to a relational datbase like MySQL .</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks for your help</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>-Zach</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>