Subject: [sup-talk] wrong id called on #<YAML::DomainType

From: John Bent <[email-masked]>
Date: Thu, 18 Aug 2011 21:03:11 +0000

Hello all,

My computer crashed and I had to reinstall the operating system but my sup
files should be all fine.  However, when I try to run sup, I see the below
error.  I've tried to sup-sync --restore and sup-sync --changed and they get
the same error.  Anyone have any ideas?  Thx.

--- RuntimeError from thread: main
wrong id called on #<YAML::DomainType:0x7f7d1db3b608
@value={"uri"=>"mbox:/Users/johnbent/mail/cronjobs", "usual"=>true,
"archived"=>true, "id"=>366, "labels"=>[]}, @type_id="Redwood/MBox",
@domain="masanjin.net,2006-10-01">
/usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup.rb:17:in `id'
/usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/util.rb:599:in `send'
/usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/util.rb:599:in `__pass'
/usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/util.rb:588:in `id'
/usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/source.rb:215:in
`load_sources'
/usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/source.rb:215:in `map'
/usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/source.rb:215:in
`load_sources'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/source.rb:214:in
`load_sources'
/usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/util.rb:559:in `send'
/usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/util.rb:559:in
`method_missing'
/usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/index.rb:70:in `load'
/usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/index.rb:236:in `send'
/usr/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/index.rb:236:in
`method_missing'
/usr/lib/ruby/gems/1.8/gems/sup-0.10.2/bin/sup:169
/usr/bin/sup:19:in `load'
/usr/bin/sup:19

John
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: John Bent <[email-masked]>
Date: Thu, 18 Aug 2011 21:38:05 +0000

All,

I figured it out.  FYI: the problem was that my old install of sup was using
xapian V4 and the newly installed one ('yum install sup') was using V1.

Thanks,

John