[Tramline-dev] Tramline and Plone login
Luis De la Parra
lparrab at gmx.net
Thu Dec 1 21:05:14 CET 2005
Hi,
On Monday 28 November 2005 15:02, Emyr Thomas wrote:
> Hi
>
> I've succesfully managed to integrate Tramline into Zope (just to test
> it out). I then decided to tackle integration into Plone, but Tramline
> seems to cause Plone logins to fail. Any advice on getting Tramline
> and Plone to work together?
>
I downloaded tramline the other day and started playing with it (and got the
same problem)...I don't really know what is causing it, but I seems like the
login-form-post doesn't end with a new-line and tramline "eats" the
request...
changing tramline/core.py like this is a work-around I found...
....
def pushInputLine(self, data, out):
# collect data
self._incoming.append(data)
# if we're not at the end of the line, input was broken
# somewhere. We return to collect more first.
if data[-1] != '\n':
pass #return <<<<< this return makes the login in plone to stop
working
.....
I wanted to take a closer look at it (and find the real problem and the right
solution) and report it back, but other things got in the way and I haven't
had much time since...
regards,
luis
More information about the Tramline-dev
mailing list