You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
(3) |
Apr
(26) |
May
(7) |
Jun
|
Jul
(12) |
Aug
|
Sep
(13) |
Oct
(6) |
Nov
(14) |
Dec
(14) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(31) |
Feb
(15) |
Mar
(6) |
Apr
(18) |
May
(11) |
Jun
(3) |
Jul
(7) |
Aug
(5) |
Sep
(6) |
Oct
(1) |
Nov
(2) |
Dec
(6) |
2004 |
Jan
(3) |
Feb
(3) |
Mar
(18) |
Apr
(4) |
May
(13) |
Jun
(32) |
Jul
(21) |
Aug
(22) |
Sep
(11) |
Oct
(2) |
Nov
(6) |
Dec
(5) |
2005 |
Jan
(4) |
Feb
(16) |
Mar
(21) |
Apr
(10) |
May
(1) |
Jun
(5) |
Jul
(3) |
Aug
(3) |
Sep
(13) |
Oct
(15) |
Nov
(20) |
Dec
|
2006 |
Jan
(3) |
Feb
(1) |
Mar
(3) |
Apr
(5) |
May
(4) |
Jun
(6) |
Jul
(23) |
Aug
(6) |
Sep
(5) |
Oct
(8) |
Nov
|
Dec
(12) |
2007 |
Jan
(2) |
Feb
(5) |
Mar
|
Apr
|
May
(9) |
Jun
(1) |
Jul
(6) |
Aug
(5) |
Sep
(3) |
Oct
|
Nov
(5) |
Dec
(6) |
2008 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
(3) |
May
|
Jun
(12) |
Jul
|
Aug
(1) |
Sep
|
Oct
(7) |
Nov
(1) |
Dec
(4) |
2009 |
Jan
|
Feb
(2) |
Mar
(16) |
Apr
|
May
|
Jun
|
Jul
(5) |
Aug
(21) |
Sep
(11) |
Oct
(4) |
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
(1) |
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(3) |
2011 |
Jan
(9) |
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
(1) |
Nov
|
Dec
(1) |
2012 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
(5) |
Nov
(1) |
Dec
|
2014 |
Jan
|
Feb
|
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Christophe C. <cc...@fr...> - 2007-08-07 09:57:15
|
Harri Pasanen a écrit : > On Tuesday 17 July 2007 15:50:00 Christophe Combelles wrote: >> Christophe Combelles a écrit : >>> Hello, >>> >>> I'm new to this list, and I'm currently trying to access an old >>> windows Sybase ASA 7.0 from python/linux. I could make it work >>> with freedts, but it hangs on ... >>> > > Have you verified the "tds version" in .freetds.conf is correct for > that old sybase? yes I did, and I have tried manny settings. tds version must be 5.0 for this base Christophe > > Just a thought, > > Harri > > > Privileged or confidential information may be contained in this message. If you are not the addressee of this message please notify the sender by return and thereafter delete the message, and you may not use, copy, disclose or rely on the information contained in it. Internet e-mail may be susceptible to data corruption, interception and unauthorised amendment for which Wall Street Systems does not accept liability. Whilst we have taken reasonable precautions to ensure that this e-mail and any attachments have been swept for viruses, Wall Street Systems does not accept liability for any damage sustained as a result of viruses. Statements in this message or attachments that do not relate to the business of Wall Street Systems are neither given nor endorsed by the company or its Directors. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Python-sybase-misc mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-sybase-misc |
From: Harri P. <har...@tr...> - 2007-08-07 09:32:24
|
T24gVHVlc2RheSAxNyBKdWx5IDIwMDcgMTU6NTA6MDAgQ2hyaXN0b3BoZSBDb21iZWxsZXMgd3Jv dGU6Cj4gQ2hyaXN0b3BoZSBDb21iZWxsZXMgYSDDqWNyaXQgOgo+ID4gSGVsbG8sCj4gPgo+ID4g SSdtIG5ldyB0byB0aGlzIGxpc3QsIGFuZCBJJ20gY3VycmVudGx5IHRyeWluZyB0byBhY2Nlc3Mg YW4gb2xkCj4gPiB3aW5kb3dzIFN5YmFzZSBBU0EgNy4wIGZyb20gcHl0aG9uL2xpbnV4LiBJIGNv dWxkIG1ha2UgaXQgd29yawo+ID4gd2l0aCBmcmVlZHRzLCBidXQgaXQgaGFuZ3Mgb24gLi4uCj4g PgoKSGF2ZSB5b3UgdmVyaWZpZWQgdGhlICJ0ZHMgdmVyc2lvbiIgaW4gLmZyZWV0ZHMuY29uZiBp cyBjb3JyZWN0IGZvciAKdGhhdCBvbGQgc3liYXNlPwoKSnVzdCBhIHRob3VnaHQsCgpIYXJyaQoK ClByaXZpbGVnZWQgb3IgY29uZmlkZW50aWFsIGluZm9ybWF0aW9uIG1heSBiZSBjb250YWluZWQg aW4gdGhpcyBtZXNzYWdlLiAgSWYgeW91IGFyZSBub3QgdGhlIGFkZHJlc3NlZSBvZiB0aGlzIG1l c3NhZ2UgcGxlYXNlIG5vdGlmeSB0aGUgc2VuZGVyIGJ5IHJldHVybiBhbmQgdGhlcmVhZnRlciBk ZWxldGUgdGhlIG1lc3NhZ2UsIGFuZCB5b3UgbWF5IG5vdCB1c2UsIGNvcHksIGRpc2Nsb3NlIG9y IHJlbHkgb24gdGhlIGluZm9ybWF0aW9uIGNvbnRhaW5lZCBpbiBpdC4gSW50ZXJuZXQgZS1tYWls IG1heSBiZSBzdXNjZXB0aWJsZSB0byBkYXRhIGNvcnJ1cHRpb24sIGludGVyY2VwdGlvbiBhbmQg dW5hdXRob3Jpc2VkIGFtZW5kbWVudCBmb3Igd2hpY2ggV2FsbCBTdHJlZXQgU3lzdGVtcyBkb2Vz IG5vdCBhY2NlcHQgbGlhYmlsaXR5LiBXaGlsc3Qgd2UgaGF2ZSB0YWtlbiByZWFzb25hYmxlIHBy ZWNhdXRpb25zIHRvIGVuc3VyZSB0aGF0IHRoaXMgZS1tYWlsIGFuZCBhbnkgYXR0YWNobWVudHMg aGF2ZSBiZWVuIHN3ZXB0IGZvciB2aXJ1c2VzLCBXYWxsIFN0cmVldCBTeXN0ZW1zIGRvZXMgbm90 IGFjY2VwdCBsaWFiaWxpdHkgZm9yIGFueSBkYW1hZ2Ugc3VzdGFpbmVkIGFzIGEgcmVzdWx0IG9m IHZpcnVzZXMuICBTdGF0ZW1lbnRzIGluIHRoaXMgbWVzc2FnZSBvciBhdHRhY2htZW50cyB0aGF0 IGRvIG5vdCByZWxhdGUgdG8gdGhlIGJ1c2luZXNzIG9mICBXYWxsIFN0cmVldCBTeXN0ZW1zIGFy ZSBuZWl0aGVyIGdpdmVuIG5vciBlbmRvcnNlZCBieSB0aGUgY29tcGFueSBvciBpdHMgRGlyZWN0 b3JzLg0KCg== |
From: Christophe C. <cc...@fr...> - 2007-07-21 00:54:00
|
Christophe Combelles a écrit : > Christophe Combelles a écrit : >> Hello, >> >> I'm new to this list, and I'm currently trying to access an old windows Sybase >> ASA 7.0 from python/linux. I could make it work with freedts, but it hangs on >> some operation: >> >> >>> db=Sybase.connect(...) >> >>> c=db.cursor() >> >>> c.execute('select * from rue') >> >>> c.fetchone() >> (...) >> >>> c.close() >> >> here it hangs, nothing happens, with 0% CPU. >> It only exits if I stop the database server: >> >> Exception Sybase.DatabaseError: <Sybase.DatabaseError instance at 0xb7cf47cc> in >> <bound method _FetchLazy.__del__ of <Sybase._FetchLazy instance at 0xb7cf4e4c>> >> ignored >> >> What is the recommended way to investigate this? >> Did anyone have the same problem or is it trivial? >> >> thanks, >> Christophe > > more info: > I'm using python 2.4.4 with sybase-python 0.38 compiled with -D HAVE_FREETDS -U > WANT_BULKCOPY, and freetds/libct4 0.64rc2. > > it also hangs if I call again c.execute(...) after c.fetchone() > > The last thing found in the freetds logfile (debug level 99) is: > ------------------------------------------------------- > (...) > token.c:1863:tds_get_data: column 8, type 47, varint size 1 > token.c:1920:processing row. column size is 16 > token.c:1863:tds_get_data: column 9, type 111, varint size 1 > token.c:1920:processing row. column size is 8 > token.c:1863:tds_get_data: column 10, type 39, varint size 1 > token.c:1920:processing row. column size is 3 > token.c:1863:tds_get_data: column 11, type 39, varint size 1 > token.c:1920:processing row. column size is 1 > token.c:1863:tds_get_data: column 12, type 111, varint size 1 > net.c:446:Received header > 0000 04 01 00 11 00 00 00 00- |........| > > net.c:542:Received packet > 0000 fd 30 00 02 00 d1 04 00-00 |.0...... .| > > token.c:1920:processing row. column size is 253 > > ------------------------------------------------------- > > If I hit Ctrl-C on the python terminal, the freetds logfile tells: > > net.c:336:socket read interrupted > (as many times I hit Ctrl-C) > > > Is there a clue to say if this is an issue in freetds or python-sybase ? > > ------------------------------------------------------------------------- I have some news: In fact, the ct_cancel command hangs in _FetchLazy.__del__ of Sybase.py, when I call cursor.close() after several fetchone() But this is a random effect, sometimes it hangs, sometimes not. It might look like a threading issue. I don't know what the real problem is, but I've tried to replace CS_CANCEL_ALL with CS_CANCEL_CURRENT or CS_CANCEL_ATTN, and it don't hangs anymore. The difference between the different types of cancel is explained here: http://manuals.sybase.com/onlinebooks/group-cnarc/cng1000e/prgguide/@Generic__BookTextView/5783;pt=6133 But I'm not sure what is the correct one in which circumstances. regards, Christophe |
From: Christophe C. <cc...@fr...> - 2007-07-17 13:51:22
|
Christophe Combelles a écrit : > Hello, > > I'm new to this list, and I'm currently trying to access an old windows Sybase > ASA 7.0 from python/linux. I could make it work with freedts, but it hangs on > some operation: > > >>> db=Sybase.connect(...) > >>> c=db.cursor() > >>> c.execute('select * from rue') > >>> c.fetchone() > (...) > >>> c.close() > > here it hangs, nothing happens, with 0% CPU. > It only exits if I stop the database server: > > Exception Sybase.DatabaseError: <Sybase.DatabaseError instance at 0xb7cf47cc> in > <bound method _FetchLazy.__del__ of <Sybase._FetchLazy instance at 0xb7cf4e4c>> > ignored > > What is the recommended way to investigate this? > Did anyone have the same problem or is it trivial? > > thanks, > Christophe more info: I'm using python 2.4.4 with sybase-python 0.38 compiled with -D HAVE_FREETDS -U WANT_BULKCOPY, and freetds/libct4 0.64rc2. it also hangs if I call again c.execute(...) after c.fetchone() The last thing found in the freetds logfile (debug level 99) is: ------------------------------------------------------- (...) token.c:1863:tds_get_data: column 8, type 47, varint size 1 token.c:1920:processing row. column size is 16 token.c:1863:tds_get_data: column 9, type 111, varint size 1 token.c:1920:processing row. column size is 8 token.c:1863:tds_get_data: column 10, type 39, varint size 1 token.c:1920:processing row. column size is 3 token.c:1863:tds_get_data: column 11, type 39, varint size 1 token.c:1920:processing row. column size is 1 token.c:1863:tds_get_data: column 12, type 111, varint size 1 net.c:446:Received header 0000 04 01 00 11 00 00 00 00- |........| net.c:542:Received packet 0000 fd 30 00 02 00 d1 04 00-00 |.0...... .| token.c:1920:processing row. column size is 253 ------------------------------------------------------- If I hit Ctrl-C on the python terminal, the freetds logfile tells: net.c:336:socket read interrupted (as many times I hit Ctrl-C) Is there a clue to say if this is an issue in freetds or python-sybase ? |
From: Bruno R. <br...@es...> - 2007-07-17 13:00:16
|
Apart from the fact that there is something broken, try this link: http://sourceforge.net/mailarchive/forum.php?forum_name=python-sybase-misc&max_rows=25&style=nested&viewmonth=200705&viewday=25 Bruno On 17/07/2007 14:12, Christophe Combelles wrote: > Is there a problem with the mail archive ? > > I found a message that could be similar to mine, but I cannot access it, > it leads to an old 2005 message : > > http://sourceforge.net/mailarchive/forum.php?forum_name=python-sybase-misc&viewmonth=200705 > > → click on the 'Thread locking bug, look familiar?' message > → it goes to another message > > > Is there another archive somewhere? > > Christophe > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Python-sybase-misc mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-sybase-misc |
From: Christophe C. <cc...@fr...> - 2007-07-17 12:13:47
|
Is there a problem with the mail archive ? I found a message that could be similar to mine, but I cannot access it, it leads to an old 2005 message : http://sourceforge.net/mailarchive/forum.php?forum_name=python-sybase-misc&viewmonth=200705 → click on the 'Thread locking bug, look familiar?' message → it goes to another message Is there another archive somewhere? Christophe |
From: Christophe C. <cc...@fr...> - 2007-07-17 12:10:53
|
Hello, I'm new to this list, and I'm currently trying to access an old windows Sybase ASA 7.0 from python/linux. I could make it work with freedts, but it hangs on some operation: >>> db=Sybase.connect(...) >>> c=db.cursor() >>> c.execute('select * from rue') >>> c.fetchone() (...) >>> c.close() here it hangs, nothing happens, with 0% CPU. It only exits if I stop the database server: Exception Sybase.DatabaseError: <Sybase.DatabaseError instance at 0xb7cf47cc> in <bound method _FetchLazy.__del__ of <Sybase._FetchLazy instance at 0xb7cf4e4c>> ignored What is the recommended way to investigate this? Did anyone have the same problem or is it trivial? thanks, Christophe |
From: Harri P. <har...@tr...> - 2007-07-06 14:41:07
|
The attached patched allows setting the locale of the connection to match that of the server. Otherwise you are likely to get the 2403 warning/error from the Sybase if character sets mismatch in data. It is implemented as a new keyword argument to Sybase.connect(). Example usage: cnx = Sybase.connect(dbServer, dbUser, dbPasswd, auto_commit=1, datetime = 'python', locale = 'utf8') Enjoy, Harri Privileged or confidential information may be contained in this message. If you are not the addressee of this message please notify the sender by return and thereafter delete the message, and you may not use, copy, disclose or rely on the information contained in it. Internet e-mail may be susceptible to data corruption, interception and unauthorised amendment for which Wall Street Systems does not accept liability. Whilst we have taken reasonable precautions to ensure that this e-mail and any attachments have been swept for viruses, Wall Street Systems does not accept liability for any damage sustained as a result of viruses. Statements in this message or attachments that do not relate to the business of Wall Street Systems are neither given nor endorsed by the company or its Directors. |
From: Harri P. <har...@tr...> - 2007-06-01 10:49:23
|
On Windows I'm getting this: Sybase.DatabaseError: Msg 2403, Level 10, Line 1 WARNING! Some character(s) could not be converted into client's character set. Unconverted bytes were changed to question marks ('?'). On Linux I've been a happy user with LC_ALL set to en_US.UTF-8 and adding the corresponding line to locales.dat in Sybase OpenClient. With Windows I haven't found out a way to set the locale from python to something that Sybase would be confortable with (basically all the accepted codepages appear to be 8 bit?). But for the moment I'd be happy with the question marks, but that gets propaged as hard Sybase.DatabaseError. Any Hints? Harri Privileged or confidential information may be contained in this message. If you are not the addressee of this message please notify the sender by return and thereafter delete the message, and you may not use, copy, disclose or rely on the information contained in it. Internet e-mail may be susceptible to data corruption, interception and unauthorised amendment for which Wall Street Systems does not accept liability. Whilst we have taken reasonable precautions to ensure that this e-mail and any attachments have been swept for viruses, Wall Street Systems does not accept liability for any damage sustained as a result of viruses. Statements in this message or attachments that do not relate to the business of Wall Street Systems are neither given nor endorsed by the company or its Directors. |
From: <sa...@po...> - 2007-05-25 17:13:03
|
Hi Harry, I run python-sybase 0.38 with Python 2.5.1 on a linux system (not 64 bits however) and I don't have any problem. Have you run the test suite on your system and is there any failure? Otherwise could you write a small unitary test to illustrate the problem? regards -- Sébastien Sablé Harri Pasanen a écrit : > Hmm... actually it seems this is surfacing on Python 2.5.1, but on > Python 2.5 it works. And the same problem seems to affect Linux > (RedHat, 64 bit). > > Has anyone use python-sybase-0.38 with Python 2.5.1? > > It is possible that my problem comes from something else, but so far > only difference I'm aware of is the python version. > > > > -Harri |
From: <sa...@po...> - 2007-05-25 17:13:03
|
Hi Skip, there is no new way to do what you would like in 0.38. However it is clearly something which would be very useful. There is an ongoing thread on the db-sig list concerning this subject: http://mail.python.org/pipermail/db-sig/2007-April/004944.html it would be great if a standardized way to handle this could be added to the DBAPI. Also could you send me the source of your modified version so that I can see if it can be merged/adapted? regards -- Sébastien Sablé Skip Montanaro a écrit : > MySQLdb allows the user to control mapping between Python types and Sybase > types on-the-fly using a converters argument to the connection constructor. > We need this sort of functionality at work to support some legacy Python > apps which expect dates to be represented in Unix epoch time, e.g.: > > conn = Connection(converters={DateTimeType: _dt_as_float}) > > I implemented this in python-sybase 0.36 but would like to stop maintaining > my own forked version of the module. Is there some way to control this > mapping on a case-by-case basis in 0.38pre1? > > Thx, > > -- > Skip Montanaro - sk...@po... - http://www.webfast.com/~skip/ > "The hippies and the hipsters did some great stuff in the sixties, > but the geeks pulled their weight too." -- Billy Bragg |
From: Skip M. <ski...@gm...> - 2007-05-25 17:13:03
|
MySQLdb allows the user to control mapping between Python types and Sybase types on-the-fly using a converters argument to the connection constructor. We need this sort of functionality at work to support some legacy Python apps which expect dates to be represented in Unix epoch time, e.g.: conn = Connection(converters={DateTimeType: _dt_as_float}) I implemented this in python-sybase 0.36 but would like to stop maintaining my own forked version of the module. Is there some way to control this mapping on a case-by-case basis in 0.38pre1? Thx, -- Skip Montanaro - sk...@po... - http://www.webfast.com/~skip/ "The hippies and the hipsters did some great stuff in the sixties, but the geeks pulled their weight too." -- Billy Bragg ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Python-sybase-misc mailing list Pyt...@li... https://lists.sourceforge.net/lists/listinfo/python-sybase-misc |
From: Harri P. <har...@tr...> - 2007-05-25 17:13:03
|
SSByZXByb2R1Y2VkIHRoZSBwcm9ibGVtIHdpdGggdGhlIGZvbGxvd2luZyB0ZXN0IHNjcmlwdDoK Ci0tLS04PC0tLS0tLS0tODwtLS0tLS0tLS0tLS0tODwtLS0tLS0tLTg8LS0tLS0tLS0tLS0tLTg8 LS0tLS0tLS04PC0tLS0tLS0tLQpmcm9tIG9wdHBhcnNlIGltcG9ydCBPcHRpb25QYXJzZXIKcGFy c2VyID0gT3B0aW9uUGFyc2VyKCkKCnBhcnNlci5hZGRfb3B0aW9uKCItRCIsIGRlc3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LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0KVGhpcyBTRi5uZXQgZW1h aWwgaXMgc3BvbnNvcmVkIGJ5IERCMiBFeHByZXNzCkRvd25sb2FkIERCMiBFeHByZXNzIEMgLSB0 aGUgRlJFRSB2ZXJzaW9uIG9mIERCMiBleHByZXNzIGFuZCB0YWtlCmNvbnRyb2wgb2YgeW91ciBY TUwuIE5vIGxpbWl0cy4gSnVzdCBkYXRhLiBDbGljayB0byBnZXQgaXQgbm93LgpodHRwOi8vc291 cmNlZm9yZ2UubmV0L3Bvd2VyYmFyL2RiMi8KX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX18KUHl0aG9uLXN5YmFzZS1taXNjIG1haWxpbmcgbGlzdApQeXRob24t c3liYXNlLW1pc2NAbGlzdHMuc291cmNlZm9yZ2UubmV0Cmh0dHBzOi8vbGlzdHMuc291cmNlZm9y Z2UubmV0L2xpc3RzL2xpc3RpbmZvL3B5dGhvbi1zeWJhc2UtbWlzYwo= |
From: Harri P. <har...@wa...> - 2007-05-25 17:13:03
|
Hmm... actually it seems this is surfacing on Python 2.5.1, but on Python 2.5 it works. And the same problem seems to affect Linux (RedHat, 64 bit). Has anyone use python-sybase-0.38 with Python 2.5.1? It is possible that my problem comes from something else, but so far only difference I'm aware of is the python version. -Harri On Tuesday 15 May 2007 17:49:52 Harri Pasanen wrote: > I'm getting this with Python 2.5 on Windows, Sybase module 0.38 > > while c.nextset(): > File "..\site-packages\Sybase.py", line 837, in nextset > desc = self._fetcher.nextset() > File "..\site-packages\Sybase.py", line 627, in nextset > self._unlock() > File "..\site-packages\Sybase.py", line 466, in _unlock > self._owner._unlock() > File "..\site-packages\Sybase.py", line 996, in _unlock > self._connlock.release() > File "..\lib\threading.py", line 1 > 15, in release > assert self.__owner is me, "release() of un-acquire()d lock" > AssertionError: release() of un-acquire()d lock > Exception thread.error: 'release unlocked lock' in <bound method > _FetchLazy.__del__ of <Sybase._FetchLazy instance at 0x00A02AD0>> > ignored > > I wonder if it looks familiar to anyone? > > -Harri > > > > Privileged or confidential information may be contained in this > message. If you are not the addressee of this message please > notify the sender by return and thereafter delete the message, and > you may not use, copy, disclose or rely on the information > contained in it. Internet e-mail may be susceptible to data > corruption, interception and unauthorised amendment for which Wall > Street Systems does not accept liability. Whilst we have taken > reasonable precautions to ensure that this e-mail and any > attachments have been swept for viruses, Wall Street Systems does > not accept liability for any damage sustained as a result of > viruses. Statements in this message or attachments that do not > relate to the business of Wall Street Systems are neither given > nor endorsed by the company or its Directors. > > > ------------------------------------------------------------------- >------ This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Python-sybase-misc mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-sybase-misc Privileged or confidential information may be contained in this message. If you are not the addressee of this message please notify the sender by return and thereafter delete the message, and you may not use, copy, disclose or rely on the information contained in it. Internet e-mail may be susceptible to data corruption, interception and unauthorised amendment for which Wall Street Systems does not accept liability. Whilst we have taken reasonable precautions to ensure that this e-mail and any attachments have been swept for viruses, Wall Street Systems does not accept liability for any damage sustained as a result of viruses. Statements in this message or attachments that do not relate to the business of Wall Street Systems are neither given nor endorsed by the company or its Directors. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Python-sybase-misc mailing list Pyt...@li... https://lists.sourceforge.net/lists/listinfo/python-sybase-misc |
From: Harri P. <har...@tr...> - 2007-05-25 17:13:03
|
I'm getting this with Python 2.5 on Windows, Sybase module 0.38 while c.nextset(): File "..\site-packages\Sybase.py", line 837, in nextset desc = self._fetcher.nextset() File "..\site-packages\Sybase.py", line 627, in nextset self._unlock() File "..\site-packages\Sybase.py", line 466, in _unlock self._owner._unlock() File "..\site-packages\Sybase.py", line 996, in _unlock self._connlock.release() File "..\lib\threading.py", line 1 15, in release assert self.__owner is me, "release() of un-acquire()d lock" AssertionError: release() of un-acquire()d lock Exception thread.error: 'release unlocked lock' in <bound method _FetchLazy.__del__ of <Sybase._FetchLazy instance at 0x00A02AD0>> ignored I wonder if it looks familiar to anyone? -Harri Privileged or confidential information may be contained in this message. If you are not the addressee of this message please notify the sender by return and thereafter delete the message, and you may not use, copy, disclose or rely on the information contained in it. Internet e-mail may be susceptible to data corruption, interception and unauthorised amendment for which Wall Street Systems does not accept liability. Whilst we have taken reasonable precautions to ensure that this e-mail and any attachments have been swept for viruses, Wall Street Systems does not accept liability for any damage sustained as a result of viruses. Statements in this message or attachments that do not relate to the business of Wall Street Systems are neither given nor endorsed by the company or its Directors. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Python-sybase-misc mailing list Pyt...@li... https://lists.sourceforge.net/lists/listinfo/python-sybase-misc |
From: <sa...@us...> - 2007-05-25 17:13:03
|
WHAT IS IT: The Sybase module provides a Python interface to the Sybase relational database system. It supports all of the Python Database API, version 2.0 with extensions. The module is available here: http://downloads.sourceforge.net/python-sybase/python-sybase-0.38.tar.gz The module home page is here: http://python-sybase.sourceforge.net/ CHANGES SINCE 0.38pre2: * Corrected bug in databuf_alloc: Sybase reports the wrong maxlength for numeric type - verified with Sybase 12.5 - thanks to patch provided by Phil Porter MAJOR CHANGES SINCE 0.37: * This release works with python 2.5 * It also works with sybase 15 * It works with 64bits clients * It can be configured to return native python datetime objects * The bug "This routine cannot be called because another command structure has results pending." which appears in various cases has been corrected * It includes a unitary test suite based on the dbapi2.0 compliance test suite ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Python-sybase-misc mailing list Pyt...@li... https://lists.sourceforge.net/lists/listinfo/python-sybase-misc |
From: <sa...@us...> - 2007-05-24 16:48:33
|
This is a test message to see if the mailing list archive is correctly updated at this url: http://sourceforge.net/mailarchive/forum.php?forum_name=python-sybase-misc New messages were not archived since the migration of the mailing list to sourceforge. This should now be solved. https://sourceforge.net/tracker/?func=detail&atid=200001&aid=1721473&group_id=1 regards -- Sébastien Sablé |
From: <sk...@po...> - 2007-02-26 05:50:34
|
>> Has anyone looked at what it would take to make SQLAlchemy, to work >> with Sybase? Harri> I believe someone already asked this, but I'm not sure if there Harri> were any replies? I did. There weren't any. Skip |
From: Harri P. <har...@tr...> - 2007-02-24 04:52:59
|
Has anyone looked at what it would take to make SQLAlchemy, ( http://www.sqlalchemy.org/ ) to work with Sybase? I believe someone already asked this, but I'm not sure if there were any replies? -Harri Privileged or confidential information may be contained in this message. If you are not the addressee of this message please notify the sender by return and thereafter delete the message, and you may not use, copy, disclose or rely on the information contained in it. Internet e-mail may be susceptible to data corruption, interception and unauthorised amendment for which Wall Street Systems does not accept liability. Whilst we have taken reasonable precautions to ensure that this e-mail and any attachments have been swept for viruses, Wall Street Systems does not accept liability for any damage sustained as a result of viruses. Statements in this message or attachments that do not relate to the business of Wall Street Systems are neither given nor endorsed by the company or its Directors. |
From: <sa...@po...> - 2007-02-15 11:08:42
|
Hi John, I don't have a windows environment to test python-sybase for the moment. I will try to install that in coming weeks. The following line in your log looks suspicious: > -llibblk -llibct -llibcs -lpython25 -lmsvcr71 -o It should probably be something like: > -lblk -lct -lcs -lpython25 -lmsvcr71 -o you should modify the setup.py file - line 76: syb_libs = ['libblk', 'libct', 'libcs'] into: syb_libs = ['blk', 'ct', 'cs'] I suppose the script was made for compilation with visual studio rather than mingw32? I should be able to provide a clean fix when I will have a windows environment with sybase. regards -- Sébastien Sablé |
From: John C. <jo...@al...> - 2007-02-11 19:07:02
|
Hi Folks, I'm sure this is just some kind of simple thing, but I am not an experienced gcc user and I am quite unsure how to proceed. I'm trying to build on Win XP. I've had to tell it to use the cygwin compiler and that works, to a point. I do not have the mxDateTime package mentioned in the "Prerequisites" section, but it appears that is not absolutely necessary (and since I don't need to manipulate datetime values at the moment, I was hoping it wouldn't matter). Do I need the Sybase header files in some include directory (other than the one they're in under the Sybase install)? The SYBASE & SYBASE_OCS environment variables are properly set. Any suggestions welcomed. Output of the compiler follows. John A bunch of stuff has been built successfully. Using this command: setup.py build -c mingw32 But, when it gets to this point, I get pages of errors (similar ones are omitted and I've put in ... )--some the line-breaks have been changed for clarity: building 'sybasect' extension writing build\temp.win32-2.5\Release\sybasect.def C:\cygwin\bin\gcc.exe -mno-cygwin -shared -s build\temp.win32-2.5\Release\blk.o build\temp.win32-2.5\Release\databuf.o build\temp.win32-2.5\Release\cmd.o build\temp.win32-2.5\Release\conn.o build\temp.win32-2.5\Release\ctx.o build\temp.win32-2.5\Release\datafmt.o build\temp.win32-2.5\Release\iodesc.o build\temp.win32-2.5\Release\locale.o build\temp.win32-2.5\Release\msgs.o build\temp.win32-2.5\Release\numeric.o build\temp.win32-2.5\Release\money.o build\temp.win32-2.5\Release\datetime.o build\temp.win32-2.5\Release\sybasect.o build\temp.win32-2.5\Release\sybasect.def -LC:\SybaseClient125\OCS-12_5\lib -LC:\Python25\libs -LC:\Python25\PCBuild -llibblk -llibct -llibcs -lpython25 -lmsvcr71 -o build\lib.win32-2.5\sybasect.pyd build\temp.win32-2.5\Release\blk.o:blk.c:(.text+0xa0): undefined reference to `_blk_bind' build\temp.win32-2.5\Release\blk.o:blk.c:(.text+0x1da): undefined reference to `_blk_describe' ... There's dozens of errors that mention various _blk and _cs routines ... build\temp.win32-2.5\Release\locale.o:locale.c:(.text+0x66): undefined reference to `_cs_loc_alloc' build\temp.win32-2.5\Release\locale.o:locale.c:(.text+0x178): undefined reference to `_cs_loc_drop' ... build\temp.win32-2.5\Release\numeric.o:numeric.c:(.text+0x78): undefined reference to `_cs_convert' build\temp.win32-2.5\Release\numeric.o:numeric.c:(.text+0x15b): undefined reference to `_cs_convert' ... build\temp.win32-2.5\Release\money.o:money.c:(.text+0x70): undefined reference to `_cs_convert' build\temp.win32-2.5\Release\money.o:money.c:(.text+0x151): undefined reference to `_cs_convert' ... build\temp.win32-2.5\Release\datetime.o:datetime.c:(.text+0x3a): undefined reference to `_cs_dt_crack' build\temp.win32-2.5\Release\datetime.o:datetime.c:(.text+0x59): undefined reference to `_cs_dt_crack' collect2: ld returned 1 exit status error: command 'gcc' failed with exit status 1 |
From: <sa...@us...> - 2007-02-03 11:50:45
|
WHAT IS IT: The Sybase module provides a Python interface to the Sybase relational database system. It supports all of the Python Database API, version 2.0 with extensions. The module is available here: http://downloads.sourceforge.net/python-sybase/python-sybase-0.38pre2.tar.gz The module home page is here: http://python-sybase.sourceforge.net/ CHANGES SINCE 0.38pre1: * Add structured error information to Sybase.DatabaseError thanks to patch provided by Gregory Bond (close tracker 1631902) * Resurrected Sybase.Bulkcopy functionality thanks to patch provided by Gregory Bond (close tracker 1632916) * Corrected AttributeError when locking is off (close tracker 1637942 reported by Jim Nusbaum) * Corrected incorrect type mx.DateTime.DateTime returned by Sybase.Date() in "mx" datetime mode. This type is not supported by DataBuf. * Corrected crash on a BLK object when debug is enabled (close tracker 1630941 reported by Gregory Bond) * rowcount is now propagated to Cursor (corrects tracker 1621003) * Added support for python datetime type in DataBuf and as parameter of Cursor.execute() * Corrected Date, Time and Timestamp functions when using mx.DateTime or native python datetime types * Corrected DATETIME as cursor.description still returns native Sybase datetime types * Corrected blk_describe always returns (status, None) thanks to patch by Phil Porter * Patch to handle CS_LONG type based on patch by Paul Rensing MAJOR CHANGES SINCE 0.37: * This release works with python 2.5 * It also works with sybase 15 * It works with 64bits clients * It can be configured to return native python datetime objects * The bug "This routine cannot be called because another command structure has results pending." which appears in various cases has been corrected * It includes a unitary test suite based on the dbapi2.0 compliance test suite |
From: <sa...@us...> - 2007-01-12 04:01:52
|
Hi Gregory, thank you for your patch; I will review it, write some unitary tests and integrate it in a coming version. regards -- Sébastien Sablé Gregory Bond a écrit : > I’ve just uploaded to sourceforge a patch to resurrect the high-level > Bulkcopy() functionality. It’s working for me but I’ve not thoroughly > debugged all the corner cases (especially thread locking). Docs have > been updated but I can’t regenerate the HTML. > > http://sourceforge.net/tracker/index.php?func=detail&aid=1632916&group_id=184050&atid=907703 > <http://sourceforge.net/tracker/index.php?func=detail&aid=1632916&group_id=184050&atid=907703> > > Let me know if you have any comments. > > Greg. |
From: Gregory B. <gn...@it...> - 2007-01-12 01:25:50
|
I=B9ve just uploaded to sourceforge a patch to resurrect the high-level Bulkcopy() functionality. It=B9s working for me but I=B9ve not thoroughly debugged all the corner cases (especially thread locking). Docs have been updated but I can=B9t regenerate the HTML. http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D1632916&group_id=3D1= 8 4050&atid=3D907703 Let me know if you have any comments. Greg. |