Problems with attachments

Anyone else having problems with attachments in RT3.02pre3?

I have problems attaching things via email and from the web interface. If I attach via email, I get into a nasty email loop where sendmail fails with an EX_TEMPFAIL, but the file does get attached. sendmail of course continues to try to deliver the message and I get multiple attachments. (BTW, is there an easy way to remove the duplicates?)
apache 1.3.27
perl 5.6.1
rt 3.0.2pre3 (upgraded from rt 2.0.15)
sendmail 8.11.6
system is redhat7.2 with modifications/hand installations.

If I attach from the command line, I get the following error and the file DOES NOT attach:

System error

  error:  Not an ARRAY reference at /usr/rt3/share/html/autohandler line 31.
 
  context:  ...   
        277:  } 
        278:   
        279:  # All errors returned from this routine will be in exception form. 
        280:  local $SIG{'__DIE__'} = sub { 
        281:  rethrow_exception( $_[0] ); 
        282:  }; 
        283:   
        284:  # 
        285:  # $m is a dynamically scoped global containing this 
        ...   
 
  code stack:  /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm:281
  /usr/rt3/share/html/autohandler:31

raw error

Raw errror is as follows:
Not an ARRAY reference at /usr/rt3/share/html/autohandler line 31.

Trace begun at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Exceptions.pm line 121
HTML::Mason::Exceptions::rethrow_exception(‘Not an ARRAY reference at /usr/rt3/share/html/autohandler line 31.^J’) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 281
HTML::Mason::Request::ANON(‘Not an ARRAY reference at /usr/rt3/share/html/autohandler line 31.^J’) called at /usr/rt3/share/html/autohandler line 31
HTML::Mason::Commands::ANON(‘UpdateContent’, ‘-- ^M^JTed Serreyn^M^JSerreyn Network Services, LLC^M^Jhttp://www.serreyn.com/’, ‘UpdateAttach’, 1, ‘UpdateBcc’, ‘’, ‘DefaultStatus’, ‘open’, ‘UpdateCc’, ‘’, ‘Status’, ‘open’, ‘UpdateType’, ‘private’, ‘UpdateSubject’, ‘test emergency ticket creation’, ‘QuoteTransaction’, ‘’, ‘id’, 345, ‘Attach’, ‘I:\Basepolicy.PDF’, ‘Owner’, 10, ‘SubmitTicket’, ‘Submit’, ‘Action’, ‘Comment’, ‘UpdateTimeWorked’, ‘’) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Component.pm line 133
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x85f9360)’, ‘UpdateContent’, ‘-- ^M^JTed Serreyn^M^JSerreyn Network Services, LLC^M^Jhttp://www.serreyn.com/’, ‘UpdateAttach’, 1, ‘UpdateBcc’, ‘’, ‘DefaultStatus’, ‘open’, ‘UpdateCc’, ‘’, ‘Status’, ‘open’, ‘UpdateType’, ‘private’, ‘UpdateSubject’, ‘test emergency ticket creation’, ‘QuoteTransaction’, ‘’, ‘id’, 345, ‘Attach’, ‘I:\Basepolicy.PDF’, ‘Owner’, 10, ‘SubmitTicket’, ‘Submit’, ‘Action’, ‘Comment’, ‘UpdateTimeWorked’, ‘’) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1040
eval {…}(‘HTML::Mason::Component::FileBased=HASH(0x85f9360)’, ‘UpdateContent’, ‘-- ^M^JTed Serreyn^M^JSerreyn Network Services, LLC^M^Jhttp://www.serreyn.com/’, ‘UpdateAttach’, 1, ‘UpdateBcc’, ‘’, ‘DefaultStatus’, ‘open’, ‘UpdateCc’, ‘’, ‘Status’, ‘open’, ‘UpdateType’, ‘private’, ‘UpdateSubject’, ‘test emergency ticket creation’, ‘QuoteTransaction’, ‘’, ‘id’, 345, ‘Attach’, ‘I:\Basepolicy.PDF’, ‘Owner’, 10, ‘SubmitTicket’, ‘Submit’, ‘Action’, ‘Comment’, ‘UpdateTimeWorked’, ‘’) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1039
HTML::Mason::Request::comp(‘HTML::Mason::Request::ApacheHandler=HASH(0x92dd438)’, ‘HASH(0x92dd4a4)’, ‘HTML::Mason::Component::FileBased=HASH(0x85f9360)’, ‘UpdateContent’, ‘-- ^M^JTed Serreyn^M^JSerreyn Network Services, LLC^M^Jhttp://www.serreyn.com/’, ‘UpdateAttach’, 1, ‘UpdateBcc’, ‘’, ‘DefaultStatus’, ‘open’, ‘UpdateCc’, ‘’, ‘Status’, ‘open’, ‘UpdateType’, ‘private’, ‘UpdateSubject’, ‘test emergency ticket creation’, ‘QuoteTransaction’, ‘’, ‘id’, 345, ‘Attach’, ‘I:\Basepolicy.PDF’, ‘Owner’, 10, ‘SubmitTicket’, ‘Submit’, ‘Action’, ‘Comment’, ‘UpdateTimeWorked’, ‘’) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 336
eval {…}(‘HTML::Mason::Request::ApacheHandler=HASH(0x92dd438)’, ‘HASH(0x92dd4a4)’, ‘HTML::Mason::Component::FileBased=HASH(0x85f9360)’, ‘UpdateContent’, ‘-- ^M^JTed Serreyn^M^JSerreyn Network Services, LLC^M^Jhttp://www.serreyn.com/’, ‘UpdateAttach’, 1, ‘UpdateBcc’, ‘’, ‘DefaultStatus’, ‘open’, ‘UpdateCc’, ‘’, ‘Status’, ‘open’, ‘UpdateType’, ‘private’, ‘UpdateSubject’, ‘test emergency ticket creation’, ‘QuoteTransaction’, ‘’, ‘id’, 345, ‘Attach’, ‘I:\Basepolicy.PDF’, ‘Owner’, 10, ‘SubmitTicket’, ‘Submit’, ‘Action’, ‘Comment’, ‘UpdateTimeWorked’, ‘’) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 336
eval {…}(‘HTML::Mason::Request::ApacheHandler=HASH(0x92dd438)’, ‘HASH(0x92dd4a4)’, ‘HTML::Mason::Component::FileBased=HASH(0x85f9360)’, ‘UpdateContent’, ‘-- ^M^JTed Serreyn^M^JSerreyn Network Services, LLC^M^Jhttp://www.serreyn.com/’, ‘UpdateAttach’, 1, ‘UpdateBcc’, ‘’, ‘DefaultStatus’, ‘open’, ‘UpdateCc’, ‘’, ‘Status’, ‘open’, ‘UpdateType’, ‘private’, ‘UpdateSubject’, ‘test emergency ticket creation’, ‘QuoteTransaction’, ‘’, ‘id’, 345, ‘Attach’, ‘I:\Basepolicy.PDF’, ‘Owner’, 10, ‘SubmitTicket’, ‘Submit’, ‘Action’, ‘Comment’, ‘UpdateTimeWorked’, ‘’) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 296
HTML::Mason::Request::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0x92dd438)’) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 134
eval {…}(‘HTML::Mason::Request::ApacheHandler=HASH(0x92dd438)’) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 134
HTML::Mason::Request::ApacheHandler::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0x92dd438)’) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 787
HTML::Mason::ApacheHandler::handle_request(‘HTML::Mason::ApacheHandler=HASH(0x87230e4)’, ‘Apache=SCALAR(0x842bd54)’) called at /usr/rt3/bin/webmux.pl line 118
RT::Mason::handler(‘Apache=SCALAR(0x842bd54)’) called at /dev/null line 0
eval {…}(‘Apache=SCALAR(0x842bd54)’) called at /dev/null line 0

Try pre4, which should exist in about 10 minutes.On Sun, Apr 27, 2003 at 05:55:29PM -0500, Ted Serreyn wrote:

Anyone else having problems with attachments in RT3.02pre3?

I have problems attaching things via email and from the web interface. If I attach via email, I get into a nasty email loop where sendmail fails with an EX_TEMPFAIL, but the file does get attached. sendmail of course continues to try to deliver the message and I get multiple attachments. (BTW, is there an easy way to remove the duplicates?)
apache 1.3.27
perl 5.6.1
rt 3.0.2pre3 (upgraded from rt 2.0.15)
sendmail 8.11.6
system is redhat7.2 with modifications/hand installations.

If I attach from the command line, I get the following error and the file DOES NOT attach:

System error

  error:  Not an ARRAY reference at /usr/rt3/share/html/autohandler line 31.
 
  context:  ...   
        277:  } 
        278:   
        279:  # All errors returned from this routine will be in exception form. 
        280:  local $SIG{'__DIE__'} = sub { 
        281:  rethrow_exception( $_[0] ); 
        282:  }; 
        283:   
        284:  # 
        285:  # $m is a dynamically scoped global containing this 
        ...   
 
  code stack:  /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm:281
  /usr/rt3/share/html/autohandler:31

raw error

Raw errror is as follows:
Not an ARRAY reference at /usr/rt3/share/html/autohandler line 31.

Trace begun at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Exceptions.pm line 121
HTML::Mason::Exceptions::rethrow_exception(‘Not an ARRAY reference at /usr/rt3/share/html/autohandler line 31.^J’) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 281
HTML::Mason::Request::ANON(‘Not an ARRAY reference at /usr/rt3/share/html/autohandler line 31.^J’) called at /usr/rt3/share/html/autohandler line 31
HTML::Mason::Commands::ANON(‘UpdateContent’, ‘-- ^M^JTed Serreyn^M^JSerreyn Network Services, LLC^M^Jhttp://www.serreyn.com/’, ‘UpdateAttach’, 1, ‘UpdateBcc’, ‘’, ‘DefaultStatus’, ‘open’, ‘UpdateCc’, ‘’, ‘Status’, ‘open’, ‘UpdateType’, ‘private’, ‘UpdateSubject’, ‘test emergency ticket creation’, ‘QuoteTransaction’, ‘’, ‘id’, 345, ‘Attach’, ‘I:\Basepolicy.PDF’, ‘Owner’, 10, ‘SubmitTicket’, ‘Submit’, ‘Action’, ‘Comment’, ‘UpdateTimeWorked’, ‘’) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Component.pm line 133
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x85f9360)’, ‘UpdateContent’, ‘-- ^M^JTed Serreyn^M^JSerreyn Network Services, LLC^M^Jhttp://www.serreyn.com/’, ‘UpdateAttach’, 1, ‘UpdateBcc’, ‘’, ‘DefaultStatus’, ‘open’, ‘UpdateCc’, ‘’, ‘Status’, ‘open’, ‘UpdateType’, ‘private’, ‘UpdateSubject’, ‘test emergency ticket creation’, ‘QuoteTransaction’, ‘’, ‘id’, 345, ‘Attach’, ‘I:\Basepolicy.PDF’, ‘Owner’, 10, ‘SubmitTicket’, ‘Submit’, ‘Action’, ‘Comment’, ‘UpdateTimeWorked’, ‘’) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1040
eval {…}(‘HTML::Mason::Component::FileBased=HASH(0x85f9360)’, ‘UpdateContent’, ‘-- ^M^JTed Serreyn^M^JSerreyn Network Services, LLC^M^Jhttp://www.serreyn.com/’, ‘UpdateAttach’, 1, ‘UpdateBcc’, ‘’, ‘DefaultStatus’, ‘open’, ‘UpdateCc’, ‘’, ‘Status’, ‘open’, ‘UpdateType’, ‘private’, ‘UpdateSubject’, ‘test emergency ticket creation’, ‘QuoteTransaction’, ‘’, ‘id’, 345, ‘Attach’, ‘I:\Basepolicy.PDF’, ‘Owner’, 10, ‘SubmitTicket’, ‘Submit’, ‘Action’, ‘Comment’, ‘UpdateTimeWorked’, ‘’) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1039
HTML::Mason::Request::comp(‘HTML::Mason::Request::ApacheHandler=HASH(0x92dd438)’, ‘HASH(0x92dd4a4)’, ‘HTML::Mason::Component::FileBased=HASH(0x85f9360)’, ‘UpdateContent’, ‘-- ^M^JTed Serreyn^M^JSerreyn Network Services, LLC^M^Jhttp://www.serreyn.com/’, ‘UpdateAttach’, 1, ‘UpdateBcc’, ‘’, ‘DefaultStatus’, ‘open’, ‘UpdateCc’, ‘’, ‘Status’, ‘open’, ‘UpdateType’, ‘private’, ‘UpdateSubject’, ‘test emergency ticket creation’, ‘QuoteTransaction’, ‘’, ‘id’, 345, ‘Attach’, ‘I:\Basepolicy.PDF’, ‘Owner’, 10, ‘SubmitTicket’, ‘Submit’, ‘Action’, ‘Comment’, ‘UpdateTimeWorked’, ‘’) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 336
eval {…}(‘HTML::Mason::Request::ApacheHandler=HASH(0x92dd438)’, ‘HASH(0x92dd4a4)’, ‘HTML::Mason::Component::FileBased=HASH(0x85f9360)’, ‘UpdateContent’, ‘-- ^M^JTed Serreyn^M^JSerreyn Network Services, LLC^M^Jhttp://www.serreyn.com/’, ‘UpdateAttach’, 1, ‘UpdateBcc’, ‘’, ‘DefaultStatus’, ‘open’, ‘UpdateCc’, ‘’, ‘Status’, ‘open’, ‘UpdateType’, ‘private’, ‘UpdateSubject’, ‘test emergency ticket creation’, ‘QuoteTransaction’, ‘’, ‘id’, 345, ‘Attach’, ‘I:\Basepolicy.PDF’, ‘Owner’, 10, ‘SubmitTicket’, ‘Submit’, ‘Action’, ‘Comment’, ‘UpdateTimeWorked’, ‘’) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 336
eval {…}(‘HTML::Mason::Request::ApacheHandler=HASH(0x92dd438)’, ‘HASH(0x92dd4a4)’, ‘HTML::Mason::Component::FileBased=HASH(0x85f9360)’, ‘UpdateContent’, ‘-- ^M^JTed Serreyn^M^JSerreyn Network Services, LLC^M^Jhttp://www.serreyn.com/’, ‘UpdateAttach’, 1, ‘UpdateBcc’, ‘’, ‘DefaultStatus’, ‘open’, ‘UpdateCc’, ‘’, ‘Status’, ‘open’, ‘UpdateType’, ‘private’, ‘UpdateSubject’, ‘test emergency ticket creation’, ‘QuoteTransaction’, ‘’, ‘id’, 345, ‘Attach’, ‘I:\Basepolicy.PDF’, ‘Owner’, 10, ‘SubmitTicket’, ‘Submit’, ‘Action’, ‘Comment’, ‘UpdateTimeWorked’, ‘’) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 296
HTML::Mason::Request::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0x92dd438)’) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 134
eval {…}(‘HTML::Mason::Request::ApacheHandler=HASH(0x92dd438)’) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 134
HTML::Mason::Request::ApacheHandler::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0x92dd438)’) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 787
HTML::Mason::ApacheHandler::handle_request(‘HTML::Mason::ApacheHandler=HASH(0x87230e4)’, ‘Apache=SCALAR(0x842bd54)’) called at /usr/rt3/bin/webmux.pl line 118
RT::Mason::handler(‘Apache=SCALAR(0x842bd54)’) called at /dev/null line 0
eval {…}(‘Apache=SCALAR(0x842bd54)’) called at /dev/null line 0
http://www.bestpractical.com/rt – Trouble Ticketing. Free.

-pre4 seems to have fixed the direct attachments via the web interface,
but the email thing still sits in the queue with EX_TEMPFAIL, of course
I am getting plenty of attachments as sendmail continues to try to
process an email that has already been processed by rt correctly (the
attachment is attached to the case).

TedOn Sun, 2003-04-27 at 17:55, Ted Serreyn wrote:

Anyone else having problems with attachments in RT3.02pre3?

I have problems attaching things via email and from the web
interface. If I attach via email, I get into a nasty email loop where
sendmail fails with an EX_TEMPFAIL, but the file does get attached.
sendmail of course continues to try to deliver the message and I get
multiple attachments. (BTW, is there an easy way to remove the
duplicates?)
apache 1.3.27
perl 5.6.1
rt 3.0.2pre3 (upgraded from rt 2.0.15)
sendmail 8.11.6
system is redhat7.2 with modifications/hand installations.

Ted Serreyn
Serreyn Network Services, LLC
http://www.serreyn.com/

Going back thru mailing list and double checking things, I realized that
the rt3 database was still running with isam. This has been corrected
and my problem seems to have gone away.

Jesse, you may wish to put an item in the readme regarding this as I
went thru it three times and never switched my indexes.

TedOn Sun, 2003-04-27 at 21:35, Ted Serreyn wrote:

-pre4 seems to have fixed the direct attachments via the web interface,
but the email thing still sits in the queue with EX_TEMPFAIL, of course
I am getting plenty of attachments as sendmail continues to try to
process an email that has already been processed by rt correctly (the
attachment is attached to the case).

Ted

Ted Serreyn
Serreyn Network Services, LLC
http://www.serreyn.com/

I switched from RT 3.0.2pre3 to 3.0.2pre4 this morning. Adding an
attachment through “Comment” works now, however adding an attachment
through “Jumbo” doesn’t seem to work. I don’t get any error messages so
I can’t tell where things go wrong.
Has anybody else experienced this?

regards,

Alex Fung A Foek.