andelf fledna Feather

2010年12月9日星期四

DirectoryStorage 中 “No module named lock_file” 处理

好吧,其实是因为好多年前的模块。。。
发现了这个:
 Log message for revision 92364:   Removed the ZODB.lock_file module. Now depend on zc.lockfile instead.   
源代码中把所有的 ZODB.lock_file 改成 zc.lockfile 即可。
然后执行
G:\Plone>.\python\python.exe .\temp\DirectoryStorage_1_1_19\mkds.py .\var\direct orystorage Full bushy
然后Add ZODB Mount Point 即可。。。