[rt-users] Post Installation problems -- 'Can't localte object method "new" via package "RT::Handle"... Why?
Espen Wiborg
espenhw at empolis.no
Wed Feb 4 04:09:54 EST 2004
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).
--
Espen Wiborg <espenhw at empolis.no>
Meddle not in the affairs of dragons, for you are crunchy and taste
like chicken.
More information about the rt-users
mailing list