Re: DirectoryStorage 1.1.17
Santi Camps <[email protected]> Tue, 17 Jan 2006 14:52:01 +0100
| Newsgroups | gmane.comp.web.zope.zodb.dirstorage |
|---|---|
| Message-ID | <[email protected]> |
On 1/4/06, Toby Dickenson <[email protected]> wrote: > I am pleased to announce the release of DirectoryStorage, version > 1.1.17. > > Over the last few months DirectoryStorage has been languishing at 'release > candidate' status, so this is the first release badged 'stable' to include > Zope 3 support (thanks to Philipp von Weitershausen), NTFS support (thanks to > Enfold Systems and Mark Hammond), and numerous small improvements to > replication and backup tools. > > http://dirstorage.sourceforge.net/ > > What is DirectoryStorage? An alternative storage for ZODB that uses ordinary > files and directories to store revisions of ZODB objects; one file per > revision per object. Designed to be robust, manageable, fault tolerant, and > scalable. > Hi all. I've found a little problem in snapshot.py of this 1.1.17 version, due to some method renaming in DirectoryStorageToolkit.py. I attach a patch to solve the problem. Regards -- Santi Camps Earcon S.L. - http://www.earcon.com - http://www.kmkey.com
snapshot.py.patch
(text/x-patch, 891 B)
--- snapshot.py 2005-08-31 01:06:21.000000000 +0200
+++ /usr/lib/python2.3/site-packages/DirectoryStorage/snapshot.py 2006-01-17 14:23:36.889045592 +0100
@@ -193,14 +193,14 @@
name,password = [ s.strip() for s in access_data.split(':')[:2] ]
toolkit = xmlrpclib.Server(url,transport=xmlrpclib_auth_Transport(name,password))
try:
- toolkit.enter_snapshot(code)
+ toolkit.enterSnapshot(code)
except xmlrpclib.Fault:
pass
except socket.error:
pass
else:
def closer(toolkit=toolkit,code=code):
- toolkit.leave_snapshot(code)
+ toolkit.leaveSnapshot(code)
if verbose>=0:
print >> sys.stderr, 'Entered snapshot using %s' % (url,)
return closer