[rt-users] Post Installation problems -- 'Can't localte object method "new" via package "RT::Handle"... Why?

Max Riz max at ebrary.com
Wed Feb 4 18:41:00 EST 2004


Espen Wiborg wrote:
> Max Riz <max at ebrary.com> writes:
> 
>>-bash-2.05b$ perl -we 'use lib "/opt/rt/rt-3.0.8/lib"; require
>>RT::Handle; RT::Handle->new(); '
>>Use of uninitialized value in concatenation (.) or string at
>>/opt/rt/rt-3.0.8/lib/RT/Handle.pm line 49.
>>Use of uninitialized value in concatenation (.) or string at
>>/opt/rt/rt-3.0.8/lib/RT/Handle.pm line 49.
>>Can't locate object method "new" via package "RT::Handle" at -e line 1.
>>-bash-2.05b$
> 
> 
> Which is as expected, as RT::Handle never pulls in the config.
> 
> How about
> 
> perl -we 'use lib "/opt/rt/rt-3.0.8/lib"; use RT; RT::LoadConfig(); require RT::Handle; RT::Handle->new(); '
> 
> (All on one line).
> 

----- Above command, with some more added info --------

-bash-2.05b$ date; perl -we 'use lib "/opt/rt/rt-3.0.8/lib"; use RT; 
RT::LoadConfig(); require RT::Handle; RT::Handle->new(); ' ; date ; echo $?
Wed Feb  4 16:13:24 PST 2004
Wed Feb  4 16:13:27 PST 2004
0
-bash-2.05b$




--------------------------------------------------------------------


So, it goes off and does 'something' for 3 seconds, and
returns with no apparent error codes.


Thanks!

-- 
-max;




More information about the rt-users mailing list