Prepending newline from webserver breaks CLI

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 :frowning:

I think I double checked all:
On the machine are two differnt webserver one is from the distro the
other is selfmade
(Apache 1.3.27 and 1.3.28) both show this behavior. One web server is
dedicated
to mailman and should have no relations to the other).
When I look at other machines, everything looks fine. The only thing
I could imagine is an error in shared system libs which are used from both.

I have an Suse 8.2/RT3.0.6/Perl5.8.0

Of course I can modify the CLI source to throw away the first line, but
I would try to avoid this!

bye!
_ http://dict.leo.org/?p=lURE.&search=expected_

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 :frowning:

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.

Request Tracker — Best Practical Solutions – Trouble Ticketing. Free.

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?

To be sure that we talk about the same stuff this is my problem :wink:

./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:

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 :wink:

./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:

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 :frowning:

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.

Request Tracker — Best Practical Solutions – Trouble Ticketing. Free.