[rt-users] "Unrecognised line" error from EmailParser

Tony Bowden rt at tmtm.com
Wed Aug 11 17:51:46 EDT 2004


When I try to add a new Requestor to a ticket, I'm getting:

Unrecognised line: tony at tmtm.com at
/home/customers/sites/rt//lib/RT/EmailParser.pm line 404


This is coming from Mail::Address, but I can't replicate the problem
outside of RT at all. A simple script which calls the method in
Mail::Address, or even the method in RT::EmailParser works just fine.

The full trace is below.

Anyone seen anything like this before?

Thanks,

Tony

 - Trace begun at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Exceptions.pm line 131
 - HTML::Mason::Exceptions::rethrow_exception('Unrecognised line: tony at tmtm.com at /home/customers/sites/rt//lib/RT/EmailParser.pm line 404^J') called at /usr/lib/perl5/5.8.0/Carp.pm line 191
 - Carp::croak('Unrecognised line: tony at tmtm.com') called at /usr/lib/perl5/site_perl/5.8.0/Mail/Address.pm line 122
 - Mail::Address::_tokenise('tony at tmtm.com') called at /usr/lib/perl5/site_perl/5.8.0/Mail/Address.pm line 182
 - Mail::Address::parse('Mail::Address', 'tony at tmtm.com') called at /home/customers/sites/rt//lib/RT/EmailParser.pm line 404
 - RT::EmailParser::ParseAddressFromHeader('', 'tony at tmtm.com') called at /home/customers/sites/rt//lib/RT/User_Overlay.pm line 599
 - RT::User::LoadOrCreateByEmail('RT::User=HASH(0x8d17d7c)', 'tony at tmtm.com') called at /home/customers/sites/rt//lib/RT/Ticket_Overlay.pm line 1440
 - RT::Ticket::_AddWatcher('RT::Ticket=HASH(0x8e8eed0)', 'Type', 'Requestor', 'PrincipalId', undef, 'Email', 'tony at tmtm.com') called at /home/customers/sites/rt//lib/RT/Ticket_Overlay.pm line 1421
 - RT::Ticket::AddWatcher('RT::Ticket=HASH(0x8e8eed0)', 'Type', 'Requestor', 'Email', 'tony at tmtm.com') called at /home/customers/sites/rt//lib/RT/Interface/Web.pm line 1286
 - HTML::Mason::Commands::ProcessTicketWatchers('TicketObj', 'RT::Ticket=HASH(0x8e8eed0)', 'ARGSRef', 'HASH(0x8f2c194)') called at /home/customers/sites/rt/share/html/Ticket/ModifyPeople.html line 49
 - HTML::Mason::Commands::__ANON__('GroupField', 'Name', 'UserOp', 'LIKE', 'WatcherTypeEmail3', '', 'GroupString', '', 'GroupOp', 'LIKE', 'Owner', 29, 'WatcherTypeEmail2', '', 'WatcherAddressEmail1', 'tony at tmtm.com', 'WatcherTypeEmail1', 'Requestor', 'id', 279, 'WatcherAddressEmail3', '', 'WatcherAddressEmail2', '', 'UserString', '', 'UserField', 'Name', 'GroupField', 'Name', 'UserOp', 'LIKE', 'WatcherTypeEmail3', '', 'GroupString', '', 'GroupOp', 'LIKE', 'WatcherAddressEmail1', 'tony at tmtm.com', 'WatcherTypeEmail2', '', 'Owner', 29, 'WatcherTypeEmail1', 'Requestor', 'id', 279, 'WatcherAddressEmail3', '', 'WatcherAddressEmail2', '', 'UserString', '', 'UserField', 'Name') 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(0x8f2eac4)', 'GroupField', 'Name', 'UserOp', 'LIKE', 'WatcherTypeEmail3', '', 'GroupString', '', 'GroupOp', 'LIKE', 'Owner', 29, 'WatcherTypeEmail2', '', 'WatcherAddressEmail1', 'tony at tmtm.com', 'WatcherTypeEmail1', 'Requestor', 'id', 279, 'WatcherAddressEmail3', '', 'WatcherAddressEmail2', '', 'UserString', '', 'UserField', 'Name', 'GroupField', 'Name', 'UserOp', 'LIKE', 'WatcherTypeEmail3', '', 'GroupString', '', 'GroupOp', 'LIKE', 'WatcherAddressEmail1', 'tony at tmtm.com', 'WatcherTypeEmail2', '', 'Owner', 29, 'WatcherTypeEmail1', 'Requestor', 'id', 279, 'WatcherAddressEmail3', '', 'WatcherAddressEmail2', '', 'UserString', '', 'UserField', 'Name') 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, 'GroupField', 'Name', 'UserOp', 'LIKE', 'WatcherTypeEmail3', '', 'GroupString', '', 'GroupOp', 'LIKE', 'Owner', 29, 'WatcherTypeEmail2', '', 'WatcherAddressEmail1', 'tony at tmtm.com', 'WatcherTypeEmail1', 'Requestor', 'id', 279, 'WatcherAddressEmail3', '', 'WatcherAddressEmail2', '', 'UserString', '', 'UserField', 'Name', 'GroupField', 'Name', 'UserOp', 'LIKE', 'WatcherTypeEmail3', '', 'GroupString', '', 'GroupOp', 'LIKE', 'WatcherAddressEmail1', 'tony at tmtm.com', 'WatcherTypeEmail2', '', 'Owner', 29, 'WatcherTypeEmail1', 'Requestor', 'id', 279, 'WatcherAddressEmail3', '', 'WatcherAddressEmail2', '', 'UserString', '', 'UserField', 'Name') 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(0x8f2b4b0)', 'GroupField', 'Name', 'UserOp', 'LIKE', 'WatcherTypeEmail3', '', 'GroupString', '', 'GroupOp', 'LIKE', 'WatcherAddressEmail1', 'tony at tmtm.com', 'WatcherTypeEmail2', '', 'Owner', 29, 'WatcherTypeEmail1', 'Requestor', 'id', 279, 'WatcherAddressEmail3', '', 'WatcherAddressEmail2', '', 'UserString', '', 'UserField', 'Name') called at /home/customers/sites/rt/share/html/autohandler line 196
 - HTML::Mason::Commands::__ANON__('GroupField', 'Name', 'UserOp', 'LIKE', 'WatcherTypeEmail3', '', 'GroupString', '', 'GroupOp', 'LIKE', 'Owner', 29, 'WatcherTypeEmail2', '', 'WatcherAddressEmail1', 'tony at tmtm.com', 'WatcherTypeEmail1', 'Requestor', 'id', 279, 'WatcherAddressEmail3', '', 'WatcherAddressEmail2', '', 'UserString', '', 'UserField', 'Name') 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(0x8d31180)', 'GroupField', 'Name', 'UserOp', 'LIKE', 'WatcherTypeEmail3', '', 'GroupString', '', 'GroupOp', 'LIKE', 'Owner', 29, 'WatcherTypeEmail2', '', 'WatcherAddressEmail1', 'tony at tmtm.com', 'WatcherTypeEmail1', 'Requestor', 'id', 279, 'WatcherAddressEmail3', '', 'WatcherAddressEmail2', '', 'UserString', '', 'UserField', 'Name') 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, 'GroupField', 'Name', 'UserOp', 'LIKE', 'WatcherTypeEmail3', '', 'GroupString', '', 'GroupOp', 'LIKE', 'Owner', 29, 'WatcherTypeEmail2', '', 'WatcherAddressEmail1', 'tony at tmtm.com', 'WatcherTypeEmail1', 'Requestor', 'id', 279, 'WatcherAddressEmail3', '', 'WatcherAddressEmail2', '', 'UserString', '', 'UserField', 'Name') 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(0x8f2b4b0)') 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(0x8f2b4b0)') 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(0x8d45fc8)', 'Apache::RequestRec=SCALAR(0x8d459d4)') called at /home/customers/sites/rt/bin/webmux.pl line 138
 - eval {...} at /home/customers/sites/rt/bin/webmux.pl line 138
 - RT::Mason::handler('Apache::RequestRec=SCALAR(0x8d459d4)') called at -e line 0
 - eval {...} at -e line 0



More information about the rt-users mailing list