Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Hello Anonymous, I think I posted the example to you last time.

It's hard to say for certain without more details, but here's some speculation as to the error you're seeing (not including the warnings that someone else has noted).

First of all, the MIME Parser is blowing up while parsing the message that you piped it, and is then printing out the details, as it's coded to do.

The question is why it's blowing up - and that's what's not clear. According to this debug, it appears to have gotten as far as selecting a disk file to hold the first MIME part of the message, then it dies.

Could this be a file permission problem? Could the script be running as a user who does not have permission to write in the current working directory? You could solve this in multiple ways - you can tell the MIME parser to parse in core memory, or you can specify a writable directory to use for the temp files, or you can change permissions on the current working directory.

In any of these cases, you've got a bit of work to do - and, it sounds like, a bit of reading. There's no easy answer - you need to digest the MIME-tools documentation.

Good hunting.

Peace,
-McD


In reply to Re: Re: Re: MIME Errors by McD
in thread MIME Errors by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2022-08-11 18:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?