Bug#812260: zope-common: dzhandle incorrectly lists new zope instances as 'purged'
Fred Drueck
fdruec1 at uic.edu
Fri Jan 22 02:49:57 UTC 2016
Package: zope-common
Version: 0.5.54
Severity: minor
when you create a new zope instance with dzhandle and then immediatly run
dzhandle list-instances
this instance will show up as 'purged' because of this test: (lines 1897-1902)
if os.path.exists(zope_conf) and \
filter(lambda x: re_zeo(x) is not None, open(zope_conf).readlines()):
self.zeo = True
else:
self.is_purged |= not os.path.exists(os.path.join(home, 'var', 'Data.fs'))
self.is_purged |= not os.path.exists(os.path.join(home, 'var', 'Data.fs.index'))
a new zope instance will not have a 'Date.fs' or 'Data.fs.index' file.
These will be created the first time the instance is run.
More information about the pkg-zope-developers
mailing list