IO Error when adding attachments

I did a search on the archives for this error but the few instances I found had no responses to the users’ inquiries. Perhaps someone can shed some light on it.

A user was adding two attachments to a correspondence via the web interface when the following popped up:

System error
error: read-open /tmp/8NSuxt68WB: No such file or directory at /usr/lib/perl5/site_perl/5.8.8/MIME/Body.pm line 435.
context:

431: if ($mode eq ‘w’) { ### writing
432: $IO = FileHandle->new(">$path") || die “write-open $path: $!”;
433: }
434: elsif ($mode eq ‘r’) { ### reading
435: $IO = FileHandle->new("<$path") || die “read-open $path: $!”;
436: }
437: else {
438: die “bad mode: ‘$mode’”;
439: }

code stack: /usr/lib/perl5/site_perl/5.8.8/MIME/Body.pm:435
/usr/lib/perl5/site_perl/5.8.8/MIME/Body.pm:335
/usr/lib/perl5/site_perl/5.8.8/MIME/Body.pm:218
/usr/local/rt3/lib/RT/Attachment_Overlay.pm:204
/usr/local/rt3/lib/RT/Attachment_Overlay.pm:189
/usr/local/rt3/lib/RT/Attachment_Overlay.pm:189
/usr/local/rt3/lib/RT/Transaction_Overlay.pm:487
/usr/local/rt3/lib/RT/Transaction_Overlay.pm:158
/usr/local/rt3/lib/RT/Record.pm:1461
/usr/local/rt3/lib/RT/Ticket_Overlay.pm:2444
/usr/local/rt3/lib/RT/Ticket_Overlay.pm:2357
/usr/local/rt3/lib/RT/Interface/Web.pm:585
/usr/local/rt3/share/html/Ticket/Display.html:144
/usr/local/rt3/local/html/Ticket/Update.html:220
/usr/local/rt3/share/html/autohandler:291

It only happens occasionally and there are not entries in the log file indicating any errors. Has anyone who has experienced this been able to figure out the cause?

-Mathew
Keep up with my goings on at http://feeds.feedburner.com/theillien_atom

What version of RT are you running? I believe this to be fixed in 3.8On Tue, Dec 09, 2008 at 03:22:26PM -0500, Mathew wrote:

I did a search on the archives for this error but the few instances I found had no responses to the users’ inquiries. Perhaps someone can shed some light on it.

A user was adding two attachments to a correspondence via the web interface when the following popped up:

System error
error: read-open /tmp/8NSuxt68WB: No such file or directory at /usr/lib/perl5/site_perl/5.8.8/MIME/Body.pm line 435.
context:

431: if ($mode eq ‘w’) { ### writing
432: $IO = FileHandle->new(">$path") || die “write-open $path: $!”;
433: }
434: elsif ($mode eq ‘r’) { ### reading
435: $IO = FileHandle->new("<$path") || die “read-open $path: $!”;
436: }
437: else {
438: die “bad mode: ‘$mode’”;
439: }

code stack: /usr/lib/perl5/site_perl/5.8.8/MIME/Body.pm:435
/usr/lib/perl5/site_perl/5.8.8/MIME/Body.pm:335
/usr/lib/perl5/site_perl/5.8.8/MIME/Body.pm:218
/usr/local/rt3/lib/RT/Attachment_Overlay.pm:204
/usr/local/rt3/lib/RT/Attachment_Overlay.pm:189
/usr/local/rt3/lib/RT/Attachment_Overlay.pm:189
/usr/local/rt3/lib/RT/Transaction_Overlay.pm:487
/usr/local/rt3/lib/RT/Transaction_Overlay.pm:158
/usr/local/rt3/lib/RT/Record.pm:1461
/usr/local/rt3/lib/RT/Ticket_Overlay.pm:2444
/usr/local/rt3/lib/RT/Ticket_Overlay.pm:2357
/usr/local/rt3/lib/RT/Interface/Web.pm:585
/usr/local/rt3/share/html/Ticket/Display.html:144
/usr/local/rt3/local/html/Ticket/Update.html:220
/usr/local/rt3/share/html/autohandler:291

It only happens occasionally and there are not entries in the log file indicating any errors. Has anyone who has experienced this been able to figure out the cause?

-Mathew

Keep up with my goings on at http://feeds.feedburner.com/theillien_atom


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

3.6.5. Sorry, should have added that previously. If it is not something that can be avoided in this version all I would require is an explanation about its cause to pass on to my users.

-Mathew

Jesse Vincent wrote:

What version of RT are you running? I believe this to be fixed in 3.8

I did a search on the archives for this error but the few instances I found had no responses to the users’ inquiries. Perhaps someone can shed some light on it.

A user was adding two attachments to a correspondence via the web interface when the following popped up:

System error
error: read-open /tmp/8NSuxt68WB: No such file or directory at /usr/lib/perl5/site_perl/5.8.8/MIME/Body.pm line 435.
context:

431: if ($mode eq ‘w’) { ### writing
432: $IO = FileHandle->new(">$path") || die “write-open $path: $!”;
433: }
434: elsif ($mode eq ‘r’) { ### reading
435: $IO = FileHandle->new("<$path") || die “read-open $path: $!”;
436: }
437: else {
438: die “bad mode: ‘$mode’”;
439: }

code stack: /usr/lib/perl5/site_perl/5.8.8/MIME/Body.pm:435
/usr/lib/perl5/site_perl/5.8.8/MIME/Body.pm:335
/usr/lib/perl5/site_perl/5.8.8/MIME/Body.pm:218
/usr/local/rt3/lib/RT/Attachment_Overlay.pm:204
/usr/local/rt3/lib/RT/Attachment_Overlay.pm:189
/usr/local/rt3/lib/RT/Attachment_Overlay.pm:189
/usr/local/rt3/lib/RT/Transaction_Overlay.pm:487
/usr/local/rt3/lib/RT/Transaction_Overlay.pm:158
/usr/local/rt3/lib/RT/Record.pm:1461
/usr/local/rt3/lib/RT/Ticket_Overlay.pm:2444
/usr/local/rt3/lib/RT/Ticket_Overlay.pm:2357
/usr/local/rt3/lib/RT/Interface/Web.pm:585
/usr/local/rt3/share/html/Ticket/Display.html:144
/usr/local/rt3/local/html/Ticket/Update.html:220
/usr/local/rt3/share/html/autohandler:291

It only happens occasionally and there are not entries in the log file indicating any errors. Has anyone who has experienced this been able to figure out the cause?

-Mathew

Keep up with my goings on at http://feeds.feedburner.com/theillien_atom


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Keep up with my goings on at http://feeds.feedburner.com/theillien_atom