Subject: [sup-talk] Exception in sup-git when sending postponed email

From: [email-masked] (Saint Aardvark the Carpeted)
Date: Wed, 3 Dec 2008 13:11:21 -0800

Hi there -- I'm using the git version of sup, last updated earlier
this week.  I was composing a message that had been postponed; I
exited the editor and sent it off when sup crashed (right term?).  The
contents of .sup/exception-log.txt was:

----

--- Errno::ENOENT from thread: main
No such file or directory - /home/hugh/.sup/drafts/^A^D
/home/hugh/src/sup-git/lib/sup/draft.rb:38:in `delete'
/home/hugh/src/sup-git/lib/sup/draft.rb:38:in `discard'
/home/hugh/src/sup-git/lib/sup/util.rb:499:in `send'
/home/hugh/src/sup-git/lib/sup/util.rb:499:in `method_missing'
/home/hugh/src/sup-git/lib/sup/modes/resume-mode.rb:36:in `send_message'
/home/hugh/src/sup-git/lib/sup/mode.rb:49:in `send'
/home/hugh/src/sup-git/lib/sup/mode.rb:49:in `handle_input'
/home/hugh/src/sup-git/lib/sup/buffer.rb:240:in `handle_input'
/home/hugh/src/sup-git/bin/sup:190

----

There are two files in ~/.sup/drafts...one called "8" and one called
"10".  "10" appears to be an earlier version of the draft I was
composing, and the timestamp is from about 10 minutes before I sent
off the finished version.  

The "^A^D" after the "no such file" line appears to be ctrl-a ctrl-d
when I look at the file in vi; when I look using hexcump -C, it's 0x01
0x04 (ie, "...drafts/[0x01][0x04]".  Not sure if that's important.

Thanks very much for sup, and please let me know if you need any
further info.

Hugh

-- 
Saint Aardvark the Carpeted
http://saintaardvarkthecarpeted.com
Because the plural of Anecdote is Myth.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20081203/a34e1e93/attachment.bin>

---

From: [email-masked] (William Morgan)
Date: Thu, 11 Dec 2008 17:50:12 -0800

> No such file or directory - /home/hugh/.sup/drafts/^A^D

Thanks for the very details report, but I'm having a hard time imagining
what could've caused this. It almost seems like a memory corruption
issue. Has it (or anything like it) happened again? 
-- 
William <wmorgan-sup at masanjin.net>

---

From: [email-masked] (Saint Aardvark the Carpeted)
Date: Fri, 12 Dec 2008 06:01:14 -0800

> issue. Has it (or anything like it) happened again? 

Not yet.  I'll keep an eye out and will try stress-testing the memory
on this box.

Thanks,
Hugh

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20081212/cf731888/attachment.bin>