[Zope-dev] Hmm.

David Ascher da@ski.org
Tue, 20 Apr 1999 13:26:25 -0700 (Pacific Daylight Time)


I was about to send a message saying that I'd managed to get fsimport to
work, but apparently it worked only at the cost of corrupting the DB:

/usr/Zope:> python serve.py
Traceback (innermost last):
  File "serve.py", line 102, in ?

ZopeHTTPServer.main(sys.argv[1:]+[os.path.join(os.getcwd(),'lib','python','M
ain.py')])
  File "d:\Zope\ZopeHTTPServer\ZopeHTTPServer.py", line 528, in main
    start(module_file,host,port,threading,env)
  File "d:\Zope\ZopeHTTPServer\ZopeHTTPServer.py", line 466, in start
    set_published_module(module_file,BoboRequestHandler,env)
  File "d:\Zope\ZopeHTTPServer\ZopeHTTPServer.py", line 462, in
set_published_mo
dule
    __import__(name) # to catch problem modules right away
  File "d:\Zope\lib\python\Main.py", line 103, in ?
    Bobobase=OFS.Application.open_bobobase()
  File "d:\Zope\lib\python\OFS\Application.py", line 305, in open_bobobase
    Bobobase=Globals.Bobobase=Globals.PickleDictionary(
  File "d:\Zope\lib\python\BoboPOS\PickleDictionary.py", line 159, in
__init__
    db=apply(DBType,(),storage_options)
  File "d:\Zope\lib\python\BoboPOS\SimpleDB.py", line 221, in __init__
    self.open(file_name,create,revision_time,meta_index,read_only)
  File "d:\Zope\lib\python\BoboPOS\SimpleDB.py", line 259, in open
    v=file.read(len(self.packed_version))
IOError: [Errno 13] Permission denied

What can I do to "undo" if I can't start either server.py or ZServer?

--david

[In case it matters, I made a typo and fsimported a much bigger directory
than is reasonable -- I suspect that's the source of the problem]