[rt-users] RT 3.2.2 CLI 'Malformed response' errors
John Stoffel
john.stoffel at taec.toshiba.com
Thu Dec 16 15:26:05 EST 2004
Hi all,
I've just setup a brand new install of RT 3.2.2 on a Fedora Core 3
box, running apache 2.0.52-3.1, along with perl 5.8.5, & mod_perl
1.99_16-3 and it all seems to be working fine.
But I'm a happy user of the 1.0.7 stuff, and I really really really
liked the clean display and CLI interface of the 1.0.x series. So
this leads to my problem report, and my wishes.
Problem:
If I use the 'rt' perl tool to do a query from the command line, I
get "Malformed RT reposonse" erorrs:
# ./rt ls "Status='new'"
Password:
rt: Malformed RT response from http://rt3.taec.toshiba.com/.
(Rerun with RTDEBUG=3 for details.)
So if I re-run with that setting it works, sorta. I know see the data
on the tickets, but it still barfs with an error:
# export RTDEBUG=3
[root at rt3 bin]# ./rt ls "Status='new'"
Password:
POST http://rt3.taec.toshiba.com//REST/1.0/search/ticket
Content-Length: 210
Content-Type: multipart/form-data; boundary=xYzZY
--xYzZY
Content-Disposition: form-data; name="query"
Status='new'
--xYzZY
Content-Disposition: form-data; name="user"
root
--xYzZY
Content-Disposition: form-data; name="pass"
<not for you!>
--xYzZY--
HTTP/1.1 200 OK
Connection: close
Date: Thu, 16 Dec 2004 20:23:04 GMT
Server: Apache/2.0.52 (Fedora)
Content-Type: text/plain; charset=UTF-8
Client-Date: Thu, 16 Dec 2004 20:23:04 GMT
Client-Peer: 209.243.166.67:80
Client-Response-Num: 1
Client-Transfer-Encoding: chunked
Set-Cookie: RT_SID_TAEC.80=c3ce215060e6879467cd9b31f65a9c72; path=/
RT/3.2.2 200 Ok3: test ticket 2
4: Why aren't tickets coming in via email?
7: test of NIS rt alias
9: test ticket
10: test ticket
11: test mail via NIS alias
12: test ticket
13: test ticket via rt at taec.com
14: I have an account
15: Why aren't URLs in tickets working?
16: a new test ticket
rt: Malformed RT response from http://rt3.taec.toshiba.com/.
Now for my wishlist:
1. Does anyone have a CSS to make RT 3.2 look and act more like a
1.0.x web interface?
2. Does anyone have a CLI tool that works more like the 1.0.x CLI
tool? The web is nice, but it's getting so complicated that it's
not worth using for smaller sites that DON'T need all the
complexity and flexibility that RT offers now.
Thanks,
John
Toshiba America Electronic Components
john.stoffel at taec.toshiba.com
More information about the rt-users
mailing list