[Zope-dev] Unit testing on win32 with FAT requires patch to custom_zodb.py,is
this a known issue?
Craeg K Strong
cstrong@arielpartners.com
Tue, 10 Sep 2002 14:57:18 -0400
Hello:
I was just curious as to what the status is on this.
I just had to apply the patch to yet another Win2000 computer.
Thanks,
--Craeg
Shane Hathaway wrote:
> On Thu, 29 Aug 2002, Chris Withers wrote:
>
>
>>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
>
>
> Apparently the file "Data.fs.in" doesn't exist. Why? (Try adding "print
> dfi" to custom_zodb.py.)
>
> Shane