Subject: [sup-talk] sup crashed: NoMethodError

From: [email-masked] (Sean Escriva)
Date: Thu, 27 Aug 2009 13:03:17 -0700

I broke my sup!

I wanted to play with the git version so I did: 

    git pull, rake gem, gem install pkg/sup-999.gem

well that broke it all, and I don't know how to fix it.

so far I have tried a gem cleanup, gem uninstall sup, gem install -r
sup, all to no avail. It still always crashes with the following:

--- NoMethodError from thread: main
undefined method `[]' for false:FalseClass
/usr/lib/ruby/gems/1.8/gems/sup-0.8.1/lib/sup.rb:107:in `start'
/usr/lib/ruby/gems/1.8/gems/sup-0.8.1/bin/sup:161
/usr/bin/sup:19:in `load'
/usr/bin/sup:19

Any tips on how to fix/figure out what I did wrong are greatly
appreciated!

-sme

---

From: [email-masked] (William Morgan)
Date: Fri, 28 Aug 2009 13:41:41 -0700

> Any tips on how to fix/figure out what I did wrong are greatly

Hm, is your ~/.sup/config.yaml file empty for some reason? If so, delete
it and retry, and I will add some code to catch this case.
-- 
William <wmorgan-sup at masanjin.net>

---

From: [email-masked] (Sean Escriva)
Date: Fri, 28 Aug 2009 15:50:41 -0700

> it and retry, and I will add some code to catch this case.

That may have been it. I just clobbered my whole setup and started
over, now it's working Although now I'm using the gem and not the git
next branch. I don't want to loose my 8K+ message index again.

was my install process wrong for switching to the git -next branch?

-sme

ps: i'll consider switching fully to sup as soon as I figure out how to manage
multiple email accounts :)

---

From: [email-masked] (William Morgan)
Date: Thu, 03 Sep 2009 10:13:59 -0700

> was my install process wrong for switching to the git -next branch?

Nope, it was fine. Transitioning between master and next should
generally be painless.
-- 
William <wmorgan-sup at masanjin.net>