[Zope] URGENT: need very basic help with Zope2 persistence

Tony.McDonald@newcastle.ac.uk Tony.McDonald@newcastle.ac.uk
Sat, 24 Jul 1999 07:23:36 +0100 (BST)


Joe,
I'm not 100% certain, but I think things *have* changed in Zope2.
There's some messages from Jim and Ty in Zope-Dev digest Vol 1 #92 about BoboPos and Persistence and Zope2.
Ominously, they're titled "Dont import from BoboPOS"

Sorry I can't be definite on this.
Tone

> Hi,
> 
> I'm using Zope2 and am trying to get Persistence working for the first
> time by creating an object store.  I'm using the documentation:
> 
> 	http://www.zope.org/Documentation/Reference/ObjectPublishingIntro
> 
> which has a chunk of code to do a very basic store on a Person.  I've
> tried this code both within and without Zope with no success.  I'm
> wondering whether
> 
> 	1.  The code (appended) doesn't work for Zope2?
>             When ExternalMethod->Add'ed into Zope, I get:
> 
>                 Zope Error
> 
>                 Zope has encountered an error while publishing this
> resource. 
> 
>                 exceptions.AttributeError
> 
>                 Sorry, a Zope error occurred.
>