papo-abusers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Papo-abusers] Login attemps failled


From: John Lenton
Subject: Re: [Papo-abusers] Login attemps failled
Date: Tue, 28 Oct 2003 20:08:14 -0300
User-agent: Mutt/1.3.28i

On Mon, Oct 20, 2003 at 02:59:27PM -0300, Maximiliano Curia wrote:
> Hello,
> 
> I've downloaded the latest version of luca. I've successfully installed
> it. But I could not login to it as it was.
> 
> I've to modify  luca-0.1.83/gnue/common/GConnections.py to make it work,
> in line 273, I had to replace:
>  self._dataConnection.cursor().execute("SET TRANSACTION ISOLATION LEVEL
> READ COMMITTED")
> with:
>  dataObject._dataConnection.cursor().execute("SET TRANSACTION ISOLATION
> LEVEL READ COMMITTED")
> 
> By the way, when I enter the user or password wrong I get something like
> this:
> 
> DB000:   File "/home/maxy/luca-0.1.83/gnue/common/GConnections.py", line
> 288, in requestConnection
> DB000:     errortext = string.replace("%s" % error,'\n','a')
> DB000: TypeError: __str__ returned non-string (type instance)
> 
> I think the error variable is not being assigned or is an unexpected
> type of object.
> 
> Thanks.
> 

bueno, acabamos de tener tiempo (mentira! pero para los fines
prácticos es lo mismo) de mirar este problema y lamentablemente
tenemos que admitir que tenés razón :). Es un bug que solamente salta
cuando no se conecta, y la corrección de ese bug es justamente la que
indicás.

Esto no quita que probablemente no te funcione gnue con python2.2; los
errores con los que saltaba era de la forma "You've got your bar
in my foo! And you've got your foo on my bar!  Two great reams that
ream well together!".

La próxima vez que encuentres un bug tan obvio (porque viendo el
código, 20 líneas más arriba estaba la versión correcta), mandanos un
patch, puede ser?

Muchas gracias, y perdón por la demora en volver con una respuesta
satisfactoria. Bah, espero que te satisfaga esta respuesta más que las
anteriores...


-- 
John Lenton (address@hidden) -- Random fortune:
Una cosa es haber andado más camino y otra, haber caminado más despacio.
                -- San Agustín. (354-439) Obispo, filósofo y Padre de la 
Iglesia Latina. 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]