Corrupt attachments

Hello.

I’m a new RT user and also new to the list.

We are currently trying out RT 3.0.3 and we like it so far, but the only
problem we are having is that all of our attachments are getting
corrupted.

Also, the size of the file as reported by RT is always somewhat larger
than the original file.

Does anyone know of the cause of or solution to this issue? Currently
this is the only thing holding us back from adopting RT as our ticketing
system.

Thank you.

Shawn

Can you verify that you have the same problem with attachments created
using RT 3.0.4. (We’ve fixed attachment bugs in the latest release).
If you’re running perl 5.6, we also strongly recommend you upgrade to
perl 5.8.0 or newer, as a number of unicode bugs in 5.6 play havoc with
text attachments.On Thu, Jul 24, 2003 at 03:40:53PM -0500, Shawn Carver wrote:

Hello.

I’m a new RT user and also new to the list.

We are currently trying out RT 3.0.3 and we like it so far, but the only
problem we are having is that all of our attachments are getting
corrupted.

Also, the size of the file as reported by RT is always somewhat larger
than the original file.

Does anyone know of the cause of or solution to this issue? Currently
this is the only thing holding us back from adopting RT as our ticketing
system.

Thank you.

Shawn


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Request Tracker... So much more than a help desk — Best Practical Solutions – Trouble Ticketing. Free.

Thanks for the prompt reply, Jessie.

We’ll try what you suggested and get back to you on what we find out.

ShawnOn Thu, 2003-07-24 at 15:53, Jesse Vincent wrote:

Can you verify that you have the same problem with attachments created
using RT 3.0.4. (We’ve fixed attachment bugs in the latest release).
If you’re running perl 5.6, we also strongly recommend you upgrade to
perl 5.8.0 or newer, as a number of unicode bugs in 5.6 play havoc with
text attachments.

On Thu, Jul 24, 2003 at 03:40:53PM -0500, Shawn Carver wrote:

Hello.

I’m a new RT user and also new to the list.

We are currently trying out RT 3.0.3 and we like it so far, but the only
problem we are having is that all of our attachments are getting
corrupted.

Also, the size of the file as reported by RT is always somewhat larger
than the original file.

Does anyone know of the cause of or solution to this issue? Currently
this is the only thing holding us back from adopting RT as our ticketing
system.

Thank you.

Shawn


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Jesse,

We already had perl 5.8.0 installed, so we tried to upgrade to 3.0.4
using ‘make upgrade’ as per the instructions.

Now we are getting an error when we try to access the web page. Is this
simply a permissions issue, or something more serious?

Here is the text of the error:

System error

error: mkdir /opt/rt3/var/mason_data/obj: Permission denied at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Compiler/ToObject.pm line 102

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/5.8.0/File/Path.pm:150
/usr/lib/perl5/5.8.0/File/Path.pm:143
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Compiler/ToObject.pm:102
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:322
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:199
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:166
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:60
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:265
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:343
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:231
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:862
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:789
/opt/rt3/bin/webmux.pl:118
/dev/null:0

raw errorOn Thu, 2003-07-24 at 15:53, Jesse Vincent wrote:

Can you verify that you have the same problem with attachments created
using RT 3.0.4. (We’ve fixed attachment bugs in the latest release).
If you’re running perl 5.6, we also strongly recommend you upgrade to
perl 5.8.0 or newer, as a number of unicode bugs in 5.6 play havoc with
text attachments.

On Thu, Jul 24, 2003 at 03:40:53PM -0500, Shawn Carver wrote:

Hello.

I’m a new RT user and also new to the list.

We are currently trying out RT 3.0.3 and we like it so far, but the only
problem we are having is that all of our attachments are getting
corrupted.

Also, the size of the file as reported by RT is always somewhat larger
than the original file.

Does anyone know of the cause of or solution to this issue? Currently
this is the only thing holding us back from adopting RT as our ticketing
system.

Thank you.

Shawn


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Jesse,

We already had perl 5.8.0 installed, so we tried to upgrade to 3.0.4
using ‘make upgrade’ as per the instructions.

Now we are getting an error when we try to access the web page. Is this
simply a permissions issue, or something more serious?

That appears to be simply a permissions issue.

Request Tracker... So much more than a help desk — Best Practical Solutions – Trouble Ticketing. Free.

OK, we figured out what was causing the error. Apache was running under
the nobody account instead of apache.

And I’m happy to say that the upgrade to 3.0.4 resolved our attachment
issue!

Thank you for your help!

-ShawnOn Fri, 2003-07-25 at 09:20, Shawn Carver wrote:

Jesse,

We already had perl 5.8.0 installed, so we tried to upgrade to 3.0.4
using ‘make upgrade’ as per the instructions.

Now we are getting an error when we try to access the web page. Is this
simply a permissions issue, or something more serious?

Here is the text of the error:

System error

error: mkdir /opt/rt3/var/mason_data/obj: Permission denied at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Compiler/ToObject.pm line 102

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/5.8.0/File/Path.pm:150
/usr/lib/perl5/5.8.0/File/Path.pm:143
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Compiler/ToObject.pm:102
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:322
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:199
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:166
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:60
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:265
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:343
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:231
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:862
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:789
/opt/rt3/bin/webmux.pl:118
/dev/null:0

raw error

On Thu, 2003-07-24 at 15:53, Jesse Vincent wrote:

Can you verify that you have the same problem with attachments created
using RT 3.0.4. (We’ve fixed attachment bugs in the latest release).
If you’re running perl 5.6, we also strongly recommend you upgrade to
perl 5.8.0 or newer, as a number of unicode bugs in 5.6 play havoc with
text attachments.

On Thu, Jul 24, 2003 at 03:40:53PM -0500, Shawn Carver wrote:

Hello.

I’m a new RT user and also new to the list.

We are currently trying out RT 3.0.3 and we like it so far, but the only
problem we are having is that all of our attachments are getting
corrupted.

Also, the size of the file as reported by RT is always somewhat larger
than the original file.

Does anyone know of the cause of or solution to this issue? Currently
this is the only thing holding us back from adopting RT as our ticketing
system.

Thank you.

Shawn


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Folks - we are running 4.0.1 RT and 5.8.8 red hat perl. Larger attachments are getting corrupted when they are sent out. And from time to time we get .docx files that are label as .xml and come through burst into sub dirs. Has anyone else come across this problem?

Thanks

Barbara Jennings
Sandia National Laboratories - Albuquerque
Organization 6924 - Policy and Decision Analytics
(505)845-8554
bjjenni@sandia.gov

The .docx/.xml thing is related to apache’s MIME-Type settings. You
essentially have to add all the microsoft 2007/10 extensions.

It’s something to do with .docx files being zipped xml files or something
like that… I don’t recall the details, but Google will help you.

Mike.On Wed, May 2, 2012 at 5:26 PM, Jennings, Barbara bjjenni@sandia.govwrote:

Folks – we are running 4.0.1 RT and 5.8.8 red hat perl. Larger
attachments are getting corrupted when they are sent out. And from time to
time we get .docx files that are label as .xml and come through burst into
sub dirs. Has anyone else come across this problem?

Thanks

Barbara Jennings
Sandia National Laboratories - Albuquerque
Organization 6924 - Policy and Decision Analytics
(505)845-8554
bjjenni@sandia.gov

Mike Johnson
Datatel Programmer/Analyst
Northern Ontario School of Medicine
955 Oliver Road
Thunder Bay, ON P7B 5E1
Phone: (807) 766-7331
Email: mike.johnson@nosm.ca