Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: Andrei Thorp <garoth@gmail.com>
To: sup-talk <sup-talk@rubyforge.org>
Subject: [sup-talk] Need a simple check / nice error message for user error on mbox being a dir
Date: Thu, 27 Jan 2011 14:16:44 -0500	[thread overview]
Message-ID: <AANLkTimwsQMLrpLgtWKjZ6A35b81MrR9Tomxq67VD3dr@mail.gmail.com> (raw)

Scanning mbox:/var/spool/mail/thought...
/usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/mbox.rb:155:in
`gets': Is a directory - /var/spool/mail/thought (Errno::EISDIR)
	from /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/mbox.rb:155:in
`block in next_offset'
	from <internal:prelude>:10:in `synchronize'
	from /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/mbox.rb:152:in
`next_offset'
	from /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/mbox.rb:169:in
`first_new_message'
	from /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/mbox.rb:139:in `poll'
	from /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/poll.rb:155:in
`poll_from'
	from /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/util.rb:609:in
`method_missing'
	from /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/bin/sup-sync:123:in
`block in <top (required)>'
	from /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/bin/sup-sync:118:in `each'
	from /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/bin/sup-sync:118:in
`<top (required)>'
	from /usr/bin/sup-sync:19:in `load'
	from /usr/bin/sup-sync:19:in `<main>'

Obviously a simple user error here. Would be nice if sup knew to throw
a nicer error here. Not a big deal!
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


             reply	other threads:[~2011-01-27 19:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-27 19:16 Andrei Thorp [this message]
2011-01-27 20:59 ` Tero Tilus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTimwsQMLrpLgtWKjZ6A35b81MrR9Tomxq67VD3dr@mail.gmail.com \
    --to=garoth@gmail.com \
    --cc=sup-talk@rubyforge.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox