Please, can anyone help with this. I’m trying to use ruslan’s notifygroup module from rt-crontool and i keep getting this error. please, can anyone help out? I ran rt-notify-group-admin from the command line and that ran without any error. please can i use that it from crontool? please, any help would be needed.
The command I’m running from crontool is:
[root@rt1 bin]# ./rt-crontool --search RT::Search::FromSQL --search-arg “Queue=‘VSATFaults’ AND Status!=‘resolved’” --action RT::Action::NotifyGroup --action-arg Test --template-id 13
The error message I get is:
“my” variable $search masks earlier declaration in same scope at ./rt-crontool line 107.
“my” variable $tickets masks earlier declaration in same scope at ./rt-crontool line 116.
Subroutine loc redefined at ./rt-crontool line 177.
[Thu Feb 3 10:07:16 2005] [crit]: Can’t call method “CreatorObj” on an undefined value at /opt/rt3/local/lib/RT/Action/NotifyGroup.pm line 54.
(/opt/rt3/lib/RT.pm:276)
Thanks so much.
Hello.
Ilori, can you remember some rules?
- you MUST allways add mailing list address to Cc when you reply.
- quote part of the previous message
Did you run this with rt-crontool?
Oluwatomisin Ilori wrote:
Thanks. This is what is in rt.log:
[Tue Feb 1 02:54:36 2005] [error]: Couldn’t load principal #
(/opt/rt3/local/lib/RT/Action/NotifyGroup.pm:72)
[Tue Feb 1 02:54:36 2005] [warning]: User #1 has no email address
(/opt/rt3/local/lib/RT/Action/NotifyGroup.pm:98)
[Tue Feb 1 02:54:36 2005] [crit]: Can’t call method “CreatorObj” on an
undefined value at /opt/rt3/local/lib/RT/Action/NotifyGroup.pm line 54.
(/opt/rt3/lib/RT.pm:276)
[Tue Feb 1 02:55:35 2005] [error]: Couldn’t load principal #
(/opt/rt3/local/lib/RT/Action/NotifyGroup.pm:72)
[Tue Feb 1 02:55:35 2005] [warning]: User #1 has no email address
(/opt/rt3/local/lib/RT/Action/NotifyGroup.pm:98)
[Tue Feb 1 02:55:35 2005] [crit]: Can’t call method “CreatorObj” on an
undefined value at /opt/rt3/local/lib/RT/Action/NotifyGroup.pm line 54.
(/opt/rt3/lib/RT.pm:276)
ALL-NEW Yahoo! Messenger
*
- all new features - even more fun!** *
ALL-NEW Yahoo! Messenger - all new features - even more fun!