[rt-users] QuotedPrint.pm errors

Jesse Vincent jesse at bestpractical.com
Mon Nov 29 16:38:40 EST 2004


I've heard another report of this with MIME::Tools 5.415. Dropping down
to 5.411 will fix this issue.  Can you send me an original message that
it fails to parse? I haven't been able to get my hands on a failing
testcase.


	Jesse


On Mon, Nov 29, 2004 at 02:31:02PM -0700, James McTavish wrote:
> I've been searching high and low for a couple of days and I'm stumped.
> RT will accept some mails, however it will completely reject others.
> I'm assuming it has to do with html emails because when it fails, it
> gives me the error at the end of this post.
> 
> Some information that might be of use:
> 
> RT version 3.2.1
> Perl 5.8.4
> MIME-tools 5.415
> 
> I did have it working before, but it was with the 6.200_02 release, and
> I've had to go back to 5.415 because of the requirements of a different
> program I also need to work.  The only thing I can think of is that RT
> 3.2.1 doesn't like MIME-tools 5.415.  If someone could confirm or deny
> this and nudge me in the right direction I would be most appreciative.
> 
> --
> -James
>                                                                                
> Error from the RT:
>                                      System error
> 
>    error:  Can't locate object method "init" via package
>    "MIME::Decoder::QuotedPrint"
> at /usr/lib/perl5/vendor_perl/5.8.4/MIME/Decoder.pm
>    line 179.
>    context:
>    ...
>    175:  unless (eval "require '$concrete_path';") {
>    176:  return undef;
>    177:  }
>    178:  bless $self, $concrete_name;
>    179:  $self->init(@args);
>    180:  }
>    181:
>    182:  #------------------------------
>    183:
>    ...
>    code stack:  /usr/lib/perl5/vendor_perl/5.8.4/MIME/Decoder.pm:179
>    /usr/lib/perl5/vendor_perl/5.8.4/MIME/Parser.pm:795
>    /usr/lib/perl5/vendor_perl/5.8.4/MIME/Parser.pm:1049
>    /usr/lib/perl5/vendor_perl/5.8.4/MIME/Parser.pm:714
>    /usr/lib/perl5/vendor_perl/5.8.4/MIME/Parser.pm:1038
>    /usr/lib/perl5/vendor_perl/5.8.4/MIME/Parser.pm:1143
>    /usr/lib/perl5/vendor_perl/5.8.4/MIME/Parser.pm:1115
>    /usr/lib/RT/EmailParser.pm:280
>    /usr/lib/RT/EmailParser.pm:229
>    /usr/lib/RT/EmailParser.pm:198
>    /usr/lib/RT/Interface/Email.pm:420
>    /var/www/localhost/htdocs/rt/REST/1.0/NoAuth/mail-gateway:31
> 
>    raw error
> Can't locate object method "init" via package "MIME::Decoder::
> QuotedPrint" at /usr/lib/pe
> rl5/vendor_perl/5.8.4/MIME/Decoder.pm line 179.
> 
> 
> Trace begun at /usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/Exceptions.pm
> line 131
> HTML::Mason::Exceptions::rethrow_exception('Can\'t locate object method
> "init" via packag
> e "MIME::Decoder::QuotedPrint"
> at /usr/lib/perl5/vendor_perl/5.8.4/MIME/Decoder.pm line 1
> 79.^J') called at /usr/lib/perl5/vendor_perl/5.8.4/MIME/Decoder.pm line
> 179
> MIME::Decoder::new('MIME::Decoder', 'quoted-printable') called
> at /usr/lib/perl5/vendor_p
> erl/5.8.4/MIME/Parser.pm line 795
> MIME::Parser::process_singlepart('MIME::Parser=HASH(0x968f240)', 'IO::
> Scalar=GLOB(0x968f2
> 88)', 'MIME::Parser::Reader=HASH(0x9763984)', 'MIME::
> Entity=HASH(0x9791900)') called at /
> usr/lib/perl5/vendor_perl/5.8.4/MIME/Parser.pm line 1049
> MIME::Parser::process_part('MIME::Parser=HASH(0x968f240)', 'IO::
> Scalar=GLOB(0x968f288)',
> 'MIME::Parser::Reader=HASH(0x9763984)', 'Retype', '') called
> at /usr/lib/perl5/vendor_per
> l/5.8.4/MIME/Parser.pm line 714
> MIME::Parser::process_multipart('MIME::Parser=HASH(0x968f240)', 'IO::
> Scalar=GLOB(0x968f28
> 8)', 'MIME::Parser::Reader=HASH(0x970c7bc)', 'MIME::
> Entity=HASH(0x96870c4)') called at /u
> sr/lib/perl5/vendor_perl/5.8.4/MIME/Parser.pm line 1038
> MIME::Parser::process_part('MIME::Parser=HASH(0x968f240)', 'IO::
> Scalar=GLOB(0x968f288)',
> undef) called at /usr/lib/perl5/vendor_perl/5.8.4/MIME/Parser.pm line
> 1143
> MIME::Parser::parse('MIME::Parser=HASH(0x968f240)', 'IO::
> Scalar=GLOB(0x968f288)') called
> at /usr/lib/perl5/vendor_perl/5.8.4/MIME/Parser.pm line 1115
> MIME::Parser::parse_data('MIME::Parser=HASH(0x968f240)', ......
> 
> 



> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Be sure to check out the RT wiki at http://wiki.bestpractical.com

-- 



More information about the rt-users mailing list