[rt-users] ERROR: New Tickets From Web Interface

Jesse Vincent jesse at bestpractical.com
Tue Jul 6 22:12:08 EDT 2004


Does the ticket actually get created in the end?
	
	Jesse

On Tue, Jul 06, 2004 at 04:29:31PM -0700, Brandon Knitter wrote:
> I'm testing out RT 3.2.0 and when I post a new ticket to any queue I'm getting:
> 
> == error message ==
> System error
> 
> error:  Unrecognised line: knitterb at d2dcars.com at
> /home/internal/progs/rt/lib/RT/EmailParser.pm line 450
>  
> context:  ...   
> 187:  # whether they should generate a full stack trace (confess() and cluck()) 
> 188:  # or simply report the caller's package (croak() and carp()), respectively. 
> 189:  # confess() and croak() die, carp() and cluck() warn. 
> 190:   
> 191:  sub croak { die shortmess @_ } 
> 192:  sub confess { die longmess @_ } 
> 193:  sub carp { warn shortmess @_ } 
> 194:  sub cluck { warn longmess @_ } 
> 195:   
> ...   
>  
> code stack:  /usr/lib/perl5/5.8.0/Carp.pm:191
> /usr/lib/perl5/site_perl/5.8.0/Mail/Address.pm:122
> /usr/lib/perl5/site_perl/5.8.0/Mail/Address.pm:182
> /home/internal/progs/rt/lib/RT/EmailParser.pm:450
> /home/internal/progs/rt/lib/RT/User_Overlay.pm:553
> /home/internal/progs/rt/lib/RT/Ticket_Overlay.pm:520
> /home/internal/progs/rt/lib/RT/Interface/Web.pm:375
> /home/internal/progs/rt/share/html/Ticket/Display.html:75
> /home/internal/progs/rt/share/html/Ticket/Create.html:257
> /home/internal/progs/rt/share/html/autohandler:199
>  
> == END error message ==
> 
> 
> If I leave the requestor field blank, then it works okay.  Any attempts to add a
> requestor or CC to a ticket results in a similar error.  What's up with that?  I
> tried to debug it, but when I make a similar app with the same data, I am
> getting no troubles.
> 
> The line numbers above may be off by a few clicks because I've added in a little
> bit of debug here and there.
> 
> For reference:
> 
> 445:sub ParseAddressFromHeader {
> 446:    my $self = shift;
> 447:    my $Addr = shift;
> 448:
> 449:    my @Addresses;
> 450:    @Addresses = Mail::Address->parse($Addr);
> 451:    my $AddrObj = $Addresses[0];
> 452:
> 453:    unless ( ref($AddrObj) ) {
> 454:        return ( undef, undef );
> 455:    }
> 456:
> 457:    my $Name = ( $AddrObj->phrase || $AddrObj->comment || $AddrObj->address);
> 459:
> 460:    #Lets take the from and load a user object.
> 461:    my $Address = $AddrObj->address;
> 462:
> 463:    return ( $Address, $Name );
> 464:}
> 
> 
> 
> 
> 
> == raw error ==
> Unrecognised line: knitterb at d2dcars.com at
> /home/internal/progs/rt/lib/RT/EmailParser.pm line 450
> 
> 
> Trace begun at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Exceptions.pm line 131
> HTML::Mason::Exceptions::rethrow_exception('Unrecognised line:
> knitterb at d2dcars.com at /home/internal/progs/rt/lib/RT/EmailParser.pm line
> 450^J') called at /usr/lib/perl5/5.8.0/Carp.pm line 191
> Carp::croak('Unrecognised line: knitterb at d2dcars.com') called at
> /usr/lib/perl5/site_perl/5.8.0/Mail/Address.pm line 122
> Mail::Address::_tokenise('knitterb at d2dcars.com') called at
> /usr/lib/perl5/site_perl/5.8.0/Mail/Address.pm line 182
> Mail::Address::parse('Mail::Address', 'knitterb at d2dcars.com') called at
> /home/internal/progs/rt/lib/RT/EmailParser.pm line 450
> RT::EmailParser::ParseAddressFromHeader('', 'knitterb at d2dcars.com') called at
> /home/internal/progs/rt/lib/RT/User_Overlay.pm line 553
> RT::User::LoadOrCreateByEmail('RT::User=HASH(0x9bdbb80)',
> 'knitterb at d2dcars.com') called at
> /home/internal/progs/rt/lib/RT/Ticket_Overlay.pm line 520
> RT::Ticket::Create('RT::Ticket=HASH(0x9bf941c)', 'DependsOn',
> 'ARRAY(0x9bf90e0)', 'Requestor', 'ARRAY(0x87d2910)', 'TimeEstimated', undef,
> 'RefersTo', 'ARRAY(0x9bf8544)', 'Cc', 'ARRAY(0x87d2964)', 'ReferredToBy',
> 'ARRAY(0x9bf7adc)', 'Subject', 'asdasd', 'Status', 'new', 'Children',
> 'ARRAY(0x9bf8448)', 'FinalPriority', 0, 'TimeLeft', '', 'Queue', 'User',
> 'AdminCc', 'ARRAY(0x87d29b8)', 'DependedOnBy', 'ARRAY(0x9bf7b30)', 'Owner', 10,
> 'MIMEObj', 'MIME::Entity=HASH(0x9b696c0)', 'InitialPriority', 0, 'Type',
> 'ticket', 'Parents', 'ARRAY(0x9bf7c98)', 'CustomField-1', '', 'Starts',
> '1970-01-01 00:00:00', 'TimeWorked', '', 'Due', '1970-01-01 00:00:00') called at
> /home/internal/progs/rt/lib/RT/Interface/Web.pm line 375
> HTML::Mason::Commands::CreateTicket('Attachments', undef, 'Status', 'new',
> 'new-DependsOn', '', 'CustomField-1-Value', '', 'Queue', 'User', 'AdminCc', '',
> 'Requestors', 'knitterb at d2dcars.com', 'InitialPriority', 0, 'Starts', '',
> 'Attach', '', 'TimeWorked', '', 'id', 'new', 'Cc', '', 'Subject', 'asdasd',
> 'new-RefersTo', '', 'FinalPriority', 0, 'RefersTo-new', '', 'TimeLeft', '',
> 'DependsOn-new', '', 'Owner', 10, 'new-MemberOf', '', 'MemberOf-new', '',
> 'Content', 'sdasdasd', 'Due', '') called at
> /home/internal/progs/rt/share/html/Ticket/Display.html line 75
> HTML::Mason::Commands::__ANON__('Status', 'new', 'CustomField-1-Value', '',
> 'new-DependsOn', '', 'Queue', 'User', 'AdminCc', '', 'Requestors',
> 'knitterb at d2dcars.com', 'InitialPriority', 0, 'Starts', '', 'Attach', '',
> 'TimeWorked', '', 'id', 'new', 'Cc', '', 'Subject', 'asdasd', 'FinalPriority',
> 0, 'new-RefersTo', '', 'TimeLeft', '', 'RefersTo-new', '', 'Owner', 10,
> 'DependsOn-new', '', 'new-MemberOf', '', 'MemberOf-new', '', 'Content',
> 'sdasdasd', 'Due', '') called at
> /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 134
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x98d6350)',
> 'Status', 'new', 'CustomField-1-Value', '', 'new-DependsOn', '', 'Queue',
> 'User', 'AdminCc', '', 'Requestors', 'knitterb at d2dcars.com', 'InitialPriority',
> 0, 'Starts', '', 'Attach', '', 'TimeWorked', '', 'id', 'new', 'Cc', '',
> 'Subject', 'asdasd', 'FinalPriority', 0, 'new-RefersTo', '', 'TimeLeft', '',
> 'RefersTo-new', '', 'Owner', 10, 'DependsOn-new', '', 'new-MemberOf', '',
> 'MemberOf-new', '', 'Content', 'sdasdasd', 'Due', '') called at
> /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1074
> eval {...} at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1068
> HTML::Mason::Request::comp(undef, undef, 'Status', 'new', 'CustomField-1-Value',
> '', 'new-DependsOn', '', 'Queue', 'User', 'AdminCc', '', 'Requestors',
> 'knitterb at d2dcars.com', 'InitialPriority', 0, 'Starts', '', 'Attach', '',
> 'TimeWorked', '', 'id', 'new', 'Cc', '', 'Subject', 'asdasd', 'FinalPriority',
> 0, 'new-RefersTo', '', 'TimeLeft', '', 'RefersTo-new', '', 'Owner', 10,
> 'DependsOn-new', '', 'new-MemberOf', '', 'MemberOf-new', '', 'Content',
> 'sdasdasd', 'Due', '') called at
> /home/internal/progs/rt/share/html/Ticket/Create.html line 257
> HTML::Mason::Commands::__ANON__('Status', 'new', 'new-DependsOn', '',
> 'CustomField-1-Value', '', 'Queue', 'User', 'AdminCc', '', 'Requestors',
> 'knitterb at d2dcars.com', 'InitialPriority', 0, 'Starts', '', 'Attach', '',
> 'TimeWorked', '', 'id', 'new', 'Cc', '', 'Subject', 'asdasd', 'new-RefersTo',
> '', 'FinalPriority', 0, 'RefersTo-new', '', 'TimeLeft', '', 'DependsOn-new', '',
> 'Owner', 10, 'new-MemberOf', '', 'MemberOf-new', '', 'Content', 'sdasdasd',
> 'Due', '', 'Status', 'new', 'new-DependsOn', '', 'CustomField-1-Value', '',
> 'Requestors', 'knitterb at d2dcars.com', 'InitialPriority', 0, 'Starts', '',
> 'Attach', '', 'TimeWorked', '', 'id', 'new', 'Subject', 'asdasd',
> 'DependsOn-new', '', 'Owner', 10, 'Due', '', 'Queue', 'User', 'AdminCc', '',
> 'Cc', '', 'new-RefersTo', '', 'FinalPriority', 0, 'RefersTo-new', '',
> 'TimeLeft', '', 'new-MemberOf', '', 'MemberOf-new', '', 'Content', 'sdasdasd')
> called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 134
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x99e3540)',
> 'Status', 'new', 'new-DependsOn', '', 'CustomField-1-Value', '', 'Queue',
> 'User', 'AdminCc', '', 'Requestors', 'knitterb at d2dcars.com', 'InitialPriority',
> 0, 'Starts', '', 'Attach', '', 'TimeWorked', '', 'id', 'new', 'Cc', '',
> 'Subject', 'asdasd', 'new-RefersTo', '', 'FinalPriority', 0, 'RefersTo-new', '',
> 'TimeLeft', '', 'DependsOn-new', '', 'Owner', 10, 'new-MemberOf', '',
> 'MemberOf-new', '', 'Content', 'sdasdasd', 'Due', '', 'Status', 'new',
> 'new-DependsOn', '', 'CustomField-1-Value', '', 'Requestors',
> 'knitterb at d2dcars.com', 'InitialPriority', 0, 'Starts', '', 'Attach', '',
> 'TimeWorked', '', 'id', 'new', 'Subject', 'asdasd', 'DependsOn-new', '',
> 'Owner', 10, 'Due', '', 'Queue', 'User', 'AdminCc', '', 'Cc', '',
> 'new-RefersTo', '', 'FinalPriority', 0, 'RefersTo-new', '', 'TimeLeft', '',
> 'new-MemberOf', '', 'MemberOf-new', '', 'Content', 'sdasdasd') called at
> /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1074
> eval {...} at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1068
> HTML::Mason::Request::comp(undef, undef, 'Status', 'new', 'new-DependsOn', '',
> 'CustomField-1-Value', '', 'Queue', 'User', 'AdminCc', '', 'Requestors',
> 'knitterb at d2dcars.com', 'InitialPriority', 0, 'Starts', '', 'Attach', '',
> 'TimeWorked', '', 'id', 'new', 'Cc', '', 'Subject', 'asdasd', 'new-RefersTo',
> '', 'FinalPriority', 0, 'RefersTo-new', '', 'TimeLeft', '', 'DependsOn-new', '',
> 'Owner', 10, 'new-MemberOf', '', 'MemberOf-new', '', 'Content', 'sdasdasd',
> 'Due', '', 'Status', 'new', 'new-DependsOn', '', 'CustomField-1-Value', '',
> 'Requestors', 'knitterb at d2dcars.com', 'InitialPriority', 0, 'Starts', '',
> 'Attach', '', 'TimeWorked', '', 'id', 'new', 'Subject', 'asdasd',
> 'DependsOn-new', '', 'Owner', 10, 'Due', '', 'Queue', 'User', 'AdminCc', '',
> 'Cc', '', 'new-RefersTo', '', 'FinalPriority', 0, 'RefersTo-new', '',
> 'TimeLeft', '', 'new-MemberOf', '', 'MemberOf-new', '', 'Content', 'sdasdasd')
> called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 760
> HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x9b5fd84)',
> 'Status', 'new', 'new-DependsOn', '', 'CustomField-1-Value', '', 'Requestors',
> 'knitterb at d2dcars.com', 'InitialPriority', 0, 'Starts', '', 'Attach', '',
> 'TimeWorked', '', 'id', 'new', 'Subject', 'asdasd', 'DependsOn-new', '',
> 'Owner', 10, 'Due', '', 'Queue', 'User', 'AdminCc', '', 'Cc', '',
> 'new-RefersTo', '', 'FinalPriority', 0, 'RefersTo-new', '', 'TimeLeft', '',
> 'new-MemberOf', '', 'MemberOf-new', '', 'Content', 'sdasdasd') called at
> /home/internal/progs/rt/share/html/autohandler line 199
> HTML::Mason::Commands::__ANON__('Status', 'new', 'new-DependsOn', '',
> 'CustomField-1-Value', '', 'Queue', 'User', 'AdminCc', '', 'Requestors',
> 'knitterb at d2dcars.com', 'InitialPriority', 0, 'Starts', '', 'Attach', '',
> 'TimeWorked', '', 'id', 'new', 'Cc', '', 'Subject', 'asdasd', 'new-RefersTo',
> '', 'FinalPriority', 0, 'RefersTo-new', '', 'TimeLeft', '', 'DependsOn-new', '',
> 'Owner', 10, 'new-MemberOf', '', 'MemberOf-new', '', 'Content', 'sdasdasd',
> 'Due', '') called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 134
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x8f8f04c)',
> 'Status', 'new', 'new-DependsOn', '', 'CustomField-1-Value', '', 'Queue',
> 'User', 'AdminCc', '', 'Requestors', 'knitterb at d2dcars.com', 'InitialPriority',
> 0, 'Starts', '', 'Attach', '', 'TimeWorked', '', 'id', 'new', 'Cc', '',
> 'Subject', 'asdasd', 'new-RefersTo', '', 'FinalPriority', 0, 'RefersTo-new', '',
> 'TimeLeft', '', 'DependsOn-new', '', 'Owner', 10, 'new-MemberOf', '',
> 'MemberOf-new', '', 'Content', 'sdasdasd', 'Due', '') called at
> /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1069
> eval {...} at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1068
> HTML::Mason::Request::comp(undef, undef, undef, 'Status', 'new',
> 'new-DependsOn', '', 'CustomField-1-Value', '', 'Queue', 'User', 'AdminCc', '',
> 'Requestors', 'knitterb at d2dcars.com', 'InitialPriority', 0, 'Starts', '',
> 'Attach', '', 'TimeWorked', '', 'id', 'new', 'Cc', '', 'Subject', 'asdasd',
> 'new-RefersTo', '', 'FinalPriority', 0, 'RefersTo-new', '', 'TimeLeft', '',
> 'DependsOn-new', '', 'Owner', 10, 'new-MemberOf', '', 'MemberOf-new', '',
> 'Content', 'sdasdasd', 'Due', '') called at
> /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 338
> eval {...} at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 338
> eval {...} at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 297
> HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x9b5fd84)')
> called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 134
> eval {...} at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 134
> HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x9b5fd84)')
> called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 792
> HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x9006fcc)',
> 'Apache::RequestRec=SCALAR(0x9b9f22c)') called at
> /home/internal/progs/rt/bin/webmux.pl line 145
> eval {...} at /home/internal/progs/rt/bin/webmux.pl line 145
> RT::Mason::handler('Apache::RequestRec=SCALAR(0x9b9f22c)') called at -e line 0
> eval {...} at -e line 0
> == END raw error ==
> 
> 
> 
> 
> -- 
> -bk
> 
> 
> 
> 
> 
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Be sure to check out the RT wiki at http://wiki.bestpractical.com

-- 



More information about the rt-users mailing list