[Rt-devel] RT 3.6.6 / CLI Error
Ham MI-ID, Torsten Brumm
torsten.brumm at Kuehne-Nagel.com
Fri Apr 11 05:22:12 EDT 2008
Sorry, forgot to add the correct rt call:
rt show ticket/ticket_id/attachments
Kühne + Nagel (AG & Co.) KG, Geschäftsleitung: Hans-Georg Brinkmann (Vors.), Uwe Bielang (Stellv.), Bruno Mang, Dirk Blesius (Stellv.), Alfred Manke, Christian Marnetté (Stellv.), Mark Reinhardt (Stellv.), Jens Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Persönlich haftende Gesellschaft: Kühne & Nagel A.G., Sitz: Contern/Luxemburg Geschäftsführender Verwaltungsrat: Klaus-Michael Kühne
-----Ursprüngliche Nachricht-----
Von: rt-devel-bounces at lists.bestpractical.com [mailto:rt-devel-bounces at lists.bestpractical.com] Im Auftrag von Ham MI-ID, Torsten Brumm
Gesendet: Freitag, 11. April 2008 11:18
An: rt-devel at lists.bestpractical.com
Cc: Ham MI-EI, Jurij Fajnberg
Betreff: [Rt-devel] RT 3.6.6 / CLI Error
Hi RT Developers,
Just got a strange error from CLI (rt). If you use rt cli to grab information from a ticket:
Use of uninitialized value in split at /ib/sw/rt/rt line 873.
Use of uninitialized value in pattern match (m//) at /ib/sw/rt/rt line 877.
rt: Malformed RT response from http://ticket.int.kn.
--
This is the script we use (is just an alias for easy use of rt cli tool:
$export RTDEBUG=3
jf at pari[3]/home/miejf>
$ce 1041945|more
POST http://ticket.int.kn/REST/1.0/show
Content-Length: 93
Content-Type: multipart/form-data; boundary=xYzZY
Cookie: RT_SID_kuehne-nagel.com.80=90bc9ce33339603be87ae7f07ed6a910
--xYzZY
Content-Disposition: form-data; name="id"
ticket/1041945/attachments
--xYzZY--
HTTP/1.1 200 OK
Connection: close
Date: Fri, 11 Apr 2008 08:45:31 GMT
Server: Apache/2.0.52 (Red Hat)
Content-Type: text/plain; charset=utf-8
Client-Date: Fri, 11 Apr 2008 08:45:10 GMT
Client-Peer: 10.60.130.154:80
Client-Response-Num: 1
Client-Transfer-Encoding: chunked
RT/3.6.5 200 Ok
id: ticket/1041945/attachments
Attachments: 8135251: (multipart/alternative / 0b),
8135252: (text/plain / 412b),
8135253: (text/html / 1.5k),
8135254: (text/plain / 1.1k),
8135255: (text/plain / 730b),
8136349: (text/plain / 374b),
8136411: (text/plain / 384b),
8136588: (text/plain / 372b),
8357858: (text/plain / 1.4k),
8357859: (text/plain / 1.5k)
POST http://ticket.int.kn/REST/1.0/show
Content-Length: 109
Content-Type: multipart/form-data; boundary=xYzZY
Cookie: RT_SID_kuehne-nagel.com.80=90bc9ce33339603be87ae7f07ed6a910
--xYzZY
Content-Disposition: form-data; name="id"
ticket/1041945/attachments/8135251/content
--xYzZY--
HTTP/1.1 200 OK
Connection: close
Date: Fri, 11 Apr 2008 08:45:30 GMT
Server: Apache/2.0.52 (Red Hat)
Content-Type: multipart/alternative
Client-Date: Fri, 11 Apr 2008 08:45:21 GMT
Client-Peer: 10.60.130.155:80
Client-Response-Num: 1
Client-Transfer-Encoding: chunked
Use of uninitialized value in split at /ib/sw/rt/rt line 873.
Use of uninitialized value in pattern match (m//) at /ib/sw/rt/rt line 877.
rt: Malformed RT response from http://ticket.int.kn.
POST http://ticket.int.kn/REST/1.0/show
Content-Length: 109
Content-Type: multipart/form-data; boundary=xYzZY
Cookie: RT_SID_kuehne-nagel.com.80=90bc9ce33339603be87ae7f07ed6a910
--xYzZY
Content-Disposition: form-data; name="id"
ticket/1041945/attachments/8135252/content
--xYzZY--
More information about the Rt-devel
mailing list