Hello I've already installed DCOracle2 on SuSE 8.0 and SuSE 8.1, always with an Oracle 9i RC2. This works fine. This installations also work with Zope 2.6.1. Now I'm trying to install it on a SuSE 8.2 with Zope 2.6.2b2, and I'm not able to install it. The make works fine, but when I try to start Zope, I'm getting the following error message: ------ 2003-06-27T19:13:45 INFO(0) zdaemon Started subprocess: pid 3044 ------ 2003-06-27T19:13:47 ERROR(200) Zope Could not import Products.DCOracle2 Traceback (innermost last): File /var/tmp/zope-2.6.2b2-dzug_buildroot/opt/zope/lib/python/OFS/Application.py, line 542, in import_product File /opt/zope/zope-sites/EFIMS/Products/DCOracle2/__init__.py, line 91, in ? File /opt/zope/zope-sites/EFIMS/Products/DCOracle2/DA.py, line 90, in ? File /opt/zope/zope-sites/EFIMS/Products/DCOracle2/db.py, line 89, in ? File /opt/zope/zope-sites/EFIMS/Products/DCOracle2/DCOracle2/__init__.py, line 37, in ? File /opt/zope/zope-sites/EFIMS/Products/DCOracle2/DCOracle2/DCOracle2.py, line 104, in ? ImportError: /opt/zope/zope-sites/EFIMS/Products/DCOracle2/DCOracle2/dco2.so: undefined symbol: PyType_IsSubtype ------ 2003-06-27T19:13:47 PANIC(300) z2 Startup exception Traceback (innermost last): File /opt/zope/z2.py, line 585, in ? File /var/tmp/zope-2.6.2b2-dzug_buildroot/opt/zope/lib/python/Zope/__init__.py, line 46, in startup (Object: startup) File /var/tmp/zope-2.6.2b2-dzug_buildroot/opt/zope/lib/python/Zope/App/startup.py , line 43, in startup File /var/tmp/zope-2.6.2b2-dzug_buildroot/opt/zope/lib/python/OFS/Application.py, line 520, in import_products File /var/tmp/zope-2.6.2b2-dzug_buildroot/opt/zope/lib/python/OFS/Application.py, line 542, in import_product File /opt/zope/zope-sites/EFIMS/Products/DCOracle2/__init__.py, line 91, in ? File /opt/zope/zope-sites/EFIMS/Products/DCOracle2/DA.py, line 90, in ? File /opt/zope/zope-sites/EFIMS/Products/DCOracle2/db.py, line 89, in ? File /opt/zope/zope-sites/EFIMS/Products/DCOracle2/DCOracle2/__init__.py, line 37, in ? File /opt/zope/zope-sites/EFIMS/Products/DCOracle2/DCOracle2/DCOracle2.py, line 104, in ? ImportError: /opt/zope/zope-sites/EFIMS/Products/DCOracle2/DCOracle2/dco2.so: undefined symbol: PyType_IsSubtype Has anybody an idea, what this PyType_IsSubtype is? --- Mit freundlichen GrĂ¼ssen - Meilleures salutations - Kind regards - Cordiali saluti Dieter Fischer Grid IT GmbH Im Niederholzboden 24 CH-4125 Riehen
Hello I've found the problem. SuSE installs 8.2 with Python 2.2 per default. It has a link in /usr/bin pyhton -> python2.2. I linked it to pyhton2.1 (which I had to install for the RPM of the DZUG), then I made the make of DCOracle2, and linked it again to python2.2. Now it works fine ;-). But as I remember (it's some time ago), also SuSE 8.1 installs Python 2.2 by default, and there I didn't had this problems. Regards Dieter
participants (1)
-
Dieter Fischer