[Zope] attributes Runtime error when using ZODB File Storage

Dylan Reinhardt zope at dylanreinhardt.com
Tue Oct 21 12:09:33 EDT 2003


On Tue, 2003-10-21 at 02:53, Ruth Mizzi wrote:
> Hi,
>  
> I'm using the ZODB storage for the first time and am basically tring
> to add some user info to a FileStorage object. My code is a python
> script pasted below.

This is your problem.  Pythons scripts are not the right tool for
defining persistent objects, you want to be using Python Products. 

To get started for how to do this:

http://zope.org/Members/maxm/HowTo/minimal_01
http://www.zope.org/Members/maxm/HowTo/minimal_02
http://www.zope.org/Documentation/Books/ZDG/current

HTH,

Dylan




More information about the Zope mailing list