There was a message about this a week or so ago. Did anyone ever find a fix? When I run "sup-sync", regardless or the source (I tried IMAP and Maildir), I get this error: $ sup-sync Scanning maildir:/home/nedludd/.mail/INBOX... /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/source.rb:88:in `done?'': undefined method `>='' for true:TrueClass (NoMethodError) from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/util.rb:560:in `__pass'' from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/util.rb:547:in `method_missing'' from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/poll.rb:137:in `each_message_from'' from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/util.rb:520:in `method_missing'' from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/bin/sup-sync:146:in `block in <top (required)>'' from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/bin/sup-sync:141:in `each'' from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/bin/sup-sync:141:in `<top (required)>'' from /usr/bin/supbin/sup-sync:19:in `load'' from /usr/bin/supbin/sup-sync:19:in `<main>'' [I''m on Arch with sup 0.9 and Ruby 1.9.1] ----- Ned Ludd
You can solve this particular problem (I have), but then it uncovers quite a few other probems with sup and Ruby 1.9. As the maintainer of the sup package in the AUR, I pretty much recommend using ruby 1.8 until the dev team can beat sup into working. Sorry, -AT On Fri, Nov 20, 2009 at 10:50 AM, Ned Ludd <edwardludd at gmail.com> wrote:> There was a message about this a week or so ago. ?Did anyone ever find a fix? > > When I run "sup-sync", regardless or the source (I tried IMAP and > Maildir), I get this error: > > $ sup-sync > Scanning maildir:/home/nedludd/.mail/INBOX... > /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/source.rb:88:in `done?'': > undefined method `>='' for true:TrueClass (NoMethodError) > ? ? ? ?from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/util.rb:560:in `__pass'' > ? ? ? ?from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/util.rb:547:in > `method_missing'' > ? ? ? ?from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/poll.rb:137:in > `each_message_from'' > ? ? ? ?from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/util.rb:520:in > `method_missing'' > ? ? ? ?from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/bin/sup-sync:146:in `block > in <top (required)>'' > ? ? ? ?from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/bin/sup-sync:141:in `each'' > ? ? ? ?from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/bin/sup-sync:141:in `<top > (required)>'' > ? ? ? ?from /usr/bin/supbin/sup-sync:19:in `load'' > ? ? ? ?from /usr/bin/supbin/sup-sync:19:in `<main>'' > > > [I''m on Arch with sup 0.9 and Ruby 1.9.1] > > ----- > Ned Ludd > _______________________________________________ > sup-talk mailing list > sup-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/sup-talk >
Excerpts from Ned Ludd''s message of Fri Nov 20 10:50:47 -0500 2009:> There was a message about this a week or so ago. Did anyone ever find a fix? > > When I run "sup-sync", regardless or the source (I tried IMAP and > Maildir), I get this error: > > $ sup-sync > Scanning maildir:/home/nedludd/.mail/INBOX... > /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/source.rb:88:in `done?'': > undefined method `>='' for true:TrueClass (NoMethodError) > from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/util.rb:560:in `__pass'' > from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/util.rb:547:in > `method_missing'' > from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/poll.rb:137:in > `each_message_from'' > from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/util.rb:520:in > `method_missing'' > from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/bin/sup-sync:146:in `block > in <top (required)>'' > from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/bin/sup-sync:141:in `each'' > from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/bin/sup-sync:141:in `<top > (required)>'' > from /usr/bin/supbin/sup-sync:19:in `load'' > from /usr/bin/supbin/sup-sync:19:in `<main>'' > > > [I''m on Arch with sup 0.9 and Ruby 1.9.1]Is there a cur_offset key for every source in sources.yaml? If not (or if it is nil/blank) see if setting cur_offset to 0 fixes it.