Subject: [sup-talk] Sup-sync exception

From: Ned Ludd <[email-masked]>
Date: Fri, 20 Nov 2009 10:50:47 -0500

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
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: Rich Lane <[email-masked]>
Date: Mon, 23 Nov 2009 18:33:06 -0500

> [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.
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: Andrei Thorp <[email-masked]>
Date: Sat, 21 Nov 2009 00:18:28 -0500

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