[rt-users] Question on CommandByMail error
Kenneth Crocker
kfcrocker at lbl.gov
Thu Nov 11 16:53:39 EST 2010
Kevin,
We ran some transactions with "debug" and this is what we got:
Ok so here is the debug of the process:
[Thu Nov 11 21:38:58 2010] [debug]: Converting 'ISO-8859-1' to 'utf-8' for
text/plain - Subjectless message (/opt/rt3/bin/../lib/RT/I18N.pm:231)
[Thu Nov 11 21:38:58 2010] [debug]: Converting 'ISO-8859-1' to 'utf-8' for
text/html - Subjectless message (/opt/rt3/bin/../lib/RT/I18N.pm:231)
[Thu Nov 11 21:38:58 2010] [debug]: Guessed encoding: ascii
(/opt/rt3/bin/../lib/RT/I18N.pm:416)
[Thu Nov 11 21:38:58 2010] [debug]: Guessed encoding: ascii
(/opt/rt3/bin/../lib/RT/I18N.pm:416)
[Thu Nov 11 21:38:58 2010] [debug]: Found a ticket ID. It's 85261
(/opt/rt3/bin/../lib/RT/Interface/Email.pm:1153)
[Thu Nov 11 21:38:58 2010] [debug]: Mail from user #146 (kfcrocker at lbl.gov)
(/opt/rt3/bin/../lib/RT/Interface/Email/Auth/MailFrom.pm:75)
[Thu Nov 11 21:38:58 2010] [debug]: Running CommandByMail as KFCrocker
(/opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:184)
[Thu Nov 11 21:38:58 2010] [debug]: Found pseudoheader: Priority => 4
(/opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:206)
[Thu Nov 11 21:38:58 2010] [debug]: Found pseudoheader: Due => 2010-11-28
(/opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:206)
[Thu Nov 11 21:38:58 2010] [debug]: Found pseudoheader: Status => new
(/opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:206)
[Thu Nov 11 21:38:58 2010] [debug]: Got command priority => 4
(/opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:213)
[Thu Nov 11 21:38:58 2010] [debug]: Got command due => 2010-11-28
(/opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:213)
[Thu Nov 11 21:38:58 2010] [debug]: Got command status => new
(/opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:213)
[Thu Nov 11 21:38:58 2010] [debug]: Updating Ticket 85261 in Queue Test
(/opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:249)
[Thu Nov 11 21:38:58 2010] [debug]: About to think about scrips for
transaction #345045 (/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:163)
[Thu Nov 11 21:38:58 2010] [debug]: About to prepare scrips for transaction
#345045 (/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:167)
[Thu Nov 11 21:38:58 2010] [debug]: Found 0 scrips for TransactionCreate
stage with applicable type(s) Set
(/opt/rt3/bin/../lib/RT/Scrips_Overlay.pm:370)
[Thu Nov 11 21:38:58 2010] [debug]: About to commit scrips for transaction
#345045 (/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:187)
[Thu Nov 11 21:38:58 2010] [debug]: RT::Date used Time::ParseDate to make
'2010-11-28' 1290931200 (/opt/rt3/bin/../lib/RT/Date.pm:222)
[Thu Nov 11 21:38:58 2010] [debug]: About to think about scrips for
transaction #345046 (/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:163)
[Thu Nov 11 21:38:58 2010] [debug]: About to prepare scrips for transaction
#345046 (/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:167)
[Thu Nov 11 21:38:58 2010] [debug]: Found 0 scrips for TransactionCreate
stage with applicable type(s) Set
(/opt/rt3/bin/../lib/RT/Scrips_Overlay.pm:370)
[Thu Nov 11 21:38:58 2010] [debug]: About to commit scrips for transaction
#345046 (/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:187)
[Thu Nov 11 21:38:58 2010] [debug]: Guessed encoding: ascii
(/opt/rt3/bin/../lib/RT/I18N.pm:416)
[Thu Nov 11 21:38:58 2010] [debug]: Guessed encoding: ascii
(/opt/rt3/bin/../lib/RT/I18N.pm:416)
[Thu Nov 11 21:38:58 2010] [debug]: About to think about scrips for
transaction #345047 (/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:163)
[Thu Nov 11 21:38:58 2010] [debug]: About to prepare scrips for transaction
#345047 (/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:167)
[Thu Nov 11 21:38:58 2010] [debug]: Found 0 scrips for TransactionCreate
stage with applicable type(s) Correspond
(/opt/rt3/bin/../lib/RT/Scrips_Overlay.pm:370)
[Thu Nov 11 21:38:58 2010] [debug]: About to commit scrips for transaction
#345047 (/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:187)
[Thu Nov 11 21:38:58 2010] [debug]: About to think about scrips for
transaction #345048 (/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:163)
[Thu Nov 11 21:38:58 2010] [debug]: About to prepare scrips for transaction
#345048 (/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:167)
[Thu Nov 11 21:38:58 2010] [debug]: Found 0 scrips for TransactionCreate
stage with applicable type(s) Status
(/opt/rt3/bin/../lib/RT/Scrips_Overlay.pm:370)
[Thu Nov 11 21:38:58 2010] [debug]: About to commit scrips for transaction
#345048 (/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:187)
*[Thu Nov 11 21:38:58 2010] [warning]: Failed command 'due: 2010-11-28'
Error message: (no message)
(/opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:696)
[Thu Nov 11 21:38:58 2010] [crit]: Failed command 'due: 2010-11-28'
Error message: (no message) (/opt/rt3/bin/../lib/RT/Interface/Email.pm:244)*
[Thu Nov 11 21:38:58 2010] [debug]: Found 16 scrips for TransactionBatch
stage with applicable type(s) Set,Correspond,Status
(/opt/rt3/bin/../lib/RT/Scrips_Overlay.pm:370)
[Thu Nov 11 21:38:59 2010] [debug]: Loaded $cf_obj->Name = Description
((eval 471):37)
[Thu Nov 11 21:38:59 2010] [error]: Group::HasMember was called with an
argument that isn't an RT::Principal or id. It's (undefined)
(/opt/rt3/bin/../lib/RT/Group_Overlay.pm:1046)
[Thu Nov 11 21:38:59 2010] [error]: Group::HasMember was called with an
argument that isn't an RT::Principal or id. It's (undefined)
(/opt/rt3/bin/../lib/RT/Group_Overlay.pm:1046)
[Thu Nov 11 21:38:59 2010] [error]: Group::HasMember was called with an
argument that isn't an RT::Principal or id. It's (undefined)
(/opt/rt3/bin/../lib/RT/Group_Overlay.pm:1046)
[Thu Nov 11 21:38:59 2010] [error]: Group::HasMember was called with an
argument that isn't an RT::Principal or id. It's (undefined)
(/opt/rt3/bin/../lib/RT/Group_Overlay.pm:1046)
[Thu Nov 11 21:38:59 2010] [debug]: Committing scrip #52237 on txn #345045
of ticket #85261 (/opt/rt3/bin/../lib/RT/Scrips_Overlay.pm:190)
What seems odd is that the ticket is updated, but we get the error message.
My question is, can you think of how this might have happened or point me in
a direction to look?
Thanks.
Kenn
LBNL
On Tue, Nov 9, 2010 at 1:27 PM, Kevin Falcone <falcone at bestpractical.com>wrote:
> On Tue, Nov 09, 2010 at 01:22:51PM -0800, Kenneth Crocker wrote:
> > I don't understand 'test suite' nor what 'timestamp' refers to.
>
> The module has a series of tests that are run before a release, and it
> passes. That test suite tests Due.
>
> A timestamp is a timestamp, what RT displays dates as by default.
>
> Once you figure it out, documentation patches to make it clearer for
> you are welcome in the rt.cpan queue for the module.
>
> -kevin
>
> > On Tue, Nov 9, 2010 at 12:52 PM, Kevin Falcone <[1]
> falcone at bestpractical.com> wrote:
> >
> > On Tue, Nov 09, 2010 at 10:25:57AM -0800, Kenneth Crocker wrote:
> > > To List,
> > >
> > > I'm using CommandByMail and I keep getting this error message, yet
> the data is updated:
> > >
> > > Failed command 'due: 2010-11-28'
> > > Error message: (no message)
> > >
> > > Due: 2010-11-28
> > >
> > > The Duse was modified, so why the error message?
> > >
> > > I tried this several times, ie. Due:11-26-2010; Due: 2010-11-28;
> Due: 11-26-2010, etc.
> >
> > The test suite passes using a timestamp (which is what the
> > documentation indicates). Does that work for you?
> > -kevin
> >
> > References
> >
> > Visible links
> > 1. mailto:falcone at bestpractical.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20101111/63a70f7a/attachment.htm>
More information about the rt-users
mailing list