[Zope-DB] Re: [Zope] ZOracleDA: compiling dco2.pyd for python23 on windows

Elena Schulz elena.schulz at gmx.net
Wed Mar 10 11:37:45 EST 2004


Hi Chris,

> (please note change of list)
ok, but could you all reply to me directly as I am not subscribed here ...

> The exception type, value and traceback when you get the ORA-21301 would
also be
> handy...

Some more investigation showed that selects on table with only varchar and
char types do work but as soon as there is an integer-type in the
table-setup I get this error. I add some more info from the DCOracle2 Debug
Information below.

-- thanx for your help, Elena.

P.S.: if someone could provide a dco2.pyd for python 2.3 on windows it would
be even of more help ;-)


Here is the traceback:
Error Type: DatabaseError
Error Value: (21301, 'ORA-21301: Nicht im Objektmodus initialisiert')
Error error_tb:

Traceback (innermost last):

    * Module ZPublisher.Publish, line 100, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 40, in call_object
    * Module Shared.DC.ZRDB.Connection, line 115, in manage_test
    * Module Products.ZOracleDA.db, line 189, in query
    * Module Products.ZOracleDA.DCOracle2.DCOracle2, line 1223, in fetchmany
    * Module Products.ZOracleDA.DCOracle2.DCOracle2, line 1190, in fetchone

DatabaseError: (21301, 'ORA-21301: Nicht im Objektmodus initialisiert')


DCOracle2 Debug Information:

Oracle version strings:

    * TNS for 32-bit Windows: : 9.2.0.1.0 (Production)
    * PL/SQL : 9.2.0.1.0 (Production)
    * NLSRTL : 9.2.0.1.0 (Production)
    * Oracle9i Enterprise Edition : 9.2.0.1.0 (Production)
    * DCOracle2: (cvs release) -- DCOracle2 1.103 (dco2:
1.137 -DWIN32 -DUSEFILETIME -DNATIVENUMERIC=1 )





More information about the Zope-DB mailing list