Subject: [sup-talk] exception on attaching an html file

From: [email-masked] (jeff covey)
Date: Thu, 23 Aug 2007 08:21:04 -0400

i just got this when i tried to attach an html file to a message and send
it:

endmail: fatal: No recipient addresses found in message header
[Thu Aug 23 08:13:19 -0400 2007] stopped cursing
[Thu Aug 23 08:13:19 -0400 2007] oh crap, an exception
[Thu Aug 23 08:13:19 -0400 2007] unlocking /home/jeff/.sup/lock...
----------------------------------------------------------------
I'm very sorry, but it seems that an error occurred in Sup.
Please accept my sincere apologies. If you don't mind, please
send the backtrace below and a brief report of the circumstances
to sup-talk at rubyforge dot orgs so that I might address this
problem. Thank you!

Sincerely,
William
----------------------------------------------------------------

The problem was: '8bit' (error type RMail::EncodingUnsupportedError)
A backtrace follows:
./lib/sup/util.rb:81:in `add_attachment': 8bit (RMail::EncodingUnsupportedError)
        from ./lib/sup/modes/edit-message-mode.rb:251:in `write_full_message_to'
        from ./lib/sup/modes/edit-message-mode.rb:251:in `each'
        from ./lib/sup/modes/edit-message-mode.rb:251:in `write_full_message_to'
        from ./lib/sup/modes/edit-message-mode.rb:206:in `send_message'
        from ./lib/sup/modes/edit-message-mode.rb:206:in `popen'
        from ./lib/sup/modes/edit-message-mode.rb:206:in `send_message'
        from ./lib/sup/mode.rb:52:in `send'
        from ./lib/sup/mode.rb:52:in `handle_input'
        from ./lib/sup/buffer.rb:193:in `handle_input'
        from bin/sup:192

thanks,

-- 
jeff covey
http://jeffcovey.net/

---

From: [email-masked] (William Morgan)
Date: Thu, 23 Aug 2007 10:26:26 -0700

> The problem was: '8bit' (error type RMail::EncodingUnsupportedError)

Should be fixed in SVN. For a good time, read about when to use 8bit
versus quoted-printable encoding for MIME attachments, and the history
behind it all. And by "good" I mean "eyeball-stab-inducing".

-- 
William <wmorgan-sup at masanjin.net>

---

From: [email-masked] (jeff covey)
Date: Fri, 24 Aug 2007 19:48:08 -0400

Excerpts from William Morgan's message of Thu Aug 23 13:26:26 -0400 2007:

> Should be fixed in SVN.

seems to be working fine, thanks!

any chance the filename completion system for finding files to attach could
also be used for saving attachments?  it's awkward to type the full pathname
to where you want a file to go.

-- 
jeff covey
http://jeffcovey.net/

---

From: [email-masked] (William Morgan)
Date: Fri, 24 Aug 2007 22:56:08 -0700

Excerpts from jeff.covey's message of Fri Aug 24 16:48:08 -0700 2007:
> any chance the filename completion system for finding files to attach
> could also be used for saving attachments?  it's awkward to type the
> full pathname to where you want a file to go.

Good point. Done.