[Zope-dev] Unit testing on win32 with FAT requires patch to custom_zodb.py,is this a known issue?

Chris Withers chrisw@nipltd.com
Thu, 29 Aug 2002 17:37:28 +0100


Shane Hathaway wrote:
> 
> No, this is not a known issue.  Could you provide a traceback?

Traceback (most recent call last):
   File "testStripogram.py", line 103, in ?
     import Zope
   File "D:\ZOPE\25228D~1.1\lib\python\Zope\__init__.py", line 40, in ?
     m=imp.load_module('Zope.custom_zodb', m[0], m[1], m[2])
   File "D:\ZOPE\25228D~1.1\lib\python\Testing\custom_zodb.py", line 7, in ?
     Storage = DemoStorage(base=FileStorage(dfi, read_only=1), quota=(1<<20))
   File "D:\ZOPE\25228D~1.1\lib\python\ZODB\FileStorage.py", line 200, in __init_
_
     raise ValueError, "can\'t create a read-only file"
ValueError: can't create a read-only file

cheers,

Chris