[Zope-dev] Re: [ZODB-Dev] Deleting versions from Control_Panel

Andrew Sydelko andrew@sydelko.org
Mon, 4 Mar 2002 11:11:55 -0500


On Monday 04 March 2002 11:08, you wrote:
> On Mon, 4 Mar 2002 11:01:22 -0500

>
> A low-level way to get a list of versions is to call the
>
> versions() method on the storage object.  Example:
> >>> from ZEO.ClientStorage import ClientStorage
> >>> cs = ClientStorage(...) # your server address here
> >>> cs.versions()


>>> from ZEO.ClientStorage import ClientStorage
>>> cs = ClientStorage(('192.168.1.52',9900))
>>> cs.versions()
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/data/www/Zope.9/Zope/lib/python/ZEO/ClientStorage.py", line 619, in 
versions
    try: return self._call('versions', max)
  File "/data/www/Zope.9/Zope/lib/python/ZEO/zrpc.py", line 214, in __call__
    self.message_output(args)
  File "/data/www/Zope.9/Zope/lib/python/ZEO/smac.py", line 213, in 
message_output
    raise Disconnected("This action is temporarily unavailable.<p>")
ZEO.smac.Disconnected: This action is temporarily unavailable.<p>

Sounds like a good start though... But once I find one, how do I 
delete/discard it?

--andy.