DCOracle on win32?
Hi, I have built the DCOracle on a Windows NT box and I can use it from python(I have tested connect, select, update). But it doesn't work with Zope 2. When I try to open the connection my Zope terminates with an unhandled software exception, if I try to use manage_open_connection method in the monitor client I get this traceback(the real connect string is replaced with *): ------ 1999-09-07T12:11:01 PROBLEM(100) ZServer BadRequest <strong>Invalid connection string: </strong><CODE>***/***@***</CODE><br> <!-- OracleError (6413, 'ORA-06413: Connection not open.\012') --> [D:\TestSite\ZServer\medusa\monitor.py|found_terminator|94] [<secure_monitor_channel connected 127.0.0.1:1850 at c02210>|?|0] [D:\TestSite\lib\python\Shared\DC \ZRDB\Connection.py|manage_open_connection|179] [D:\TestSite\lib\python\Shared\DC\ZRDB\Connection.py|connect|197] [D:\TestSite\lib\python\Products\ZOracleDA\db. py|__init__|122] [ocidb.py|__init__|69] Traceback (innermost last): File "D:\TestSite\ZServer\medusa\monitor.py", line 94, in found_terminator result = eval (co, self.local_env) File "<secure_monitor_channel connected 127.0.0.1:1850 at c02210>", line 0, in ? File "D:\TestSite\lib\python\Shared\DC\ZRDB\Connection.py", line 179, in manage_open_connection self.connect(self.connection_string) File "D:\TestSite\lib\python\Shared\DC\ZRDB\Connection.py", line 197, in connect self._v_database_connection=DB(s) File "D:\TestSite\lib\python\Products\ZOracleDA\db.py", line 122, in __init__ db=self.db=self.Database_Connection(connection) File "ocidb.py", line 69, in __init__ BadRequest: <strong>Invalid connection string: </strong><CODE>***/***@***</CODE><br> <!-- OracleError (6413, 'ORA-06413: Connection not open.\012') --> Configuration: Windows NT Workstation with sp5 Zope2 win32 binary distribution ZOracleDA latest source distribution Oracle 7.3.4 client( the server version 7.3...) MS VC 6.0 Thanks in advance for any help Arpad Kiss
Well I dont know what's going on, but switching to the Python coming from the Python win32 distribution solves my problem. Arpad ----- Original Message ----- From: Arpad Kiss <sekter@mail.matav.hu> To: <zope@zope.org> Sent: Tuesday, September 07, 1999 2:25 PM Subject: [Zope] DCOracle on win32?
Hi, I have built the DCOracle on a Windows NT box and I can use it from python(I have tested connect, select, update). But it doesn't work with Zope 2. When I try to open the connection my Zope terminates with an unhandled software exception, if I try to use manage_open_connection method in the monitor client I get this traceback(the real connect string is replaced with *):
------ 1999-09-07T12:11:01 PROBLEM(100) ZServer BadRequest <strong>Invalid connection string: </strong><CODE>***/***@***</CODE><br> <!-- OracleError (6413, 'ORA-06413: Connection not open.\012') --> [D:\TestSite\ZServer\medusa\monitor.py|found_terminator|94] [<secure_monitor_channel connected 127.0.0.1:1850 at c02210>|?|0] [D:\TestSite\lib\python\Shared\DC \ZRDB\Connection.py|manage_open_connection|179] [D:\TestSite\lib\python\Shared\DC\ZRDB\Connection.py|connect|197] [D:\TestSite\lib\python\Products\ZOracleDA\db. py|__init__|122] [ocidb.py|__init__|69] Traceback (innermost last): File "D:\TestSite\ZServer\medusa\monitor.py", line 94, in found_terminator result = eval (co, self.local_env) File "<secure_monitor_channel connected 127.0.0.1:1850 at c02210>", line 0, in ? File "D:\TestSite\lib\python\Shared\DC\ZRDB\Connection.py", line 179, in manage_open_connection self.connect(self.connection_string) File "D:\TestSite\lib\python\Shared\DC\ZRDB\Connection.py", line 197, in connect self._v_database_connection=DB(s) File "D:\TestSite\lib\python\Products\ZOracleDA\db.py", line 122, in __init__ db=self.db=self.Database_Connection(connection) File "ocidb.py", line 69, in __init__ BadRequest: <strong>Invalid connection string: </strong><CODE>***/***@***</CODE><br> <!-- OracleError (6413, 'ORA-06413: Connection not open.\012') -->
Configuration: Windows NT Workstation with sp5 Zope2 win32 binary distribution ZOracleDA latest source distribution Oracle 7.3.4 client( the server version 7.3...) MS VC 6.0
Thanks in advance for any help
Arpad Kiss
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(To receive general Zope announcements, see: http://www.zope.org/mailman/listinfo/zope-announce
For developer-specific issues, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
participants (1)
-
Arpad Kiss