From: Kevin J. <ja...@pe...> - 2002-07-11 08:15:11
|
On 10 Jul 2002, Dave Cole wrote: > Thanks for putting the time into getting it to work. With one thing > or another I have not been able to spend enough time on the Sybase > module of late. Attached is the diff to your Sybase module -- it includes mostly cosmetic changes, but overall, there isn't anything major. It does need to build against the latest FreeTDS CVS, since their last release is total crap. Here is the current issue I'm working on. My app is single-threaded, so I'm a little confused as to why this happens: Traceback: Traceback (most recent call last): File "./Server/connection_controller.py", line 446, in process_cmd File "./Server/connection_controller.py", line 506, in cmd_report File "/home/jacobs/projects/CGF/TradeSP/Reports/actualsummary.py", line 201, in generate D_Deductions = hash3( ts_queries.getDeductionsByCustomer(s, None, operCustomers, fy=fy) ) File "./Lib/dblib.py", line 666, in __new__ File "/home/jacobs/projects/CGF/Lib/ts_queries.py", line 3069, in run Deductions = dbcon.quickQuery(sql) File "./Lib/dblib.py", line 162, in quickQuery File "/usr/lib/python2.3/site-packages/Sybase.py", line 321, in close self._unlock() File "/usr/lib/python2.3/site-packages/Sybase.py", line 259, in _unlock self._owner._lock.release() File "/usr/lib/python2.3/threading.py", line 101, in release assert self.__owner is me, "release() of un-acquire()d lock" AssertionError: release() of un-acquire()d lock Thanks, -Kevin -- Kevin Jacobs The OPAL Group - Enterprise Systems Architect Voice: (216) 986-0710 x 19 E-mail: ja...@th... Fax: (216) 986-0714 WWW: http://www.theopalgroup.com |