From john@nmt.edu Sat Jul 12 21:55:57 1997 From: john@nmt.edu (John W. Shipman) Date: Sat, 12 Jul 1997 14:55:57 -0600 (MDT) Subject: [DB-SIG] ObjectStore and/or Sybase interfaces? Message-ID: We have ObjectStore from Object Design Inc. installed at our site. Is there a native, o-o Python interface available or in development? We also have Sybase, but there's no Python interface to that either, or is there? Since we're looking mainly at new applications and not so much legacy apps, I have a slight preference for the more pure o-o route offered by ObjectStore. Assuming that there's no currently available Python interface to either ObjectStore or Python, which one should I write first? Best regards, John Shipman (john@nmt.edu), Applications Specialist, NM Tech Computer Center, Speare 19, Socorro, NM 87801, (505) 835-5950, http://www.nmt.edu/~john ``Let's go outside and commiserate with nature.'' --Dave Farber _______________ DB-SIG - SIG on Tabular Databases in Python send messages to: db-sig@python.org administrivia to: db-sig-request@python.org _______________ From jim.fulton@digicool.com Tue Jul 15 14:02:06 1997 From: jim.fulton@digicool.com (Jim Fulton) Date: Tue, 15 Jul 1997 09:02:06 -0400 Subject: [DB-SIG] ObjectStore and/or Sybase interfaces? References: Message-ID: <33CB74CE.5849@digicool.com> John W. Shipman wrote: > > We have ObjectStore from Object Design Inc. installed at our > site. Is there a native, o-o Python interface available or in > development? I'm not aware of one, but I remember talking to someone at the 3rd Python workshop who was considering developing something. Unfortunately, I don't remember their name. > We also have Sybase, but there's no Python interface to that > either, or is there? Yes, there is. See http://www.python.org/ftp/python/contrib/Database/ > Since we're looking mainly at new > applications and not so much legacy apps, I have a slight > preference for the more pure o-o route offered by ObjectStore. > > Assuming that there's no currently available Python interface to > either ObjectStore or Python, which one should I write first? We have a Python-based OODB that we developed here. It has evolved (and continues to evolve) from a persistent-object system (http://www.digicool.com/releases/bobo/Persistence.html) that was releases as a part of our web-object publishing system, Bobo (http://www.digicool.com/releases/bobo). Let me know if you'd like to find out more. Jim -- Jim Fulton Digital Creations jim@digicool.com 540.371.6909 ## Python is my favorite language ## ## http://www.python.org/ ## _______________ DB-SIG - SIG on Tabular Databases in Python send messages to: db-sig@python.org administrivia to: db-sig-request@python.org _______________ From sdeibel@dsg.harvard.edu Tue Jul 15 21:18:10 1997 From: sdeibel@dsg.harvard.edu (Christina Perkins) Date: Tue, 15 Jul 1997 16:18:10 -0400 Subject: [DB-SIG] python odbc module Message-ID: <33CBDB01.A9279520@dsg.harvard.edu> Hi all, I'm working on implementing a web site using Python CGI scripts. We're running Microsoft IIS 3.0 and SQL Server 6.5. The ODBC module works perfectly as long as the database and web servers are on the same machine. However, when I try to access a remote datasource in the same domain, I get the following error: dbi.operation-error: [Microsoft][ODBC SQL Server Driver][dbnmpntw]ConnectionOpen (CreateFile()). in LOGIN It seems that ConnectionOpen() needs permission to write a file, and I can't figure out where it's trying to open this file. The user cgi scripts are executed as a domain user with change control on the cgi directories through both sharing and regular file system permissions. Has anyone run into this before? Any advice would be helpful. Thanks, Chris Perkins Decision Systems Group Boston, MA _______________ DB-SIG - SIG on Tabular Databases in Python send messages to: db-sig@python.org administrivia to: db-sig-request@python.org _______________ From cary@ratatosk.org Wed Jul 16 17:59:22 1997 From: cary@ratatosk.org (Cary Collett) Date: Wed, 16 Jul 1997 12:59:22 -0400 (EDT) Subject: [DB-SIG] Oracle Logon Error Message-ID: <199707161659.MAA03689@ratatosk.org> Ok... I have my Oracle module compiled and it imports fine. However, when I try to create a connection object, this happens: >>> ob = oracledb.oracledb("foo/bar") Traceback (innermost last): File "", line 1, in ? OracleDbError: LOGON caused a Error while trying to retrieve text for error ORA-12545 >>> The (real) id and password I'm using are fine when used with sqlplus. Is something wrong or am I missing somthing? System Details: Solaris/Sparc 2.5.1 Python 1.4 gcc 2.7.2 Oracle 7.3.2.0 Thanks in advance, Cary -- Cary Collett caryc@peregrine-pub.com UNIX/WWW Programmer Peregrine Publishers, Inc http://www.peregrine-pub.com _______________ DB-SIG - SIG on Tabular Databases in Python send messages to: db-sig@python.org administrivia to: db-sig-request@python.org _______________ From okeefe@cmr.gov Wed Jul 16 20:07:56 1997 From: okeefe@cmr.gov (Paul O'Keefe) Date: Wed, 16 Jul 97 15:07:56 EDT Subject: [DB-SIG] Oracle Logon Error Message-ID: <9707161907.AA10320@beno.CSS.GOV> |> However, when I try to create a connection object, this happens: |> >>> ob = oracledb.oracledb("foo/bar") |> Traceback (innermost last): |> File "", line 1, in ? |> OracleDbError: LOGON caused a Error while trying to retrieve text for error ORA-12545 1) use "foo/bar@myhost" or set TWO_TASK in your environment 2) set ORACLE_HOME and TNS_ADMIN in your environment Site specific example assuming csh: setenv ORACLE_HOME /home/oracle # wherever Oracle is installed setenv TNS_ADMIN $ORACLE_HOME/sqlnet2.1/config # for SQL*Net 2 I don't think you need to set ORACLE_SID. 3) append $ORACLE_HOME/lib to your LD_LIBRARY_PATH Paul O'Keefe _______________ DB-SIG - SIG on Tabular Databases in Python send messages to: db-sig@python.org administrivia to: db-sig-request@python.org _______________ From Anthony Baxter Sat Jul 19 12:27:59 1997 From: Anthony Baxter (Anthony Baxter) Date: Sat, 19 Jul 1997 21:27:59 +1000 Subject: [DB-SIG] Re: Oracle Logon Error In-Reply-To: Your message of "Wed, 16 Jul 1997 12:59:22 -0400." <199707161659.MAA03689@ratatosk.org> Message-ID: <199707191128.VAA25107@shara.off.connect.com.au> >>> Cary Collett wrote > > Ok... I have my Oracle module compiled and it imports fine. > > However, when I try to create a connection object, this happens: > OracleDbError: LOGON caused a Error while trying to retrieve text for error O RA-12545 I usually see that when some environment variable or another isn't set. FWIW, here's the ones I set - I'm not sure how many of these are necessary. ORACLE_HOME=/opt/oracle/product/7.3.2 ORACLE_TERM=xterm ORA_NLS=/opt/oracle/product/7.3.2/ocommon/nls/admin/data ORACLE_SID=ink ORACLE_DOC=/import/oracle/doc _______________ DB-SIG - SIG on Tabular Databases in Python send messages to: db-sig@python.org administrivia to: db-sig-request@python.org _______________ From gstein@microsoft.com Thu Jul 17 21:32:49 1997 From: gstein@microsoft.com (Greg Stein) Date: Thu, 17 Jul 1997 13:32:49 -0700 Subject: [DB-SIG] closing db-sig Message-ID: <41135C785691CF11B73B00805FD4D2D703260689@RED-17-MSG.dns.microsoft.com> At this point, I believe the db-sig has completed its business and I'd like to close it down. Most of the traffic over the past year has been question-related rather than mission-related. These kinds of posts can easily be moved to the main Python newsgroup. If somebody would like to refine the mission statement and take over "ownership" of the db-sig, then they should speak up and begin that process. Otherwise, I'll send mail to Barry to have the sig closed down sometime in the next couple of weeks. Thx -g _______________ DB-SIG - SIG on Tabular Databases in Python send messages to: db-sig@python.org administrivia to: db-sig-request@python.org _______________ From gstein@microsoft.com Thu Jul 17 21:43:31 1997 From: gstein@microsoft.com (Greg Stein) Date: Thu, 17 Jul 1997 13:43:31 -0700 Subject: [DB-SIG] python odbc module Message-ID: <41135C785691CF11B73B00805FD4D2D70326068A@RED-17-MSG.dns.microsoft.com> That could be related to security contexts. See if your DSN has the "Trusted Connection" flag turned on. That will cause problems since the IIS process might not be running in an appropriate security context to connect to the remote database. I can definitely say that the ODBC module works with remote machines. There is probably some weird setup that you're running into. -g -----Original Message----- From: Christina Perkins [SMTP:cperkins@dsg.harvard.edu] Sent: Tuesday, July 15, 1997 1:18 PM To: pythonwin-sig@python.org; db-sig@python.org; web-sig@python.org Subject: [DB-SIG] python odbc module Hi all, I'm working on implementing a web site using Python CGI scripts. We're running Microsoft IIS 3.0 and SQL Server 6.5. The ODBC module works perfectly as long as the database and web servers are on the same machine. However, when I try to access a remote datasource in the same domain, I get the following error: dbi.operation-error: [Microsoft][ODBC SQL Server Driver][dbnmpntw]ConnectionOpen (CreateFile()). in LOGIN It seems that ConnectionOpen() needs permission to write a file, and I can't figure out where it's trying to open this file. The user cgi scripts are executed as a domain user with change control on the cgi directories through both sharing and regular file system permissions. Has anyone run into this before? Any advice would be helpful. Thanks, Chris Perkins Decision Systems Group Boston, MA _______________ DB-SIG - SIG on Tabular Databases in Python send messages to: db-sig@python.org administrivia to: db-sig-request@python.org _______________ From aaron_watters@msn.com Tue Jul 22 00:35:03 1997 From: aaron_watters@msn.com (aaron watters) Date: Mon, 21 Jul 97 23:35:03 UT Subject: [DB-SIG] closing db-sig Message-ID: Um. What was that? -- Aaron Watters ---------- From: owner-db-sig@python.org on behalf of Greg Stein Sent: Thursday, July 17, 1997 4:33 PM To: 'db-sig@python.org' Cc: 'meta-sig@python.org' Subject: [DB-SIG] closing db-sig <<< No Message Collected >>> _______________ DB-SIG - SIG on Tabular Databases in Python send messages to: db-sig@python.org administrivia to: db-sig-request@python.org _______________ From arw@dante.mh.lucent.com Wed Jul 23 12:10:37 1997 From: arw@dante.mh.lucent.com (Aaron Watters) Date: Wed, 23 Jul 1997 07:10:37 -0400 Subject: [DB-SIG] whence db-sig? Message-ID: <199707231154.HAA21015@dante.mh.lucent.com> I modestly propose that the db-sig not disappear. I think there needs to be a focussed forum at least to answer questions, and perhaps to discuss future developments. Where else are such messages to go? They'll get lost in the Big List. I don't even care if it only gets a few messages a month -- the forum should be there. Actually, I'm not even sure that the pythonwin-sig should have vanished either. Maybe both should be reinvented on starship? -- Aaron Watters _______________ DB-SIG - SIG on Tabular Databases in Python send messages to: db-sig@python.org administrivia to: db-sig-request@python.org _______________ From bwarsaw@CNRI.Reston.Va.US (Barry A. Warsaw) Wed Jul 23 13:29:50 1997 From: bwarsaw@CNRI.Reston.Va.US (Barry A. Warsaw) (Barry A. Warsaw) Date: Wed, 23 Jul 1997 08:29:50 -0400 Subject: [DB-SIG] Re: [META-SIG] whence db-sig? References: <199707231154.HAA21015@dante.mh.lucent.com> Message-ID: <199707231229.IAA27678@anthem.CNRI.Reston.Va.US> | I modestly propose that the db-sig not | disappear. | I think there needs to be a focussed forum | at least to answer questions, and perhaps | to discuss future developments. Seems to me that it makes sense to retire the SIGs when their mission is accomplished. Alternatively, it may be time to start thinking about splitting the comp.lang.python newsgroup. The one question that I have is whether to create m.l. mirrors of any new newsgroups that get voted in. -Barry _______________ DB-SIG - SIG on Tabular Databases in Python send messages to: db-sig@python.org administrivia to: db-sig-request@python.org _______________ From thomas@pop-siegen.de Thu Jul 24 13:12:06 1997 From: thomas@pop-siegen.de (thomas@pop-siegen.de) Date: Thu, 24 Jul 1997 14:12:06 +0200 Subject: [DB-SIG] informixdb not working Message-ID: <199707241217.IAA23031@python.org> --==_Exmh_-179167566P Content-Type: multipart/mixed ; boundary="==_Exmh_-1808719740" This is a multipart MIME message. --==_Exmh_-1808719740 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hello! I'm new to this mailinglist and also new to python. Please excuse me if this question has already been asked a couple of times. After i fixed i little typo in dbi.c (patch attached) i tried to use it. After further investigating the problem i came up with the following: [thomas@sun1 ~]$python Python 1.4 (Dec 12 1996) [GCC 2.7.2] Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam >>> import _informixdb Traceback (innermost last): File "", line 1, in ? ImportError: ld.so.1: python: fatal: relocation error: symbol not found: _PyObject_New: referenced in /usr/local/lib/python1.4/_informixdb.so >>> Can someone help me with an idea about what's going wrong here? Thanks in advance. --==_Exmh_-1808719740 Content-Type: text/plain ; name="dbi.diff"; charset=iso-8859-1 Content-Description: dbi.diff Content-Disposition: attachment; filename="dbi.diff" Content-Transfer-Encoding: 8bit --- informixdb/dbi.c Thu May 15 21:24:48 1997 +++ ../informixdb/dbi.c Thu Jul 24 12:39:02 1997 @@ -141,7 +141,7 @@ if (!getargs(args, "(ss)", &format, &input)) return NULL; - rc = dtcvfmtasc(input, format, datetime); + rc = dtcvfmtasc(input, format, &datetime); if (rc < 0) { printf("conversion failed\n"); return NULL; --==_Exmh_-1808719740 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Bis Bald Thomas ---------------------------------------------------------------- Internet PoP Siegen Phone: +49 271 33879 22 Melanchthonstr. 4-6 Fax: +49 271 33879 44 D-57074 Siegen eMail: stinner@pop-siegen.de ---------------------------------------------------------------- --==_Exmh_-1808719740-- --==_Exmh_-179167566P Content-Type: application/pgp-signature -----BEGIN PGP MESSAGE----- Version: 2.6.3ia iQCVAwUBM9dGlNqHo3YkuBfVAQFK+gQAxuDR2iR2mmhhiENvfEzr2DKgwjAf3/X4 Iu4CkXwvxU/LuN6gtSt2DE9GohOXM2FGiZ8agFhy2ArR/NjjSxPXhB/OZBABnaqi zp1iQezRxyBPIaxO7IrOhjk2axLUz4WqMhnjW6cbAqe130+/ErT7ZQ1li25oDPGa BPuaBANc7n4= =+Ai0 -----END PGP MESSAGE----- --==_Exmh_-179167566P-- _______________ DB-SIG - SIG on Tabular Databases in Python send messages to: db-sig@python.org administrivia to: db-sig-request@python.org _______________ From bertil_reinhammar@ivab.se Thu Jul 24 14:52:09 1997 From: bertil_reinhammar@ivab.se (Bertil Reinhammar) Date: Thu, 24 Jul 1997 15:52:09 +0200 Subject: [DB-SIG] informixdb not working Message-ID: <01BC9849.8BBFD210@brian.doceye.ivab.se> !!! Investigating... To my profound surprise I find that the informixdb.tar.gz, available at = www.python.org, is *not* the one I once delivered. I still claim to be maintainer of = this module, if someone disagrees, please speak up ! Further, I downloaded, compiled and tried it on a Solaris 2.5 box. = Result: Core dump. Seems to work with blob. Seems not to work with dbiDate stuff active which gives me a clue as to = what is going on. I fear that the currently present informixdb.tar.gz is VOID and should = not be used. Thomas: please provide more info, your problem may not stem from the = same source. E.g. have you done *anything* but unpack and compile ? Stay tuned... - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - = - - Bertil Reinhammar WM-Data Infrateknik AB phn. +46 13 200100 Teknikringen 9 fax. +46 13 214897 SE58330 Link=F6ping bertil_reinhammar@ivab.se Sweden -----Original Message----- From: thomas@pop-siegen.de [SMTP:thomas@pop-siegen.de] Sent: Thursday, July 24, 1997 2:12 PM To: db-sig@python.org Subject: [DB-SIG] informixdb not working Hello! I'm new to this mailinglist and also new to python. Please excuse me if = this question has already been asked a couple of times. After i fixed i little typo in dbi.c (patch attached) i tried to use it. After further investigating the problem i came up with the following: [thomas@sun1 ~]$python Python 1.4 (Dec 12 1996) [GCC 2.7.2] Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam >>> import _informixdb Traceback (innermost last): File "", line 1, in ? ImportError: ld.so.1: python: fatal: relocation error: symbol not found: = _PyObject_New: referenced in /usr/local/lib/python1.4/_informixdb.so >>>=20 Can someone help me with an idea about what's going wrong here? Thanks in advance. << File: dbi.txt >> << File: ATT00000.txt >> << File: ATT00001.att >> = _______________ DB-SIG - SIG on Tabular Databases in Python send messages to: db-sig@python.org administrivia to: db-sig-request@python.org _______________ From thomas@pop-siegen.de Thu Jul 24 15:18:11 1997 From: thomas@pop-siegen.de (thomas@pop-siegen.de) Date: Thu, 24 Jul 1997 16:18:11 +0200 Subject: [DB-SIG] informixdb not working In-Reply-To: Your message of "Thu, 24 Jul 1997 15:52:09 +0200." <01BC9849.8BBFD210@brian.doceye.ivab.se> Message-ID: <199707241423.KAA23730@python.org> --==_Exmh_7637364P Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit > Investigating... > To my profound surprise I find that the informixdb.tar.gz, available at www.python.org, > is *not* the one I once delivered. I still claim to be maintainer of this module, if someone disagrees, > please speak up ! > Further, I downloaded, compiled and tried it on a Solaris 2.5 box. Result: Core dump. Hmm, where can i get your version then (BTW, i use sun-sparc-solaris2.5.1 here)? > Thomas: please provide more info, your problem may not stem from the same source. > E.g. have you done *anything* but unpack and compile ? Just what i mentionend in my original posting, fixed the typo. (And copied the two files to my lib-directory of course) But it seems that i have a general problem with my python-installation. snmpy throws a similar problem. I'm just recompiling python. -- Bis Bald Thomas ---------------------------------------------------------------- Internet PoP Siegen Phone: +49 271 33879 22 Melanchthonstr. 4-6 Fax: +49 271 33879 44 D-57074 Siegen eMail: stinner@pop-siegen.de ---------------------------------------------------------------- --==_Exmh_7637364P Content-Type: application/pgp-signature -----BEGIN PGP MESSAGE----- Version: 2.6.3ia iQCVAwUBM9dkIdqHo3YkuBfVAQEaLwP/S3LoSp7O8yJ8CdIYVl61BHGuBhD9CUVQ 2p8Ep/wm/feB5hTdRGl1zV0L9ZHNBJhjnLu+5zZETYfsZcmuAITc7d/k0uF8/daB Guf+Jq2hyvd9q/G5GDavgku2QjmDDnG3juxeDZHARCl4zC3G46k9nbFooD8s6GJA Ysfa/HITq/k= =VbvY -----END PGP MESSAGE----- --==_Exmh_7637364P-- _______________ DB-SIG - SIG on Tabular Databases in Python send messages to: db-sig@python.org administrivia to: db-sig-request@python.org _______________ From bwarsaw@CNRI.Reston.Va.US (Barry A. Warsaw) Fri Jul 25 16:26:46 1997 From: bwarsaw@CNRI.Reston.Va.US (Barry A. Warsaw) (Barry A. Warsaw) Date: Fri, 25 Jul 1997 11:26:46 -0400 Subject: [DB-SIG] Re: [META-SIG] whence db-sig? References: <199707231154.HAA21015@dante.mh.lucent.com> <199707231402.KAA19552@eric.CNRI.Reston.Va.US> Message-ID: <199707251526.LAA02364@anthem.CNRI.Reston.Va.US> >>>>> "MM" == Michael McLay writes: MM> I'd like to keep it alive, so I'll take over as the sig MM> champion. I have made this change, both to the db-sig-owner@python.org alias and on the Web page. (Mike you should get this message at least 3 times! :-). I still feel that SIGs which have accomplished their mission ought to be shut down and different forums be found for some of the non-mission related activities of the lists (e.g. moving them to newsgroups, other links to old archives, etc.). For now... Guido> I think that the db-sig's manifesto ought to be rewritten Guido> though to reflect the changed purpose. ...this is probably fine. Mike, feel free to write up a new mission statement! -Barry _______________ DB-SIG - SIG on Tabular Databases in Python send messages to: db-sig@python.org administrivia to: db-sig-request@python.org _______________ From cary@ratatosk.org Thu Jul 31 21:04:07 1997 From: cary@ratatosk.org (Cary Collett) Date: Thu, 31 Jul 1997 16:04:07 -0400 (EDT) Subject: [DB-SIG] Oracledb bug Message-ID: <199707312004.QAA26376@ratatosk.org> If you attempt to look at the description of a cursor object in the oracledb module before executing an operation it crashes python. This is on a Solaris/SPARC 2.5.1. Obviously at this stage of the game description should be undefined, but the ought to be a more graceful way of handling this. :) >>> import oracledb >>> cobj = oracledb.oracledb('foo/bar') >>> cu = cobj.cursor() >>> cu.description Segmentation fault (core dumped) Cary _______________ DB-SIG - SIG on Tabular Databases in Python send messages to: db-sig@python.org administrivia to: db-sig-request@python.org _______________