From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.42.229.71 with SMTP id jh7cs20866icb; Thu, 27 Jan 2011 11:16:54 -0800 (PST) Received: by 10.42.223.4 with SMTP id ii4mr2716754icb.4.1296155814244; Thu, 27 Jan 2011 11:16:54 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id f10si35924895qcq.108.2011.01.27.11.16.53; Thu, 27 Jan 2011 11:16:54 -0800 (PST) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org; dkim=neutral (body hash did not verify) header.i=@gmail.com Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id B4B7A19783BC; Thu, 27 Jan 2011 14:16:53 -0500 (EST) Received: from mail-wy0-f178.google.com (mail-wy0-f178.google.com [74.125.82.178]) by rubyforge.org (Postfix) with ESMTP id A70DE1858354 for ; Thu, 27 Jan 2011 14:16:45 -0500 (EST) Received: by wyb42 with SMTP id 42so2592521wyb.23 for ; Thu, 27 Jan 2011 11:16:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=VERpwy2OFF/ZPJLHl7IlvwyoSWaQEkuliZNINsHZyF8=; b=A1qpjX19yIzyATSeq3tD/5A7Gb++F3rtO5gmXvEw+6BbcM5+yZLiKoF+ErChv9G4dL Kn/YQKsPT8AMU6fyNgXdxEDVCfUhvp28ab0VUMfo9Bfivd/6wEXq1d/k1iMw7mCjkKpw AutYbNfHchX+qseO7biuBpdDddKn5K2JLux9o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=P1FgJ4PGcvFLKBb2KZ6cjZ5b/buMqLyHo7hd0wSJtceT6YoSor8pt/zjeRqOm2Dap2 RUrVUuXyxMzackAoS+cnTYj0iLx3N8P0eySGsphFgKWwWj76SKvcKPfE/ZI3SiIDeTV7 g9KuXejNmCC7C4itzm6TC5dEnDk6y6pC/DSQo= MIME-Version: 1.0 Received: by 10.227.179.203 with SMTP id br11mr1581840wbb.112.1296155804972; Thu, 27 Jan 2011 11:16:44 -0800 (PST) Received: by 10.227.2.134 with HTTP; Thu, 27 Jan 2011 11:16:44 -0800 (PST) Date: Thu, 27 Jan 2011 14:16:44 -0500 Message-ID: From: Andrei Thorp To: sup-talk Subject: [sup-talk] Need a simple check / nice error message for user error on mbox being a dir X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org 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 :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 ' 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 `' from /usr/bin/sup-sync:19:in `load' from /usr/bin/sup-sync:19:in `
' 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