From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.213.28.69 with SMTP id l5cs13807ebc; Thu, 28 Jan 2010 00:09:28 -0800 (PST) Received: by 10.101.180.32 with SMTP id h32mr13683910anp.20.1264666167541; Thu, 28 Jan 2010 00:09:27 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 7si1632320gxk.73.2010.01.28.00.09.27; Thu, 28 Jan 2010 00:09:27 -0800 (PST) Received-SPF: pass (google.com: domain of sup-devel-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-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-devel-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id C53B91858315; Thu, 28 Jan 2010 03:09:26 -0500 (EST) Received: from entry.masanjin.net (masanjin.net [209.20.72.13]) by rubyforge.org (Postfix) with ESMTP id 9F2441858315 for ; Thu, 28 Jan 2010 03:02:45 -0500 (EST) Received: from localhost ([127.0.0.1] helo=entry.masanjin.net) by entry.masanjin.net with esmtp (Exim 4.69) (envelope-from ) id 1NaPKt-00013g-Gb for sup-devel@rubyforge.org; Thu, 28 Jan 2010 03:02:45 -0500 Content-Type: multipart/mixed; boundary="===============6913151210237480910==" MIME-Version: 1.0 To: sup-devel@rubyforge.org From: anonymous Date: Thu, 28 Jan 2010 08:02:43 +0000 Precedence: bulk X-Roundup-Name: Sup issue tracker X-Roundup-Loop: hello X-Roundup-Version: 1.4.10 Message-Id: <1264665763.28.0.0069731812863.issue55@masanjin.net> X-Roundup-issue-status: unread X-Roundup-issue-files: exception-log.txt X-Roundup-issue-priority: bug In-Reply-To: <1264665763.28.0.0069731812863.issue55@masanjin.net> Subject: [sup-devel] [issue55] undefined method `>=' for true:TrueClass X-BeenThere: sup-devel@rubyforge.org X-Mailman-Version: 2.1.12 Reply-To: Sup issue tracker , Sup developer discussion List-Id: Sup developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: sup-devel-bounces@rubyforge.org Errors-To: sup-devel-bounces@rubyforge.org --===============6913151210237480910== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable New submission from anonymous: Source#current_offset=3D returns true instead of the set value, causing Source#done? to blow up on (self.cur_offset ||=3D start_offset) >=3D end_of= fset The fix is to swap the two lines in Source#current_offset=3D so that it ret= urns the value: def cur_offset=3D o @dirty =3D true @cur_offset =3D o end As it is in 0.10.2 it returns the value for @dirty instead ---------- files: exception-log.txt messages: 139 nosy: anonymous priority: bug ruby_version: 1.9.1 status: unread sup_version: 0.10.2 title: undefined method `>=3D' for true:TrueClass _________________________________________ Sup issue tracker _________________________________________ --===============6913151210237480910== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="exception-log.txt" --- NoMethodError from thread: poll after loading inbox undefined method `>=' for true:TrueClass /usr/local/lib/ruby-1.9/gems/1.9.1/gems/sup-0.10.2/lib/sup/source.rb:88:in `done?' /usr/local/lib/ruby-1.9/gems/1.9.1/gems/sup-0.10.2/lib/sup/util.rb:599:in `__pass' /usr/local/lib/ruby-1.9/gems/1.9.1/gems/sup-0.10.2/lib/sup/util.rb:586:in `method_missing' /usr/local/lib/ruby-1.9/gems/1.9.1/gems/sup-0.10.2/lib/sup/poll.rb:100:in `block (2 levels) in do_poll' /usr/local/lib/ruby-1.9/gems/1.9.1/gems/sup-0.10.2/lib/sup/poll.rb:97:in `each' /usr/local/lib/ruby-1.9/gems/1.9.1/gems/sup-0.10.2/lib/sup/poll.rb:97:in `block in do_poll' :8:in `synchronize' /usr/local/lib/ruby-1.9/gems/1.9.1/gems/sup-0.10.2/lib/sup/poll.rb:96:in `do_poll' /usr/local/lib/ruby-1.9/gems/1.9.1/gems/sup-0.10.2/lib/sup/util.rb:559:in `method_missing' /usr/local/lib/ruby-1.9/gems/1.9.1/gems/sup-0.10.2/lib/sup/modes/poll-mode.rb:15:in `poll' /usr/local/lib/ruby-1.9/gems/1.9.1/gems/sup-0.10.2/lib/sup/poll.rb:47:in `poll_with_sources' /usr/local/lib/ruby-1.9/gems/1.9.1/gems/sup-0.10.2/lib/sup/poll.rb:62:in `poll' /usr/local/lib/ruby-1.9/gems/1.9.1/gems/sup-0.10.2/lib/sup/util.rb:559:in `method_missing' /usr/local/lib/ruby-1.9/gems/1.9.1/gems/sup-0.10.2/bin/sup:226:in `block (2 levels) in ' /usr/local/lib/ruby-1.9/gems/1.9.1/gems/sup-0.10.2/lib/sup.rb:77:in `block in reporting_thread' --===============6913151210237480910== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-devel --===============6913151210237480910==--