[Tramline-dev] Tramline and Plone login

Emyr Thomas emyr.thomas at gmail.com
Tue Dec 13 16:29:35 CET 2005


Luis, how exactly have you integrated Tramline with Plone? Can you
give some details?
I'm currently trying to PloneJUpload to work with Tramline & Plone.
I'm almost there, I've had to patch the JUpload applet to send the
tramline_ok header, but it still needs some work.

Thanks

Emyr

On 01/12/05, Luis De la Parra <lparrab at gmx.net> wrote:
> 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
>
> _______________________________________________
> Tramline-dev mailing list
> Tramline-dev at codespeak.net
> http://codespeak.net/mailman/listinfo/tramline-dev
>


More information about the Tramline-dev mailing list