[rt-users] Prepending newline from webserver breaks CLI
Jesse Vincent
jesse at bestpractical.com
Thu Oct 23 12:33:11 EDT 2003
On Thu, Oct 23, 2003 at 06:31:26PM +0200, Sven Sternberger wrote:
> Hello!
>
>
> I don't understand how an error in rtfm (btw. I have 2.0.1 installed)
> could be related to the problem with
> the CLI (rt )? And does this mean that it is okay that the content of my
> webserver
> start alway with a newline?
RTFM installs a "Callback" into a hook in the autohandler. the
/Callbacks/RTFM/autohandler/Default contains an extra newline.
>
> To be sure that we talk about the same stuff this is my problem ;-)
>
> # ./rt ls "Priority > 5 and Status='new'"
> rt: Malformed RT response from http://somewhere.desy.de.
> (Rerun with RTDEBUG=3 for details.)
>
>
> bye!
>
> Jesse Vincent wrote:
>
> >
> >On Thu, Oct 23, 2003 at 05:12:12PM +0200, Sven Sternberger wrote:
> >
> >
> >>It is slightly OT, but I could imagine taht other rt user have the same
> >>probem.
> >>
> >>I evaluate rt3, and see problems with the CLI, because the rt/lwp code
> >>expect the result from the webserver in the first line, but on my machine
> >>the result starts in line two. And I have no idea why :-(
> >>
> >>
> >
> >It's a bug in RTFM 2.0.0. We've already fixed it in the repository and
> >it will be fixed in the next release.
> >
> >
> >
>
>
--
http://www.bestpractical.com/rt -- Trouble Ticketing. Free.
More information about the rt-users
mailing list