[ZCM] [ZC] 1164/ 1 Request "Filestorage has no attribute _serial"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Thu Jan 1 16:17:12 EST 2004


Issue #1164 Update (Request) "Filestorage has no attribute _serial"
 Status Pending, Zope/bug medium
To followup, visit:
  http://zope.org/Collectors/Zope/1164

==============================================================
= Request - Entry #1 by JeffK on Jan 1, 2004 4:17 pm

This may be a transient bug in between planned commits, but posting anyway. Followed normal make, make install, mkzopeinstance procedure. Is it a config error on my part? Data.fs, etc got created before AttributeError exception.

$ ./runzope
------
2004-01-01T16:09:12 INFO(0) ZServer HTTP server started at Thu Jan  1 16:09:12 2004
        Hostname: localhost.localdomain
        Port: 8080
------
2004-01-01T16:09:12 INFO(0) ZServer FTP server started at Thu Jan  1 16:09:12 2004
        Hostname: laptop
        Port: 8021
------
2004-01-01T16:09:13 DEBUG(-200) FileStorage create storage /var/zope/var/Data.fsTraceback (most recent call last):
  File "/opt/Zope-2.8/lib/python/Zope/Startup/run.py", line 49, in ?
    run()
  File "/opt/Zope-2.8/lib/python/Zope/Startup/run.py", line 19, in run
    start_zope(opts.configroot)
  File "/opt/Zope-2.8/lib/python/Zope/Startup/__init__.py", line 50, in start_zope
    starter.startZope()
  File "/opt/Zope-2.8/lib/python/Zope/Startup/__init__.py", line 218, in startZope
    Zope.startup()
  File "/opt/Zope-2.8/lib/python/Zope/__init__.py", line 46, in startup
    _startup()
  File "/opt/Zope-2.8/lib/python/Zope/App/startup.py", line 54, in startup
    DB = configuration.dbtab.getDatabase('/', is_root=1)
  File "/opt/Zope-2.8/lib/python/DBTab/DBTab.py", line 96, in getDatabase
    db = self._createDatabase(name, is_root)
  File "/opt/Zope-2.8/lib/python/DBTab/DBTab.py", line 113, in _createDatabase
    db = factory.open()
  File "/opt/Zope-2.8/lib/python/Zope/Startup/datatypes.py", line 172, in open
    DB = self.createDB()
  File "/opt/Zope-2.8/lib/python/Zope/Startup/datatypes.py", line 169, in createDB
    return ZODBDatabase.open(self)
  File "/opt/Zope-2.8/lib/python/ZODB/config.py", line 101, in open
    version_cache_size=section.version_cache_size)
  File "/opt/Zope-2.8/lib/python/ZODB/DB.py", line 98, in __init__
    storage.store('\0\0\0\0\0\0\0\0', None, file.getvalue(), '', t)
  File "/opt/Zope-2.8/lib/python/ZODB/FileStorage.py", line 791, in store
    newserial=self._serial
AttributeError: FileStorage instance has no attribute '_serial'

==============================================================




More information about the Zope-Collector-Monitor mailing list