ZODB issue

"Roger" <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <201002050145646.SM01236@mobile05>
Hi Jim,

I've got an error with the latest ZODB3 trunk:

Traceback (most recent call last):
  File "D:\XPortal\trunk\bin\app-script.py", line 171, in <module>
    ]+sys.argv[1:])
  File
"d:\home\.buildout\eggs\pastescript-1.7.3-py2.5.egg\paste\script\command.py"
, line 84, in run
    invoke(command, command_name, options, args[1:])
  File
"d:\home\.buildout\eggs\pastescript-1.7.3-py2.5.egg\paste\script\command.py"
, line 123, in invoke
    exit_code = runner.run(args)
  File
"d:\home\.buildout\eggs\pastescript-1.7.3-py2.5.egg\paste\script\command.py"
, line 218, in run
    result = self.command()
  File
"d:\home\.buildout\eggs\pastescript-1.7.3-py2.5.egg\paste\script\serve.py",
line 276, in command
    relative_to=base, global_conf=vars)
  File
"d:\home\.buildout\eggs\pastescript-1.7.3-py2.5.egg\paste\script\serve.py",
line 313, in loadapp
    **kw)
  File
"d:\home\.buildout\eggs\pastedeploy-1.3.3-py2.5.egg\paste\deploy\loadwsgi.py
", line 204, in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File
"d:\home\.buildout\eggs\pastedeploy-1.3.3-py2.5.egg\paste\deploy\loadwsgi.py
", line 225, in loadobj
    return context.create()
  File
"d:\home\.buildout\eggs\pastedeploy-1.3.3-py2.5.egg\paste\deploy\loadwsgi.py
", line 625, in create
    return self.object_type.invoke(self)
  File
"d:\home\.buildout\eggs\pastedeploy-1.3.3-py2.5.egg\paste\deploy\loadwsgi.py
", line 177, in invoke
    next_app = context.next_context.create()
  File
"d:\home\.buildout\eggs\pastedeploy-1.3.3-py2.5.egg\paste\deploy\loadwsgi.py
", line 625, in create
    return self.object_type.invoke(self)
  File
"d:\home\.buildout\eggs\pastedeploy-1.3.3-py2.5.egg\paste\deploy\loadwsgi.py
", line 110, in invoke
    return fix_call(context.object, context.global_conf,
**context.local_conf)
  File
"d:\home\.buildout\eggs\pastedeploy-1.3.3-py2.5.egg\paste\deploy\util\fixtyp
eerror.py", line 57, in fix_call
    val = callable(*args, **kw)
  File "d:\dev\trunk\externals\xpo\src\xpo\wsgi\__init__.py", line 36, in
application_factory
    APPLICATION = zope.app.wsgi.getWSGIApplication(configfile, schemafile)
  File "d:\dev\trunk\externals\zope.app.wsgi\src\zope\app\wsgi\__init__.py",
line 158, in getWSGIApplication
    db = config(configfile, schemafile, features)
  File "d:\dev\trunk\externals\zope.app.wsgi\src\zope\app\wsgi\__init__.py",
line 150, in config
    db = appsetup.multi_database(options.databases)[0][0]
  File
"d:\dev\trunk\externals\zope.app.appsetup\src\zope\app\appsetup\appsetup.py"
, line 213, in multi_database
    db = factory.open()
  File "d:\dev\trunk\externals\zodb3\src\ZODB\config.py", line 101, in open
    storage = section.storage.open()
  File "d:\dev\trunk\externals\zodb3\src\ZODB\config.py", line 169, in open
    return FileStorage(config.path, **options)
  File "d:\dev\trunk\externals\zodb3\src\ZODB\FileStorage\FileStorage.py",
line 188, in __init__
    self._save_index()
  File "d:\dev\trunk\externals\zodb3\src\ZODB\FileStorage\FileStorage.py",
line 249, in _save_index
    self._index.save(self._pos, tmp_name)
  File "d:\dev\trunk\externals\zodb3\src\ZODB\fsIndex.py", line 104, in save
    pickler.dump((k, v.toString()))
AttributeError: 'BTrees.fsBTree.fsBucket' object has no attribute 'toString'


I just started an custom instance using an empty ZODB and added some
objects,
after that I coudn't restart zope.

Switching to the latest released ZODB3 package solved the problem
for now. The existing ZODB works well with the latest release.
Don't worry this is just a development trunk I don't need help.

But probably this is a problem and should't get released as is.
Any hints?


Regards
Roger Ineichen
_____________________________
END OF MESSAGE

_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.