Re: [Zope-dev] FileStorage instance has no attribute '_serial'

2004-01-05 Thread Jeremy Hylton
Actually, this was a bug in CVS.  I removed the old FileStorage.py on a
branch, but didn't remove it on the trunk when I merged the branch.  It
should be fixed now.

Jeremy



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] FileStorage instance has no attribute '_serial'

2004-01-05 Thread Jeremy Hylton
On Sun, 2004-01-04 at 23:28, Jeff Kowalczyk wrote:
> I'm not sure whether the collector issue 1164 I posted is simply a 
> missing configuration step on my part. At any rate, I'm still unable to
> start the current checkout of Zope HEAD. The only edit I make to
> /var/zope/etc/zope.conf is 'effective-user zuser', and the problem below
> also occurs if I then bin/runzope as root.

I haven't seen the collector issue, but the problem is that
FileStorage.py was removed and replaced with a FileStorage package
(directory).  I would expect a cvs up -d to remove FileStorage.py.  It
may be that you've got a stale .pyc file there that needs to be removed
by hand.

Jeremy



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] FileStorage instance has no attribute '_serial'

2004-01-04 Thread Jeff Kowalczyk
I'm not sure whether the collector issue 1164 I posted is simply a 
missing configuration step on my part. At any rate, I'm still unable to
start the current checkout of Zope HEAD. The only edit I make to
/var/zope/etc/zope.conf is 'effective-user zuser', and the problem below
also occurs if I then bin/runzope as root.

Can anyone tell me if I'm missing something, or is this a bug?

Thanks.

[EMAIL PROTECTED] Zope]$ ./configure
[EMAIL PROTECTED] Zope]$ make
[EMAIL PROTECTED] Zope]$ make install
[EMAIL PROTECTED] var]# /opt/Zope-2.8/bin/mkzopeinstance.py
[EMAIL PROTECTED] Zope]# chown -R zuser /var/zope/var
[EMAIL PROTECTED] Zope]# chgrp -R zuser /var/zope/var
[EMAIL PROTECTED] Zope]$ /var/zope/bin/runzope
--
2004-01-04T23:06:08 INFO(0) ZServer HTTP server started at Sun Jan  4 23:06:08 2004
Hostname: localhost.localdomain
Port: 8080
--
2004-01-04T23:06:08 INFO(0) ZServer FTP server started at Sun Jan  4 23:06:08 2004
Hostname: laptop
Port: 8021
--
2004-01-04T23:06:10 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'

[EMAIL PROTECTED] var]$ ls -l /var/zope/var
total 24
-rw-rw-r--1 zuser   zuser 4 Jan  4 23:06 Data.fs
-rw-rw-r--1 zuser   zuser   103 Jan  4 23:06 Data.fs.index
-rw-rw-r--1 zuser   zuser 5 Jan  4 23:06 Data.fs.lock
-rw-rw-r--1 zuser   zuser 0 Jan  4 23:06 Data.fs.tmp
-rw-r--r--1 zuser   zuser   299 Jan  4 23:01 README.txt
-rw-rw-r--1 zuser   zuser 4 Jan  4 23:06 Z2.lock
-rw-rw-r--1 zuser   zuser 4 Jan  4 23:06 Z2.pid




___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )