From jonathan at hotmail.com Tue Mar 2 16:42:05 2004 From: jonathan at hotmail.com (Jonathan) Date: Tue Mar 2 17:30:03 2004 Subject: [DB-SIG] asdf Message-ID: asdf From asia at reagan.com Wed Mar 3 16:46:13 2004 From: asia at reagan.com (harrythai) Date: Wed Mar 3 18:07:16 2004 Subject: [DB-SIG] yo Message-ID: <200403032146.i23LkBe4011458@mxzilla1.xs4all.nl> An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/db-sig/attachments/20040303/19612c96/attachment.html From LBALOGH at suoftec.hu Thu Mar 4 02:27:27 2004 From: LBALOGH at suoftec.hu (Balogh Laszlo) Date: Thu Mar 4 09:24:33 2004 Subject: [DB-SIG] (no subject) Message-ID: From pythontutor at venix.com Fri Mar 5 10:10:52 2004 From: pythontutor at venix.com (Lloyd Kvam) Date: Fri Mar 5 10:11:03 2004 Subject: [DB-SIG] MySQL lost connections Message-ID: <4048987C.7090701@venix.com> I have been getting python program failures involving lost connections to a MySQL database. The server is a Redhat (9) Linux box. The clients are running Win2K. To research the issue, I've been running tcpdump on the server to trace the packet flow. The following text describes what I found from tcpdump. My guess is that this is really some kind of Windows problem, but I have not had any success getting information on that front. I'd appreciate any thoughts or suggestions. Thanks. At 11:54:01 we have the PC acknowledging successful receipt of the previous packet from the database. I assume the PC operator heads off to lunch at this point, leaving the program running. Then at 12:59:02 the PC tries to open a new connection from port 3648 rather than 1497, the port it had been using. The database accepts the new connection. At 12:59:03 the PC resets (closes) the new connection. I believe that this is when the program realized it had lost its working connection and aborted. At 12:59:09 a new connection from port 3650 is establised. I believe this is from the program being restarted. 3650 was still working when I wrote this email. So, what's going on??? My guess is that Windows is terminating the idle connection even though the program is still running!!! When the program tries to use the connection that it had never closed, Windows attempts to open a new connection. However, that never connection never established the login with the database, so it doesn't work. The program now aborts because it has lost its working database connection. Once the program is restarted, we are back to normal. I will try to research whether this idea can possibly be correct. -- Lloyd Kvam Venix Corp. 1 Court Street, Suite 378 Lebanon, NH 03766-1358 voice: 603-653-8139 fax: 801-459-9582 From chris at cogdon.org Fri Mar 5 11:12:49 2004 From: chris at cogdon.org (Chris Cogdon) Date: Fri Mar 5 11:13:03 2004 Subject: [DB-SIG] MySQL lost connections In-Reply-To: <4048987C.7090701@venix.com> References: <4048987C.7090701@venix.com> Message-ID: On Mar 5, 2004, at 07:10, Lloyd Kvam wrote: > I have been getting python program failures involving lost connections > to a > MySQL database. The server is a Redhat (9) Linux box. The clients > are running > Win2K. To research the issue, I've been running tcpdump on the server > to trace > the packet flow. The following text describes what I found from > tcpdump. My > guess is that this is really some kind of Windows problem, but I have > not had > any success getting information on that front. I'd appreciate any > thoughts or > suggestions. Thanks. > > > At 11:54:01 we have the PC acknowledging successful receipt of the > previous packet from > the database. I assume the PC operator heads off to lunch at this > point, leaving > the program running. > > Then at 12:59:02 the PC tries to open a new connection from port 3648 > rather than 1497, > the port it had been using. The database accepts the new connection. > > At 12:59:03 the PC resets (closes) the new connection. I believe that > this is when the > program realized it had lost its working connection and aborted. > > At 12:59:09 a new connection from port 3650 is establised. I believe > this is from the > program being restarted. 3650 was still working when I wrote this > email. > > So, what's going on??? > > My guess is that Windows is terminating the idle connection even > though the program is > still running!!! When the program tries to use the connection that it > had never closed, > Windows attempts to open a new connection. However, that never > connection never established > the login with the database, so it doesn't work. The program now > aborts because it has > lost its working database connection. Once the program is restarted, > we are back to normal. > > I will try to research whether this idea can possibly be correct. This type of problem is typical if you have something like NAT running. I "don't do windows" anymore, so I don't know if Win2K has any kind of internal NAT going on... but... if there's an external NAT box between your client and server, then that seems like the most likely culprit. To fix: change the nat to have a much larger timeout, or... change your client program so that it will properly reconnect the database if it notices that it's dead. -- ("`-/")_.-'"``-._ Chris Cogdon . . `; -._ )-;-,_`) (v_,)' _ )`-.\ ``-' _.- _..-_/ / ((.' ((,.-' ((,/ fL From paul at snake.net Fri Mar 5 11:17:06 2004 From: paul at snake.net (Paul DuBois) Date: Fri Mar 5 11:17:09 2004 Subject: [DB-SIG] MySQL lost connections In-Reply-To: <4048987C.7090701@venix.com> References: <4048987C.7090701@venix.com> Message-ID: At 10:10 -0500 3/5/04, Lloyd Kvam wrote: >I have been getting python program failures involving lost connections to a >MySQL database. The server is a Redhat (9) Linux box. The clients >are running >Win2K. To research the issue, I've been running tcpdump on the >server to trace >the packet flow. The following text describes what I found from tcpdump. My >guess is that this is really some kind of Windows problem, but I have not had >any success getting information on that front. I'd appreciate any thoughts or >suggestions. Thanks. > > >At 11:54:01 we have the PC acknowledging successful receipt of the >previous packet from >the database. I assume the PC operator heads off to lunch at this >point, leaving >the program running. > >Then at 12:59:02 the PC tries to open a new connection from port >3648 rather than 1497, >the port it had been using. The database accepts the new connection. > >At 12:59:03 the PC resets (closes) the new connection. I believe >that this is when the >program realized it had lost its working connection and aborted. > >At 12:59:09 a new connection from port 3650 is establised. I >believe this is from the >program being restarted. 3650 was still working when I wrote this email. > >So, what's going on??? > >My guess is that Windows is terminating the idle connection even >though the program is >still running!!! When the program tries to use the connection that >it had never closed, >Windows attempts to open a new connection. However, that never >connection never established >the login with the database, so it doesn't work. The program now >aborts because it has >lost its working database connection. Once the program is >restarted, we are back to normal. > >I will try to research whether this idea can possibly be correct. Check the version of MySQL on the Windows side. There was a problem in 4.0.15 that caused Windows clients to time out very quickly. http://www.mysql.com/doc/en/News-4.0.16.html Note 6th item in "bugs fixed" section. From dang1 at hotmail.com Sat Mar 6 15:00:07 2004 From: dang1 at hotmail.com (Dang1) Date: Sat Mar 6 21:00:08 2004 Subject: [DB-SIG] my scream :( In-Reply-To: References: Message-ID: <4LB8821DL38KC969@hotmail.com> Cialis IsA NewImpotenceDrug. Cialis is in a class of medications known as PDE-5Inhibitors, which are used to treat MaleImpotence. Up to 86% of patients WhoTakeCialis experience an improvement in their erections. CialisActs in the SameWay As Viagr. YouGainE-rections faster and easier with Cialis. WhyWe? - NoPrescriptionRequired - FreeConsultations - WorldwideShipping - SatisfactionGuaranteed - MoneyBackGuarantee http://15.pharmaheaven.com/15/ From abuse at rt.propagation.net Sun Mar 7 20:15:38 2004 From: abuse at rt.propagation.net (Abuse) Date: Sun Mar 7 20:37:04 2004 Subject: [DB-SIG] [rt.propagation.net #1198934] AutoReply: read it immediately In-Reply-To: Message-ID: Greetings from the Abuse Team, This is an automated reply to inform you that we have received your e-mail, "read it immediately", regarding an alleged violation of our Acceptable Use Policy by a customer of ours. Your ticket has been assigned an ID of [rt.propagation.net #1198934]. If your issue involves unsolicited commercial e-mail, please reply to us with the entire unsolicited e-mail with complete headers if you have not already done so. Please limit your e-mail to essential information that would help us with investigating the incident. Personal commentary may delay the processing of your request. Please be advised that we can only address abuse issues regarding our customers. Spam and/or abuse issues involving non-customers need to be reported to the Abuse address of the originating domain or service provider for proper handling and disposition. Please be aware that it is common for spam and Usenet abuse to be generated with false or manipulated return addresses, thus the issue may not involve us or our customers. Please look at the full header information, including the received lines, to determine the true origin of the e-mail. For Usenet, you can use the 'NNTP posting host' IP address or hostname. We appreciate the time you have taken to report the alleged abuse, however due to the volume of e-mails we receive, we are not able to respond personally to each complaint received. If you have additional information regarding this same matter, please reply to this message and maintain the following subject line: [rt.propagation.net #1198934] Make sure you include the []'s and everything inside of them. Thank you, abuse ------------------------------------------------------------------------- ok From ianb at imagescape.com Tue Mar 9 01:09:23 2004 From: ianb at imagescape.com (Ian Bicking) Date: Tue Mar 9 01:09:33 2004 Subject: [DB-SIG] ANN: SQLObject 0.5.2 Message-ID: <500A3F70-7190-11D8-9A9E-000393C2D67E@imagescape.com> SQLObject 0.5.2 released ------------------------ Homepage: http://sqlobject.org Download: http://prdownloads.sourceforge.net/sqlobject/SQLObject-0.5.2.tar.gz? download News: http://sqlobject.org/docs/News.html#sqlobject-0-5-2 What's Changed? --------------- 0.5.2 is a bug fix release, particularly a thread-related bug when using extended selects. All users are recommended to upgrade. What is it? ----------- SQLObject is an object relational mapper. It allows you to easily create an object interface to your database -- tables are classes, rows are instances. Its goals are ease of use and low barrier to entry, while maintaining the ability to customize and extend your classes as your needs grow. -- Ian Bicking | ianb@colorstudy.com | http://blog.ianbicking.org From mailinglist at jacobfeinberg.com Fri Mar 12 12:57:37 2004 From: mailinglist at jacobfeinberg.com (Jacob Feinberg's Mailing List) Date: Fri Mar 12 12:56:30 2004 Subject: [DB-SIG] Re: Word file In-Reply-To: <200403121056.i2CAu1jJ031856@inbound-mx1.atl.registeredsite.com> Message-ID: DON'T SEND ME VIRUSES! On Friday, March 12, 2004, at 02:56 AM, db-sig@python.org wrote: > Please have a look at the attached file. > From Customer.Relations at SeekfordSolutions.com Mon Mar 15 23:28:10 2004 From: Customer.Relations at SeekfordSolutions.com (Seekford Solutions, Inc.) Date: Tue Mar 16 02:26:46 2004 Subject: [DB-SIG] Developer Information from Seekford Solutions, Inc. Message-ID: Greeting from Seekford Solutions, Inc., I am sure you have to get your software development projects done on time and under budget. Don't we all? If you don?t use third-party components, it can be next to impossible. No one wants to reinvent the wheel, especially at a significantly higher cost and sacrificing your precious time. I personally like to spend time with my family and friends; developers need to have lives too. Seekford Solutions, Inc. is a third party component developer that allows you easily integrate Internet communication functionality into your new and existing applications. With very few lines of code you can send and receive emails, upload and download files via HTTP and FTP, synchronize with atomic clocks for highly accurate time stamping and clock setting, communicate with news group servers, and even secure data with highly complex (easy to use though) algorithms for data hashing. Lets not take up too much more of your time. Please check out our selection of .NET and ActiveX technologies at our website: http://www.SeekfordSolutions.com Clients around the world using a large variety of programming languages currently use our controls, many Fortune 500 companies included. Our components are available from a number of major distributors and all products come with free e-mail technical support. Thank you, Customer relations Seekford Solutions, Inc. http://www.SeekfordSolutions.com Tampa, FL If you do not want to receive communications from us, please just reply with REMOVE in the subject. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/db-sig/attachments/20040315/3954d24d/attachment.html From lovetest at lovecompatibilitytester.com Wed Mar 17 20:59:48 2004 From: lovetest at lovecompatibilitytester.com (Love Compatibility Tester) Date: Wed Mar 17 19:04:15 2004 Subject: [DB-SIG] You have received a love compatibility test! Message-ID: An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/db-sig/attachments/20040318/b90ef615/attachment.html From sysop at cityofmanila.com.ph Thu Mar 18 06:15:29 2004 From: sysop at cityofmanila.com.ph (MailScanner) Date: Thu Mar 18 07:04:33 2004 Subject: [DB-SIG] Warning: E-mail viruses detected Message-ID: <200403181115.i2IBFTk03176@mail.cityofmanila.com.ph> Our virus detector has just been triggered by a message you sent:- To: Subject: Re: Re: Thanks! Date: Thu Mar 18 19:15:28 2004 One or more of the attachments are on the list of unacceptable attachments for this site and will not have been delivered. Consider renaming the files or putting them into a "zip" file to avoid this constraint. The virus detector said this about the message: Report: Shortcuts to MS-Dos programs are very dangerous in email in document.pif -- MailScanner Email Virus Scanner From SiegfriedLorensen89 at scientist.com Sat Mar 20 11:25:40 2004 From: SiegfriedLorensen89 at scientist.com (Ayla Bhatti) Date: Sat Mar 20 11:33:48 2004 Subject: [DB-SIG] Over Due Account Message-ID: <648010398343.RXFAkOMvYqeBx1@netscape.com> An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/db-sig/attachments/20040320/0b320597/attachment.html From excitementboolean at ameritech.net Sun Mar 21 03:51:52 2004 From: excitementboolean at ameritech.net (Santos Effross) Date: Sun Mar 21 03:50:31 2004 Subject: [DB-SIG] C'IAL1S & L'EVITRA is the ANT1-Imp0tence drug to win apprOva1 from the U.S.A F0Od and Drug ADM1NISTRAT10N Message-ID: An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/db-sig/attachments/20040321/74786dd0/attachment.html From billing at rt.propagation.net Mon Mar 22 09:36:21 2004 From: billing at rt.propagation.net (Billing) Date: Mon Mar 22 09:31:53 2004 Subject: [DB-SIG] [rt.propagation.net #1250728] AutoReply: unknown In-Reply-To: Message-ID: Greetings, Your questions are important to us here at C I Host and we will respond to them in the order that they are received. Our accounting representatives are staffed Monday through Friday 9am to 6pm CST. We are here to assist you with any questions you may have regarding the billing of your account. For live representative assistance you may call us during normal business hours, toll free at 888-868-9931 or international at 001-1-817-868-9931 or chat live with an accounting representative using this direct link http://www.cihost.com/?zone=chat/chat_billing . We thank you for your time. Check us out on the web at http://www.cihost.com ------------------------------------- How was your experience? We want to know! -------------------------------------------------------- Rate our service at http://www.cihost.com/?zone=contact/rate_our_service This message has been automatically generated in response to the creation of an accounting ticket regarding: "unknown", a summary of which appears below. Accounting personnel will review your request and you will be notified when it is completed. There is no need to reply to this message right now. Your ticket has been assigned an ID of [rt.propagation.net #1250728]. Please include the string: [rt.propagation.net #1250728] In the subject line of all future correspondence about this issue (make sure you include the []'s and everything inside of them.) To do so, you may reply to this message. Thank you, billing@rt.propagation.net ------------------------------------------------------------------------- that is bad From duaneh at connexus.net.au Wed Mar 24 05:06:52 2004 From: duaneh at connexus.net.au (Duane Hennessy) Date: Wed Mar 24 05:03:43 2004 Subject: [DB-SIG] MySQLdb user login issue Message-ID: <40615DBC.9010800@connexus.net.au> I'm using MySQLdb module to access MySQL 5.0 on Windows. I'm accessing via the "root" user ID. I set the .INI file with user=duane passwd = hello but I cannot logon to MySQL with these properties instead I get a message saying something along the lines of "No permission for ''@'localhost'" etc. So I can only logon as "root". I'm trying to create a user through SQL and so far I am having little success with that also. I'm following the manual that comes with MySQL. This is a real pain! Has anyone experienced this issue and do they know how to fix it? I don't want to keep using the root userid. Thanks, -- DUANE HENNESSY TROPICAL QUEENSLAND, AUSTRALIA. -------------- next part -------------- A non-text attachment was scrubbed... Name: duaneh.vcf Type: text/x-vcard Size: 220 bytes Desc: not available Url : http://mail.python.org/pipermail/db-sig/attachments/20040324/6f806ec0/duaneh.vcf From rasjidw at openminddev.net Wed Mar 24 06:20:58 2004 From: rasjidw at openminddev.net (Rasjid Wilcox) Date: Wed Mar 24 06:17:32 2004 Subject: [DB-SIG] Re: [Python-au] MySQLdb user login issue In-Reply-To: <40615DBC.9010800@connexus.net.au> References: <40615DBC.9010800@connexus.net.au> Message-ID: <200403242220.58741.rasjidw@openminddev.net> On Wednesday 24 March 2004 21:06, Duane Hennessy wrote: > Has anyone experienced this issue and do they know how to fix it? I > don't want to keep using the root userid. I've never used MySQL on Windows, only on Linux and there I'm generally happy with the command line tools. But on Windows I would suggest getting the MySQL Control Center (http://www.mysql.com/products/mysqlcc/index.html) and use it to add your new user. Cheers, Rasjid. -- Rasjid Wilcox Canberra, Australia (UTC +11 hrs) http://www.openminddev.net From lists at celeritas-inc.com Wed Mar 24 11:01:01 2004 From: lists at celeritas-inc.com (Nathan Eror) Date: Wed Mar 24 11:01:05 2004 Subject: [DB-SIG] Re: [Python-au] MySQLdb user login issue In-Reply-To: <200403242220.58741.rasjidw@openminddev.net> References: <40615DBC.9010800@connexus.net.au> <200403242220.58741.rasjidw@openminddev.net> Message-ID: <72948C71-7DAC-11D8-ABF4-0003935AEAAE@celeritas-inc.com> It's a MySQL permission issue. MySQL is very picky with user permissions. You have to explicitly specify what host(s) a user is allowed to connect from. Read section 5.5 in the user manual (http://www.mysql.com/documentation/mysql/bychapter/ manual_MySQL_Database_Administration.html#User_Account_Management). This issue caused some headaches for me as well. Like, Rasjid said, I'd use the MySQL Control Center. It's what helped me figure out this problem. -Nathan On Mar 24, 2004, at 5:20 AM, Rasjid Wilcox wrote: > On Wednesday 24 March 2004 21:06, Duane Hennessy wrote: >> Has anyone experienced this issue and do they know how to fix it? I >> don't want to keep using the root userid. > > I've never used MySQL on Windows, only on Linux and there I'm > generally happy > with the command line tools. But on Windows I would suggest getting > the > MySQL Control Center > (http://www.mysql.com/products/mysqlcc/index.html) and > use it to add your new user. > > Cheers, > > Rasjid. > > -- > Rasjid Wilcox > Canberra, Australia (UTC +11 hrs) > http://www.openminddev.net > > _______________________________________________ > DB-SIG maillist - DB-SIG@python.org > http://mail.python.org/mailman/listinfo/db-sig > > ----- Nathan Eror - Celeritas Mobile: 832.423.1973 Fax: 281.558.9551 http://www.celeritas-inc.com/ From can at optiver.com.au Wed Mar 24 17:00:03 2004 From: can at optiver.com.au (Christopher Nilsson) Date: Wed Mar 24 17:55:36 2004 Subject: [DB-SIG] Re: [Python-au] MySQLdb user login issue In-Reply-To: <40615DBC.9010800@connexus.net.au> References: <40615DBC.9010800@connexus.net.au> Message-ID: <406204E3.3040904@optiver.com.au> Hi Duane, This is a matter of MySQL permissions, not really python's or windows' fault. :) You need to tell mysql where they're allowed to login from, in addition to the normal user id + password. I won't go into it any further here, but you might want to have a look at: http://www.mysql.com/documentation/mysql/bychapter/manual_MySQL_Database_Administration.html#User_Account_Management Cheers, ~ Chris. Duane Hennessy wrote: > I'm using MySQLdb module to access MySQL 5.0 on Windows. I'm accessing > via the "root" user ID. I set the .INI file with > > user=duane > passwd = hello > > but I cannot logon to MySQL with these properties instead I get a > message saying something along the lines of "No permission for > ''@'localhost'" etc. So I can only logon as "root". I'm trying to > create a user through SQL and so far I am having little success with > that also. I'm following the manual that comes with MySQL. This is a > real pain! > > Has anyone experienced this issue and do they know how to fix it? I > don't want to keep using the root userid. > > Thanks, From TSchevitz at sfchronicle.com Thu Mar 25 09:14:51 2004 From: TSchevitz at sfchronicle.com (Schevitz, Tanya) Date: Thu Mar 25 09:14:58 2004 Subject: [DB-SIG] Out of Office AutoReply: [Spam?] hello Message-ID: <82095A7DDA1D5E4A881F351C3E6135EEF9C659@sfc-is3.adsfchron.com> Thank you for your email. I do not work on Thursday and Friday. Please contact the Metro Desk at 415-777-7102 with any breaking news. Thank you. Tanya Schevitz -------------------- This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the San Francisco Chronicle (chronfeedback@sfchronicle.com) immediately by e-mail and delete the original message. From kepena at telesat.com.co Thu Mar 25 10:06:59 2004 From: kepena at telesat.com.co (=?iso-8859-1?Q?Kike_Pe=F1a?=) Date: Thu Mar 25 10:07:10 2004 Subject: [DB-SIG] Problem with mx an Oracle Message-ID: <00d901c4127a$d560d6a0$fc01a8c0@athos> Hi. I have a problem when I try to get an integer value from Oracle with mx.... the problem is that it doesn't return an integer but a float. It's not a problem with the table colum type because I have try with ALL numeric types and it allways return a float. Any ideas? Thank you. Kike Pe?a -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/db-sig/attachments/20040325/ceb46641/attachment.html From msanchez at grupoburke.com Thu Mar 25 10:29:47 2004 From: msanchez at grupoburke.com (=?ISO-8859-1?Q?Marcos_S=E1nchez_Provencio?=) Date: Thu Mar 25 10:27:59 2004 Subject: [DB-SIG] Problem with mx an Oracle In-Reply-To: <00d901c4127a$d560d6a0$fc01a8c0@athos> References: <00d901c4127a$d560d6a0$fc01a8c0@athos> Message-ID: <4062FAEB.3090105@grupoburke.com> Hola http://starship.python.net/crew/atuining/cx_Oracle/HISTORY.txt Try version 4.0 Changes from 3.1 to 4.0 3) Queries now return integers whenever possible and long integers if the number will overflow a simple integer. Floats are only returned when it is known that the number is a floating point number or the integer conversion fails. Kike Pe?a wrote: > Hi. > > I have a problem when I try to get an integer value from Oracle with > mx.... the problem is that it doesn't return an integer but a > float. It's not a problem with the table colum type because I have > try with ALL numeric types and it allways return a float. > > Any ideas? > Thank you. > > Kike Pe?a From mal at egenix.com Thu Mar 25 11:25:41 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Mar 25 11:25:52 2004 Subject: [DB-SIG] Problem with mx an Oracle In-Reply-To: <00d901c4127a$d560d6a0$fc01a8c0@athos> References: <00d901c4127a$d560d6a0$fc01a8c0@athos> Message-ID: <40630805.30202@egenix.com> Kike Pe?a wrote: > Hi. > > I have a problem when I try to get an integer value from Oracle with mx.... the problem is that it doesn't return an integer but a float. It's not a problem with the table colum type because I have try with ALL numeric types and it allways return a float. > > Any ideas? Oracle has a single numeric type called number. This is mapped to a Python float since the precision of those numbers is always >0. HTH, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Mar 25 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ Python UK 2004, Oxford, UK 21 days left EuroPython 2004, G?teborg, Sweden 73 days left ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From sakesun at boonthavorn.com Thu Mar 25 21:30:29 2004 From: sakesun at boonthavorn.com (Sakesun Roykiattisak) Date: Thu Mar 25 21:30:43 2004 Subject: [DB-SIG] Oracle Number In-Reply-To: References: Message-ID: <406395C5.2090207@boonthavorn.com> I'm using adodbapi with oracle and I've found number-field always return as "unicode-string". Anybody have any idea why ? > Subject: > Re: [DB-SIG] Problem with mx an Oracle > From: > "M.-A. Lemburg" > Date: > Thu, 25 Mar 2004 17:25:41 +0100 > To: > Kike Pe?a > > > > Oracle has a single numeric type called number. This is mapped > to a Python float since the precision of those numbers is always >0. > > HTH, From msanchez at grupoburke.com Fri Mar 26 06:52:13 2004 From: msanchez at grupoburke.com (=?ISO-8859-1?Q?Marcos_S=E1nchez_Provencio?=) Date: Fri Mar 26 06:50:32 2004 Subject: [DB-SIG] Oracle Number In-Reply-To: <406395C5.2090207@boonthavorn.com> References: <406395C5.2090207@boonthavorn.com> Message-ID: <4064196D.3090008@grupoburke.com> For some values, it is impossible to guarantee that no precision is lost if converted to any other type. You may try cx_Oracle to see if it pleases you more. Sakesun Roykiattisak wrote: > I'm using adodbapi with oracle and I've found number-field always > return as "unicode-string". Anybody have any idea why ? > >> Subject: >> Re: [DB-SIG] Problem with mx an Oracle >> From: >> "M.-A. Lemburg" >> Date: >> Thu, 25 Mar 2004 17:25:41 +0100 >> To: >> Kike Pe?a >> >> >> >> Oracle has a single numeric type called number. This is mapped >> to a Python float since the precision of those numbers is always >0. >> >> HTH, > > > From srn at coolheads.com Fri Mar 26 09:42:48 2004 From: srn at coolheads.com (Steve Newcomb) Date: Fri Mar 26 09:54:31 2004 Subject: [DB-SIG] Extreme Markup Languages Conference 2004 Message-ID: <20040326144248.AB19E7B73@amati.petesbox.net> Two kinds of information are necessary for human life on this planet: (1) Genetic information. No batteries required. (2) Everything else, i.e., civilization. Batteries required. Please be welcome to participate in the 11th annual Extreme Markup Languages Conference --> August 2-6, 2004 <-- Hotel Europa Montreal, Canada www.extrememarkup.com As always, it's a family gathering for rubber-meets-the-road technical luminaries interested in doing a better job of supporting civilization. Come share your light, and be brightened, too. You'll be glad you did, and not only because Montreal in August is great fun. Peer-reviewed paper submissions are due --> April 16, 2004 <-- Submission guidelines: http://www.mulberrytech.com/Extreme (e-mail questions to extreme@mulberrytech.com) Peer Reviewer Applications are due TODAY, Friday March 26, 2004. Tutorial Proposals are due TODAY, Friday March 26, 2004. -- Steve Steven R. Newcomb, Co-chair Extreme Markup Languages 2004 -- An IDEAlliance Event www.extrememarkup.com srn@coolheads.com ------------------------------------------------------- Coolheads Consulting http://www.coolheads.com direct: +1 540 951 9773 main: +1 540 951 9774 fax: +1 540 951 9775 208 Highview Drive Blacksburg, Virginia 24060 USA From duaneh at connexus.net.au Fri Mar 26 20:18:03 2004 From: duaneh at connexus.net.au (Duane Hennessy) Date: Fri Mar 26 20:14:09 2004 Subject: [DB-SIG] Re: [Python-au] MySQLdb user login issue In-Reply-To: <200403242220.58741.rasjidw@openminddev.net> References: <40615DBC.9010800@connexus.net.au> <200403242220.58741.rasjidw@openminddev.net> Message-ID: <4064D64B.9090007@connexus.net.au> Thanks for that Rasjid, I'm downloading that now. Duane. Rasjid Wilcox wrote: >On Wednesday 24 March 2004 21:06, Duane Hennessy wrote: > > >>Has anyone experienced this issue and do they know how to fix it? I >>don't want to keep using the root userid. >> >> > >I've never used MySQL on Windows, only on Linux and there I'm generally happy >with the command line tools. But on Windows I would suggest getting the >MySQL Control Center (http://www.mysql.com/products/mysqlcc/index.html) and >use it to add your new user. > >Cheers, > >Rasjid. > > > -- DUANE HENNESSY TROPICAL QUEENSLAND, AUSTRALIA. -------------- next part -------------- A non-text attachment was scrubbed... Name: duaneh.vcf Type: text/x-vcard Size: 220 bytes Desc: not available Url : http://mail.python.org/pipermail/db-sig/attachments/20040327/196553ab/duaneh.vcf From hymnsanderson at webtv.net Mon Mar 29 10:55:05 2004 From: hymnsanderson at webtv.net (Hye House) Date: Mon Mar 29 10:54:24 2004 Subject: [DB-SIG] Aspects of ED that were S1qnIf1cantly ImprOved by C1A^LIS & LEV^1TRA ? Message-ID: An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/db-sig/attachments/20040329/6bab403d/attachment.html From bouataa at hotmail.com Tue Mar 30 05:05:49 2004 From: bouataa at hotmail.com (samira M'Bata) Date: Tue Mar 30 05:05:54 2004 Subject: [DB-SIG] Python MySQL Date Message-ID: Hi, I have a MySql Database with a table: In this table one of the colums has the type Date. I use Python to access to my Database: My pb: when I make a cursor.fetchall(), it returns me the date as following and when I make a print: 2004-11-24 00:00:00.00 I want something like 2004-11-24 I tried a split of the element of the tuple but he gives me an attribute error back. I also tried severlals functions of the time module and that wasnt successful. WIch type is it? What should I try? _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From ods at strana.ru Tue Mar 30 06:51:30 2004 From: ods at strana.ru (Denis S. Otkidach) Date: Tue Mar 30 06:52:48 2004 Subject: [DB-SIG] Python MySQL Date In-Reply-To: Message-ID: On Tue, 30 Mar 2004, samira M'Bata wrote: sM> I have a MySql Database with a table: In this table one of sM> the colums has sM> the type Date. I use Python to access to my Database: My pb: sM> when I make a sM> cursor.fetchall(), it returns me the date as following sM> '2004-11-24 00:00:00.00' at 404afd08> and when I make a sM> print: 2004-11-24 sM> 00:00:00.00 sM> I want something like 2004-11-24 your_obj.strftime('%Y-%m-%d') sM> I tried a split of the element of the tuple but he gives me sM> an attribute sM> error back. I also tried severlals functions of the time sM> module and that sM> wasnt successful. WIch type is it? What should I try? It's a DateTime object from eGenix-mx-base. -- Denis S. Otkidach http://www.python.ru/ [ru] From kepena at telesat.com.co Tue Mar 30 12:03:41 2004 From: kepena at telesat.com.co (=?iso-8859-1?Q?Kike_Pe=F1a?=) Date: Tue Mar 30 12:03:43 2004 Subject: [DB-SIG] cx_Oracle and NEXTVAL References: <00d901c4127a$d560d6a0$fc01a8c0@athos> <1080227635.29774.11.camel@chl0263.edmonton.computronix.com> Message-ID: <00c101c42ed4$fa17ba60$fc01a8c0@athos> Hi. I got ahead of my other problems... but a new one comes into play now. I need to execute de query: SELECT sq_report_code_seq_code.NEXTVAL from dual; from cx_Oracle, this is cursor.execute("SELECT sq_report_code_seq_code.NEXTVAL from dual") When I do that, it returns an error: cx_Oracle.DatabaseError: ORA-00904: "SQ_REPORT_CODE_SEQ_CODE"."NETXVAL": invalid identifier The sequences and all other things are in order... because when I run the query directly from SQL/PLUS it works fine... but not when I use cx_Oracle. All other things are working fine.. (so far) but I have this problem. I'm using: - Python 2.3.2 - Oracle 9i - cx_Oracle 4.0.1 on win XP Any ideas? thnx Kepena From anthony at computronix.com Tue Mar 30 12:48:09 2004 From: anthony at computronix.com (Anthony Tuininga) Date: Tue Mar 30 12:48:14 2004 Subject: [DB-SIG] Re: cx_Oracle and NEXTVAL In-Reply-To: <00c101c42ed4$fa17ba60$fc01a8c0@athos> References: <00d901c4127a$d560d6a0$fc01a8c0@athos> <1080227635.29774.11.camel@chl0263.edmonton.computronix.com> <00c101c42ed4$fa17ba60$fc01a8c0@athos> Message-ID: <1080668888.10342.17.camel@chl0263.edmonton.computronix.com> Not sure why you are getting the problems you are getting. Here is the output from a sample session where I tried to match everything you mentioned. I am using 9.2.0.3 for both client and server, both hosted on Linux but I doubt that has any bearing. I have used this style of code on all of the platforms that cx_Oracle supports without any difficulties: first in SQL*Plus sqlplus user/pw@tns create sequence sq_report_code_seq_code; Sequence created. select sq_rpeort_code_seq_code.nextval from dual; NEXTVAL ---------- 1 then in Python python import cx_Oracle connection = cx_Oracle.connect("user/pw@tns") cursor = connection.cursor() cursor.execute("select sq_report_code_seq_code.nextval from dual") result, = cursor.fetchone() No errors reported. I would suggest examining your Oracle environment a little more carefully or showing me the exact Python code that fails and the exact set of SQL that you execute in SQL*Plus to set up the test case. Thanks. On Fri, 2004-04-30 at 11:02, Kike Pe?a wrote: > Hi. > > I got ahead of my other problems... but a new one comes into play now. > I need to execute de query: SELECT sq_report_code_seq_code.NEXTVAL from > dual; > from cx_Oracle, this is > > cursor.execute("SELECT sq_report_code_seq_code.NEXTVAL from dual") > > When I do that, it returns an error: > > cx_Oracle.DatabaseError: ORA-00904: "SQ_REPORT_CODE_SEQ_CODE"."NETXVAL": > invalid > identifier > > The sequences and all other things are in order... because when I run the > query directly from SQL/PLUS it works fine... but not when I use cx_Oracle. > > All other things are working fine.. (so far) but I have this problem. > > I'm using: > - Python 2.3.2 > - Oracle 9i > - cx_Oracle 4.0.1 > on win XP > > Any ideas? > > thnx > Kepena -- Anthony Tuininga anthony@computronix.com Computronix Distinctive Software. Real People. Suite 200, 10216 - 124 Street NW Edmonton, AB, Canada T5N 4A3 Phone: (780) 454-3700 Fax: (780) 454-3838 http://www.computronix.com From NAVMSE-ALPHA at computronix.com Tue Mar 30 23:37:55 2004 From: NAVMSE-ALPHA at computronix.com (NAV for Microsoft Exchange-ALPHA) Date: Tue Mar 30 23:35:40 2004 Subject: [DB-SIG] Norton AntiVirus detected a virus in a message you sent. The inf ected attachment was deleted. Message-ID: <27D23C54DCE5E743B5500C5295A7302202F72AE1@alpha.edmonton.computronix.com> Recipient of the infected attachment: Anthony Tuininga\Inbox Subject of the message: A $280 value. One or more attachments were deleted Attachment size.scr was Deleted for the following reasons: Virus W32.Klez.H@mm was found. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 1835 bytes Desc: not available Url : http://mail.python.org/pipermail/db-sig/attachments/20040330/687085b5/attachment.bin From pftfroms1 at yahoo.co.uk Wed Mar 31 15:17:43 2004 From: pftfroms1 at yahoo.co.uk (Post Budget) Date: Wed Mar 31 08:15:49 2004 Subject: [DB-SIG] Tobacco-Offer Message-ID: <200403311315.i2VDFVsl038833@mxzilla2.xs4all.nl> Dear sir or Madam, If you are a smoker in the UK, ROI or Scandinavia, please just take a few minutes of your time to read this. If you are not a smoker please accept my apologies for this E mail, it is not my intention to upset anyone. Smokers - are you still paying high street prices for your cigarettes, cigars or rolling/pipe tobacco. For instance, I can send you by registered post, 800 cigarettes for 180 euros. This works out to about ?3.20 a packet (depending on exchange rate). For this price, and it includes all brands (see note at bottom of page), they will be sent by registered post direct to your door. Just click on the link below:- http://www.geocities.com/cheapuktobacco Yours faithfully A believer in the rights of the British Smokers P.S. If this E at all offends you mail - that is not my intention ---- YOU WILL NOT BE E MAILED AGAIN Brands supplied including:- B & H, Dunhill, Lamb & But, Silk Cut, Marlboro, JPS, Gitanes, Fortuna, Berkeley, Superkings, Embassy, Regal, St Bruno, Golden Virginia, Old Holborn, Samson, Clan, Vogue, MORE, Kent, Davidoff , Peter Stuyvesant, Gauloises, Sovereign, Lucky Strike, Havana, Monte Cristo, Flor de Cano, Rothmans, Camel etc. http://www.geocities.com/cheapuktobacco From NAVMSE-ALPHA at computronix.com Wed Mar 31 21:56:07 2004 From: NAVMSE-ALPHA at computronix.com (NAV for Microsoft Exchange-ALPHA) Date: Wed Mar 31 21:53:12 2004 Subject: [DB-SIG] Norton AntiVirus detected a virus in a message you sent. The inf ected attachment was deleted. Message-ID: <27D23C54DCE5E743B5500C5295A7302202F72BAD@alpha.edmonton.computronix.com> Recipient of the infected attachment: Anthony Tuininga\Inbox Subject of the message: A WinXP patch One or more attachments were deleted Attachment WIDTH.pif was Deleted for the following reasons: Virus W32.Klez.H@mm was found. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 1839 bytes Desc: not available Url : http://mail.python.org/pipermail/db-sig/attachments/20040331/b2d76090/attachment.bin