Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Mail::IMAPClient::BodyStructure tests fail

Reply
Thread Tools

Mail::IMAPClient::BodyStructure tests fail

 
 
Francesc Guasch
Guest
Posts: n/a
 
      08-27-2003
Hi. I'm using the module Mail::IMAPClient. It works nice but I'm
having some problems installing it in another server. It has an
optional module called Mail::IMAPClient::BodyStructure. If it notices
there is Parse::RecDescent installed it tries to run the tests and
fails.

I'm trying to debug it but I've never used Parse::RecDescent and I
need some help.

This is how it fails:

t/bodystructure....NOK 2Can't call method "bodytype" on an undefined
value at t/bodystructure.t line 21.

this is the call to the Parser. I'm reading the Parse::RecDescent docs
and I see I can se debug messages setting this vars:

$::RD_ERRORS , $::RD_WARN and $::RD_HINT

I'm trying to set this in the .t file but I see no new messages.
I tried:
$::RD_WARN = 1;
$::RD_ERRORS = 1;
$::RD_HINT= 1;

also:

$Parse::RecDescent::RD_WARN = 1;
$Parse::RecDescent::RD_ERRORS = 1;
$Parse::RecDescent::RD_HINT= 1;

Then I tried in the BodyStructure.pm file:

$Mail::IMAPClient::BodyStructure:arse::RD_WARN = 1;
$Mail::IMAPClient::BodyStructure:arse::RD_ERRORS = 1;
$Mail::IMAPClient::BodyStructure:arse::RD_HINT= 1;

and some other random tries unsuccessfully.

Is there an easy way to find a fix here ? Maybe I'm messing with
something too hard.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to see intermediate fail results from unittest as tests are running? Margie Roginski Python 3 08-25-2010 03:24 PM
rbtree tests fail on 1.8.2, but not on 1.8.4 Toby DiPasquale Ruby 1 03-08-2006 07:08 PM
RubyGems - Tests fail on Gem install only Ross Bamford Ruby 0 11-30-2005 08:44 PM
problems with Tests that fail and prettyprint JSW Ruby 0 11-20-2005 01:48 PM
if (f() != FAIL) or if (FAIL != f())? Wenjie C Programming 3 07-31-2003 09:54 PM



Advertisments