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

Shane Hathaway shane@zope.com
Thu, 29 Aug 2002 12:54:22 -0400 (EDT)


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