[rt-users] Attachments truncated

Brian Gallew geek+rt at cmu.edu
Thu Nov 23 01:56:07 EST 2006


I'm having an issue where RT is completely unable to store binary
attachments (images, PDFs, programs).  While this may be a good thing
from an anti-virus POV, it's kind of annoying when we want to attach
relevant information.  What we're seeing is that RT is storing
everything up to the first NULL.  It does this both for the web UI as
well as the email UI.  Any suggestions?  I've attached my configuration
information.



  System Configuration

    * System Configuration </Admin/Tools/Configuration.html>
    * · Shredder </Admin/Tools/Shredder>


    Loaded perl modules

Perl v5.8.5 under linux
  Apache v1.27;
  Apache::Connection v1.00;
  Apache::Constants v1.09;
  Apache::Request v1.33;
  Apache::Server v1.01;
  Apache::Session v1.81;
  Apache::Session::Generate::MD5 v2.1;
  Apache::Session::Lock::MySQL v1.00;
  Apache::Session::MySQL v1.01;
  Apache::Session::Serialize::Storable v1.00;
  Apache::Session::Store::DBI v1.02;
  Apache::Session::Store::MySQL v1.04;
  Apache::Status v2.03;
  Apache::Table v0.01;
  AutoLoader v5.60;
  B v1.02;
  base v2.06;
  Benchmark v1.06;
  bytes v1.01;
  Cache::Simple::TimedExpiry v0.23;
  Carp v1.03;
  CGI v3.20;
  CGI::Cookie v1.27;
  CGI::Util v1.5;
  Class::Container v0.11;
  Class::Data::Inheritable v0.02;
  Class::ReturnValue v0.53;
  Clone v0.20;
  constant v1.04;
  Cwd v3.19;
  Data::Dumper v2.121;
  Date::Format v2.22;
  Date::Parse v2.27;
  DBD::mysql v3.0006;
  DBI v1.51;
  DBIx::SearchBuilder v1.43;
  DBIx::SearchBuilder::Union v0;
  DBIx::SearchBuilder::Unique v0.01;
  Devel::StackTrace v1.13;
  Devel::StackTraceFrame v0.6;
  Digest::base v1.00;
  Digest::MD5 v2.36;
  DynaLoader v1.05;
  Encode v2.01;
  Encode::Alias v2.00;
  Encode::CN v2.00;
  Encode::CN::HZ v2.01;
  Encode::Config v2.00;
  Encode::Encoding v2.00;
  Encode::Guess v2.00;
  Encode::Unicode v2.00;
  Errno v1.09;
  Exception::Class v1.23;
  Exception::Class::Base v1.2;
  Exporter v5.58;
  Exporter::Heavy v5.58;
  Fcntl v1.05;
  File::Basename v2.73;
  File::Glob v1.03;
  File::Path v1.06;
  File::Spec v3.19;
  File::Spec::Unix v1.5;
  File::Temp v0.16;
  FileHandle v2.01;
  HTML::Element v3.16;
  HTML::Entities v1.35;
  HTML::Formatter v2.04;
  HTML::FormatText v2.04;
  HTML::Mason v1.33;
  HTML::Mason::ApacheHandler v1.69;
  HTML::Mason::Exception v1.1;
  HTML::Mason::Exception::Abort v1.1;
  HTML::Mason::Exception::Compilation v1.1;
  HTML::Mason::Exception::Compilation::IncompatibleCompiler v1.1;
  HTML::Mason::Exception::Compiler v1.1;
  HTML::Mason::Exception::Decline v1.1;
  HTML::Mason::Exception::Params v1.1;
  HTML::Mason::Exception::Syntax v1.1;
  HTML::Mason::Exception::System v1.1;
  HTML::Mason::Exception::TopLevelNotFound v1.1;
  HTML::Mason::Exception::VirtualMethod v1.1;
  HTML::Mason::Exceptions v1.43;
  HTML::Parser v3.55;
  HTML::Scrubber v0.08;
  HTML::Tagset v3.03;
  HTML::TreeBuilder v3.13;
  HTTP::Date v1.47;
  I18N::LangTags v0.33;
  I18N::LangTags::Detect v1.03;
  integer v1.00;
  IO v1.21;
  IO::File v1.10;
  IO::Handle v1.24;
  IO::InnerFile v2.102 ;
  IO::Lines v2.103 ;
  IO::Scalar v2.105 ;
  IO::ScalarArray v2.103 ;
  IO::Seekable v1.09;
  IO::Wrap v2.102 ;
  IO::WrapTie v2.102 ;
  IPC::Open2 v1.01;
  IPC::Open3 v1.0106;
  lib v0.5565;
  List::Util v1.18;
  Locale::Maketext v1.10;
  Locale::Maketext::Fuzzy v0.02;
  Locale::Maketext::Lexicon v0.62;
  Locale::Maketext::Lexicon::Gettext v0.15;
  Log::Dispatch v2.11;
  Log::Dispatch::Base v1.09;
  Log::Dispatch::Output v1.26;
  Log::Dispatch::Screen v1.17;
  Log::Dispatch::Syslog v1.18;
  Mail::Address v1.74;
  Mail::Field v1.74;
  Mail::Field::AddrList v1.74;
  Mail::Field::Date v1.74;
  Mail::Header v1.74;
  Mail::Internet v1.74;
  MIME::Base64 v3.05;
  MIME::Body v5.420;
  MIME::Decoder v5.420;
  MIME::Decoder::Base64 v5.420;
  MIME::Decoder::NBit v5.420;
  MIME::Decoder::QuotedPrint v5.420;
  MIME::Entity v5.420;
  MIME::Field::ContDisp v5.420;
  MIME::Field::ConTraEnc v5.420;
  MIME::Field::ContType v5.420;
  MIME::Field::ParamVal v5.420;
  MIME::Head v5.420;
  MIME::Parser v5.420;
  MIME::QuotedPrint v3.03;
  MIME::Tools v5.420;
  MIME::Words v5.420;
  mod_perl v1.29;
  Module::Versions::Report v1.02;
  overload v1.01;
  Params::Validate v0.85;
  POSIX v1.08;
  re v0.04;
  Regexp::Common v2.120;
  Regexp::Common::delimited v2.104;
  RT v3.6.1;
  RT::Interface::Email v2;
  Scalar::Util v1.18;
  SelectSaver v1.00;
  Socket v1.77;
  Storable v2.15;
  strict v1.03;
  Symbol v1.05;
  Sys::Hostname v1.11;
  Sys::Syslog v0.05;
  Text::Autoformat v1.13;
  Text::Quoted v1.8;
  Text::Reform v1.11;
  Text::Tabs v98.112801;
  Text::Template v1.44;
  Text::Wrapper v1.000;
  Time::HiRes v1.87;
  Time::JulianDay v2003.1125;
  Time::Local v1.1;
  Time::ParseDate v2003.1126;
  Time::Timezone v2003.0211;
  Time::Zone v2.22;
  Tree::Simple v1.16;
  UNIVERSAL v1.01;
  UNIVERSAL::require v0.10;
  URI v1.34;
  URI::Escape v3.26;
  utf8 v1.04;
  vars v1.01;
  warnings v1.03;
  warnings::register v1.00;
  XSLoader v0.02;




    RT Variables

RT::AmbiguousDayInPast 	1
RT::BasePath 	/home/rt
RT::BinPath 	/home/rt/bin
RT::CORE_CONFIG_FILE 	/home/rt/etc/RT_Config.pm
RT::CommentAddress 	rt-helpcenter-comment
RT::CorrespondAddress 	rt-helpcenter
RT::DatabaseHost 	mysql.qatar.cmu.edu
RT::DatabaseName 	rt_production
RT::DatabasePassword 	/Password not printed/
RT::DatabaseRTHost 	mysql.qatar.cmu.edu
RT::DatabaseType 	mysql
RT::DatabaseUser 	rt_user
RT::DateDayBeforeMonth 	1
RT::DefaultSearchResultFormat 	'<B><A
HREF="/Ticket/Display.html?id=__id__">__id__</a></B>/TITLE:#', '<B><A
HREF="/Ticket/Display.html?id=__id__">__Subject__</a></B>/TITLE:Subject',
Status, QueueName, OwnerName, Priority, '__NEWLINE__', '',
'<small>__Requestors__</small>', '<small>__CreatedRelative__</small>',
'<small>__ToldRelative__</small>',
'<small>__LastUpdatedRelative__</small>', '<small>__TimeLeft__</small>'
RT::DefaultSummaryRows 	10
RT::EmailOutputEncoding 	utf-8
RT::EtcPath 	/home/rt/etc
RT::FriendlyFromLineFormat 	"%s via RT" <%s>
RT::FriendlyToLineFormat 	"%s of rt.qatar.cmu.edu Ticket #%s":;
RT::LocalEtcPath 	/home/rt/local/etc
RT::LocalLexiconPath 	/home/rt/local/po
RT::LocalPath 	/home/rt/local
RT::LogDir 	/home/rt/var/log
RT::LogToFileNamed 	rt.log
RT::LogToScreen 	error
RT::LogToSyslog 	debug
RT::LogoURL 	/NoAuth/images/bplogo.gif
RT::LoopsToRTOwner 	1
RT::MailCommand 	sendmailpipe
RT::MasonComponentRoot 	/home/rt/share/html
RT::MasonDataDir 	/home/rt/var/mason_data
RT::MasonLocalComponentRoot 	/home/rt/local/html
RT::MasonSessionDir 	/home/rt/var/session_data
RT::MaxAttachmentSize 	10000000
RT::MaxInlineBody 	13456
RT::MessageBoxWidth 	72
RT::MessageBoxWrap 	HARD
RT::MinimumPasswordLength 	5
RT::OldestTransactionsFirst 	1
RT::Organization 	qatar.cmu.edu
RT::OwnerEmail 	root
RT::RTAddressRegexp 	^.*\@rt.qatar.cmu.edu$
RT::RecordOutgoingEmail 	1
RT::RedistributeAutoGeneratedMessages 	privileged
RT::SITE_CONFIG_FILE 	/home/rt/etc/RT_SiteConfig.pm
RT::SendmailArguments 	-oi -t
RT::SendmailBounceArguments 	-f "<>"
RT::SendmailPath 	/usr/sbin/sendmail
RT::ShowTransactionImages 	1
RT::StrictLinkACL 	1
RT::Timezone 	Asia/Qatar
RT::UseFriendlyFromLine 	1
RT::VERSION 	3.6.1
RT::VarPath 	/home/rt/var
RT::WebBaseURL 	https://rt.qatar.cmu.edu
RT::WebDefaultStylesheet 	3.5-default
RT::WebExternalAuth 	1
RT::WebFlushDbCacheEveryRequest 	1
RT::WebImagesURL 	/NoAuth/images/
RT::WebPort 	80
RT::WebURL 	https://rt.qatar.cmu.edu/
RT::WikiImplicitLinks 	1
RT::rtname 	rt.qatar.cmu.edu


    Perl configuration

Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
  Platform:
    osname=linux, osvers=2.4.24, archname=i686-linux
    uname='linux stats1.qatar.cmu.edu 2.4.24 #5 smp-i686+-mp (024) sun 
mar 7 17:07:58 est 2004 i686 i686 i386 gnulinux '
    config_args='-D prefix=/home/rt/perl-5.8.5 -d'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-fno-strict-aliasing -pipe'
    ccversion='', gccversion='3.2 20020903 (Red Hat Linux 8.0 3.2-7)', 
gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib//lib/libc-2.3.2.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.3.2'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'



Time to display: 0.476083

»|« RT 3.6.1 Copyright 1996-2006 Best Practical Solutions, LLC
<http://www.bestpractical.com?rt=3.6.1>.







More information about the rt-users mailing list