[rt-users] RT/Action/NotifyGroup.pm

Oluwatomisin Ilori tomisilori at yahoo.co.uk
Thu Feb 3 05:13:11 EST 2005


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 at 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.
"Ruslan U. Zakirov" <Ruslan.Zakirov at acronis.com> wrote:
Hello.
Ilori, can you remember some rules?
1) you MUST allways add mailing list address to Cc when you reply.
2) 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!  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20050203/4737f6b2/attachment.htm>


More information about the rt-users mailing list