Installation problems DCOracle2 & W2000

brueckd at tbye.com brueckd at tbye.com
Wed Jun 26 11:17:41 EDT 2002


On Wed, 26 Jun 2002, Talon wrote:

> I am having a heck of a time getting DCOracle2 to funcion properly.  I 
> am running on a W2K machine, python2.1.3 and Zope 2.5.1, both of which 
> run just fine.  I installed DCOracle2 and the ZOracleDA under Zope and 
> it works fine.  But standalone python scripts don't see the dco2.py 
> module.  So I tried to install DCOracle2 in the python21/lib folder.  I 
> got that latest version from Zope.org and it said it installed properly.  
> But it doesn't run.  If you try to import it into a script, you get 
> complaints that it can't find this or that module, all of which are part 
> of the Zope path.

Hi Talon,

Some of our development machines use the same configuration you list 
above. You're probably _very_ close, so I'd stick with DCOracle2 if you 
can. Would you mind posting the specific error messages you're getting? 
Also, you mentioned that standalone scripts don't work, but just to be 
clear, using DCOracle2 in Zope _does_ work without problems? (your 
connection object is open, you can browse the database, you can run test 
queries, ZSQL methods, etc.)

If it's working for Zope, then standalone scripts should be able to use
DCO2 if you include the right directory in your PYTHONPATH environment
variable, so please tell us what your PYTHONPATH is too.

Good luck,
Dave






More information about the Python-list mailing list