RE: [Sqlrelay-discussion] Server stops
Brought to you by:
mused
|
From: Pedro B. <pba...@in...> - 2006-05-22 15:45:30
|
I reported that problem and with help from davide corio I managed to solve that. After that, me and another guy posted this problem of the server getting real slow when no results where retrieved. Don't know if you did anything else to your script besides adding "self" but I tried it out and now when no results are retrieved it appears an error without consuming the server. The error value states: -> len() of unsized object Better this then a server completely stopped :) Thanks for all the help! Pedro Barbosa -----Original Message----- From: sql...@li... [mailto:sql...@li...] On Behalf Of David Muse Sent: segunda-feira, 22 de Maio de 2006 16:13 To: sql...@li... Subject: RE: [Sqlrelay-discussion] Server stops I believe that some other folks reported a similar problem with zope a while ago and it turned out that the PySQLRDB.py program was missing a "self" before some internal calls. Try replacing your PySQLRDB.py file with the attached file. Dave dav...@fi... On Tue, 2006-05-16 at 17:03 +0200, Davide Corio wrote: > Il giorno mar, 16/05/2006 alle 15.56 +0100, Pedro Barbosa ha scritto: > > Hi Davide, > > > > I tried to locate libct on my FC4 and all I found was: > > > > /usr/lib/libct.so.3.0.0 > > /usr/lib/openoffice.org2.0/program/libctl680li.so > > /usr/lib/libct.so.3 > > /usr/local/freetds/lib/libct.la > > /usr/local/freetds/lib/libct.a > > /usr/local/freetds/lib/libct.so.3.0.0 > > /usr/local/freetds/lib/libct.so > > /usr/local/freetds/lib/libct.so.3 > > > > So this must not be the problem, right? > > Any other thoughts? > > > > P.S. I'm using sqlrelay 0.37. > > Hi Pedro, I had to rebuild the sqlrelay 0.37 package provided with > Debian against libct3, and now the problem seems to be solved. > > Unfortunately I can't help you with Fedora :( > > I think you can rebuild the srpm package or install the tgz archive > directly. > |