[Zope] Oracle DB Connection
Philipp Auersperg
zope@philosoft.at
Sun, 03 Sep 2000 13:11:03 +0200
Did you also build the *DCOracle* package that is needed by the ZOracleDA?
you have to exactly follow the build instructions that come with this package.
When you have built it there are two shared libraries:
Buffer.so and oci_.so.
Your traceback says that Buffer cannot be imported, that means python cannot find Buffer.so
Solution:
1. Build the DCOracle package
2. You have to check that the two .so files are to the *lib/python1.5/site-packes* directory under your Zope
main directory
Good luck
Philipp Auersperg (zwork)
*********** REPLY SEPARATOR ***********
On 02.09.2000 at 15:23 Coleman, Bryan wrote:
>I have tried to install the ZOracleDA product for Zope and there is a little
>broken box to the product listing which I am assuming meens it is not
>working. I also get an error that says.
>
>ZOracleDA Import Traceback
>Traceback (innermost last):
> File "C:\PROGRA~1\QUESTC~1\lib\python\OFS\Application.py", line 396, in
>import_products
> product=__import__(pname, global_dict, global_dict, silly)
> File "C:\PROGRA~1\QUESTC~1\lib\python\Products\ZOracleDA\__init__.py",
>line 91, in ?
> import DA
> File "C:\PROGRA~1\QUESTC~1\lib\python\Products\ZOracleDA\DA.py", line 91,
>in ?
> from db import DB
> File "C:\PROGRA~1\QUESTC~1\lib\python\Products\ZOracleDA\db.py", line 89,
>in ?
> import DCOracle, DateTime
> File
>"C:\PROGRA~1\QUESTC~1\lib\python\Products\ZOracleDA\DCOracle\__init__.py",
>line 52, in ?
> import sys, Buffer
>ImportError: No module named Buffer
>
>I am using Zope 2.2.1, is there another module I should be using or is this
>the right one?
>
>- Bryan Patrick Coleman
> Questcon Technologies
> (336)273-2428 ext-416
> bcoleman@questcon.com
>
>
>
>_______________________________________________
>Zope maillist - Zope@zope.org
>http://lists.zope.org/mailman/listinfo/zope
>** No cross posts or HTML encoding! **
>(Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )