[Zope] Packing a DBTab database
Small Business Services
toolkit at magma.ca
Mon May 31 20:02:03 EDT 2004
The unrestrictedTraverse(...).manage_pack worked perfectly!
Thank you very much!
----- Original Message -----
From: "Dieter Maurer" <dieter at handshake.de>
To: "Small Business Services" <toolkit at magma.ca>
Cc: <zope at zope.org>
Sent: May 31, 2004 1:46 PM
Subject: Re: [Zope] Packing a DBTab database
> Small Business Services wrote at 2004-5-31 08:00 -0400:
> >I am trying to pack a DBTab mounted database via an external method. I
> >two separate db's mounted (Data.fs, MyDB.fs) and only want to pack
> >I have tried: self.Control_Panel.Database.MyDB.manage_pack() with no
> >luck, it generates the following error:
> >Error Type: AttributeError
> >Error Value: MyDB
> It is usually adviceable to use "[un]restrictedTraverse"
> rather than explicit attribute traversal as many containers
> provide a subscription access for subobjects.
More information about the Zope