[rt-users] problems with 'rt show' (could not find component)

André Luiz andre at ccuec.unicamp.br
Mon Feb 12 09:33:25 EST 2007


Hi all!

I'm trying to use the rt cli to retrieve the ticket history, but my
request fails and I get only a empty response from my server. The
command is:

rt show -f content -l ticket/<ticket_#>/history

It exits with an error like this:

Use of uninitialized value in split at /www/rt3/bin/rt line 806.
Use of uninitialized value in pattern match (m//) at /www/rt3/bin/rt line 810.
rt: Malformed RT response from https://server/rt.

In the error logs, apache writes:

[crit]: could not find component for initial path
'/rt/REST/1.0/show' (component roots are: '/www/rt3/local/html',
'/www/rt3/share/html')
Stack:
[/usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm:205]
[/usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/ApacheHandler.pm:97]
[/usr/local/lib/perl5/site_perl/5.8.7/Class/Container.pm:275]
[/usr/local/lib/perl5/site_perl/5.8.7/Class/Container.pm:353]
[/usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Interp.pm:348]
[/usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm:580]
[/usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm:555]
[/www/rt3/share/html/REST/1.0/Forms/ticket/history:166]
[/www/rt3/share/html/REST/1.0/dhandler:272]
[/www/rt3/share/html/REST/1.0/autohandler:52]
[/www/rt3/local/html/autohandler:235] (/www/rt3/bin/webmux.pl:125)


The strange thing is that 'rt show ticket/<ticket_#>/history' works fine...

please, does anyone have some idea about what's happening?

TIA

Andre




More information about the rt-users mailing list