Re: Method fileLocation() redux.

"Roderick A. Anderson" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.mail-box
Message-ID <[email protected]>
On Fri, 2 Apr 2004, Mark Overmeer wrote:

> Yes, I'm increasingly confident that it will fix the error.

After capturing the 'full' error message I see we didn't get it quite 
right.

Hre it is.

Method fileLocation() is not defined for a Mail::Message::Part.
        Mail::Reporter::AUTOLOAD('Mail::Message::Pa...') called at 
/usr/lib/perl5/site_perl/5.8.0/Mail/Message/Construct.pm line 61
        Mail::Message::AUTOLOAD('Mail::Message::Pa...') called at 
/usr/lib/perl5/site_perl/5.8.0/Mail/Message/Body/Nested.pm line 125
        Mail::Message::Body::Nested::fileLocation('Mail::Message::Bo...') 
called at /usr/lib/perl5/site_perl/5.8.0/Mail/Box/File/Message.pm line 116
        Mail::Box::File::Message::fileLocation('Mail::Box::Mbox::...') 
called at /usr/lib/perl5/site_perl/5.8.0/Mail/Box/File.pm line 387
        
Mail::Box::File::_write_replace('Mail::Box::Mbox=H...','HASH(0x842d568)') 
called at /usr/lib/perl5/site_perl/5.8.0/Mail/Box/File.pm line 327
        
Mail::Box::File::writeMessages('Mail::Box::Mbox=H...','HASH(0x842d568)') 
called at /usr/lib/perl5/site_perl/5.8.0/Mail/Box/Mbox.pm line 72
        
Mail::Box::Mbox::writeMessages('Mail::Box::Mbox=H...','HASH(0x842d568)') 
called at /usr/lib/perl5/site_perl/5.8.0/Mail/Box.pm line 716
        
Mail::Box::write('Mail::Box::Mbox=H...','force',1,'save_deleted',0) called 
at /usr/lib/perl5/site_perl/5.8.0/Mail/Box.pm line 360
        Mail::Box::close('Mail::Box::Mbox=H...','force',1) called at 
/usr/lib/perl5/site_perl/5.8.0/Mail/Box/File.pm line 162
        Mail::Box::File::close('undef','force',1) called at 
/root/bin/chkspam.plx line 292

Which is where my script stopped running or rather the log ends so I 
assume it stopped.

I started to follow the chain of modules and got a head-ache.  :-)

If I get some time this week-end (the honey-do list is long) I'll grab the
file that this is failing on and run it through using the perl debugger
and see if I can find the real/actual failure point.


Rod
-- 
    "Open Source Software - You usually get more than you pay for..."
     "Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.