ZOracleDA on RedHat 6.1 with Oracle 8.0.5.1
I'm trying to use ZOracleDA 2.1.0 or ZOracleDA 2.2.0b1 on my RedHat 6.1 System. I have installed Oracle 8.0.5.1. I can compile and 'python DCOracle_test.py user/pw@sid' works fine. But if I try 'Control-Panel -> Products -> ZOracleDA' I just get this output: ZOracleDA Import Traceback Traceback (innermost last): File "/usr/share/zope/lib/python/OFS/Application.py", line 387, in import_products product=__import__(pname, global_dict, global_dict, silly) File "/usr/share/zope/lib/python/Products/ZOracleDA/__init__.py", line 91, in ? import DA File "/usr/share/zope/lib/python/Products/ZOracleDA/DA.py", line 91, in ? from db import DB File "/usr/share/zope/lib/python/Products/ZOracleDA/db.py", line 89, in ? import DCOracle, DateTime File "/usr/share/zope/lib/python/Products/ZOracleDA/DCOracle/__init__.py", line 52, in ? import sys, Buffer ImportError: No module named Buffer Can anybody help me? Mattias
hi mathias, have you copied the two modules (oci_.so and Buffer.so) from the directory <ZopeRoot>/lib/python/Products/ZOracleDA/src to the DCOracle directory which is also under ZOracleDA? from within the src sirectory, do cp *.so ../DCOracle otherwise zope cannot find these modules! jens
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Mattias Kunkel Sent: Friday, January 07, 2000 04:45 To: zope@zope.org Subject: [Zope] ZOracleDA on RedHat 6.1 with Oracle 8.0.5.1
I'm trying to use ZOracleDA 2.1.0 or ZOracleDA 2.2.0b1 on my RedHat 6.1 System. I have installed Oracle 8.0.5.1. I can compile and 'python DCOracle_test.py user/pw@sid' works fine. But if I try 'Control-Panel -> Products -> ZOracleDA' I just get this output:
ZOracleDA Import Traceback
Traceback (innermost last): File "/usr/share/zope/lib/python/OFS/Application.py", line 387, in import_products product=__import__(pname, global_dict, global_dict, silly) File "/usr/share/zope/lib/python/Products/ZOracleDA/__init__.py", line 91, in ? import DA File "/usr/share/zope/lib/python/Products/ZOracleDA/DA.py", line 91, in ? from db import DB File "/usr/share/zope/lib/python/Products/ZOracleDA/db.py", line 89, in ? import DCOracle, DateTime File "/usr/share/zope/lib/python/Products/ZOracleDA/DCOracle/__init__.py", line 52, in ? import sys, Buffer ImportError: No module named Buffer
Can anybody help me?
Mattias
participants (2)
-
Jens Vagelpohl -
Mattias Kunkel