[Zope-DB] Storagemigration from ZODB to Oracle 9i - does it work?

Peter Langner pe.langner at em.uni-frankfurt.de
Sun Oct 12 05:34:10 EDT 2003


Hi,

does anyone get Oracle 9i as storage-replacement for ZODB working. Connecting to 9iR2 with DCOracle2 under ZMI and importing the data from ZODB to oracle works fine. But after restarting zope I will receive the following error:
(I've tried this with Zope 2.6.2 and Zope 2.7 b2 with 9iR2 and the adapter DCOracle 2.1.3b under
Suse 8.1)

under Zope 2.7 b2:
/opt/zope/zope2_7/lib/python/DCOracle2/DCOracle2.py:104: RuntimeWarning: Python C API version mismatch for module dco2: This Python has API version 1012, module dco2 has version 1010.
import dco2
------
2003-10-12T10:21:47 BLATHER(-100) ZODB Commiting subtransaction of size 5386
------
2003-10-12T10:21:47 ERROR(200) ZODB Couldn't load state for 000000000000007a
Traceback (most recent call last):
File "/opt/zope/zope2_7/lib/python/ZODB/Connection.py", line 566, in setstate
self._set_ghost_state(obj, p)
File "/opt/zope/zope2_7/lib/python/ZODB/Connection.py", line 605, in _set_ghost_state
state = unpickler.load()
EOFError
------
2003-10-12T10:21:47 ERROR(200) Zope Couldn't install OFSP
Traceback (most recent call last):
File "/opt/zope/zope2_7/lib/python/OFS/Application.py", line 642, in install_product
initmethod(context)
File "/opt/zope/zope2_7/lib/python/Products/OFSP/__init__.py", line 125, in initialize
context.registerHelp()
File "/opt/zope/zope2_7/lib/python/App/ProductContext.py", line 302, in registerHelp
if help.lastRegistered is not None and \
File "/opt/zope/zope2_7/lib/python/ZODB/Connection.py", line 566, in setstate
self._set_ghost_state(obj, p)
File "/opt/zope/zope2_7/lib/python/ZODB/Connection.py", line 605, in _set_ghost_state
state = unpickler.load()
EOFError
Traceback (most recent call last):
File "/opt/zope/zope2_7/lib/python/Zope/Startup/run.py", line 27, in ?
run()
File "/opt/zope/zope2_7/lib/python/Zope/Startup/run.py", line 24, in run
start_zope(opts.configroot)
File "/opt/zope/zope2_7/lib/python/Zope/Startup/__init__.py", line 50, in start_zope
starter.startZope()
File "/opt/zope/zope2_7/lib/python/Zope/Startup/__init__.py", line 218, in startZope
Zope.startup()
File "/opt/zope/zope2_7/lib/python/Zope/__init__.py", line 46, in startup
_startup()
File "/opt/zope/zope2_7/lib/python/Zope/App/startup.py", line 95, in startup
OFS.Application.initialize(application)
File "/opt/zope/zope2_7/lib/python/OFS/Application.py", line 421, in initialize
install_products(app)
File "/opt/zope/zope2_7/lib/python/OFS/Application.py", line 580, in install_products
folder_permissions, raise_exc=debug_mode)
File "/opt/zope/zope2_7/lib/python/OFS/Application.py", line 642, in install_product
initmethod(context)
File "/opt/zope/zope2_7/lib/python/Products/OFSP/__init__.py", line 125, in initialize
context.registerHelp()
File "/opt/zope/zope2_7/lib/python/App/ProductContext.py", line 302, in registerHelp
if help.lastRegistered is not None and \
File "/opt/zope/zope2_7/lib/python/ZODB/Connection.py", line 566, in setstate
self._set_ghost_state(obj, p)
File "/opt/zope/zope2_7/lib/python/ZODB/Connection.py", line 605, in _set_ghost_state
state = unpickler.load()
EOFError

and under Zope 2.6.2

zope at warbird:~/Zope-2.6.2-src> ./start -w 9000
------
2003-10-12T10:04:05 INFO(0) zdaemon Started subprocess: pid 22265
------
2003-10-12T10:04:06 PROBLEM(100) ZODB Could not import class 'MountedObject' from module 'Products.ZODBMountPoint.MountedObject'
------
2003-10-12T10:04:06 PANIC(300) z2 Startup exception
Traceback (innermost last):
File /opt/zope/Zope-2.6.2-src/z2.py, line 585, in ?
File /opt/zope/Zope-2.6.2-src/lib/python/Zope/__init__.py, line 46, in startup
(Object: startup)
File /opt/zope/Zope-2.6.2-src/lib/python/Zope/App/startup.py, line 92, in startup
(Object: Oracle Storage)
File /opt/zope/Zope-2.6.2-src/lib/python/OFS/Application.py, line 337, in initialize
(Object: Zope)
AttributeError: _setObject

thanks very much in advance
regards Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.zope.org/pipermail/zope-db/attachments/20031012/bae91e5a/attachment.html


More information about the Zope-DB mailing list