[rt-users] error in rt-crontool

Craig Ringer craig at 2ndquadrant.com
Thu Mar 21 03:52:47 EDT 2013


On 03/21/2013 03:41 PM, Albert Shih wrote:
>  Le 21/03/2013 ? 08:54:08+0800, Craig Ringer a ?crit
> Hi,
>
>>> Since I create a new lifecycle I got this error 
>>>
>>> /usr/local/bin/rt-crontool --search RT::Search::ActiveTicketsInQueue --search-arg Support --action RT::Action::EscalatePriority
>>>
>>> Use of uninitialized value $_ in string eq at /usr/local/lib/perl5/site_perl/5.14.2/RT/Lifecycle.pm line 507.
>>> Use of uninitialized value $to[0] in join or string at /usr/local/lib/perl5/site_perl/5.14.2/RT/Lifecycle.pm line 507.
>> Since you're showing line numbers it'd be useful to know the exact RT
>> version you're using.
> You'r right. My bad. 
I do the same thing all the time, it wasn't a complaint, just a request
for more info.
> I have this message with 4.0.8 and now I still got it with 4.0.10.

I suspect that RT may be seeing an older version of Lifecycle.pm.
Lifecycle.pm usually appears at $RTINSTALLDIR/lib/RT/Lifecycle.pm eg
/opt/rt4/lib/RT/Lifecycle.pm . Did you have RT3 installed on this
machine before, perhaps with an extension that tries to add lifecycle
support? Or an older version of RT installed some other way?

Those error lines don't seem to make much sense for the version of
Lifeycle.pm in 4.10.

-- 
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services




More information about the rt-users mailing list