[rt-users] CLI - response / status problem

Christian Hammers ch at westend.com
Fri Oct 29 03:42:44 EDT 2004


On Thu, Oct 28, 2004 at 09:12:35AM -0700, Jason Taylor wrote:
> >Although I still have the following error message in version 3.3.10:
> >	$ RTDEBUG=3 rt ls -i "CustomFieldValue.{Kunde} like '10829%'"
> >	...
> >	RT/3.3.10 200 Ok
> >	ticket/58
> >	Use of uninitialized value in print at /usr/bin/rt line 270.
> >
> >Any ideas why? The offending line says "print $r->content;"
...
> Thanks for getting me this far.  There has to be one blank line between 
> the header and the content so try:
> $m->out("RT/". $RT::VERSION . " " . $status . "\n\n");

Thanks that works, I was stupid and when trying the first time, used 
"\r\n\r\n" as in HTTP responses instead of plain "\n\n" :-)

bye,

-christian-

-- 
Christian Hammers             WESTEND GmbH  |  Internet-Business-Provider
Technik                       CISCO Systems Partner - Authorized Reseller
                              Lütticher Straße 10      Tel 0241/701333-11
ch at westend.com                D-52064 Aachen              Fax 0241/911879




More information about the rt-users mailing list