From: "Abinoam Jr." Date: 2012-01-14T04:32:56+09:00 Subject: Re: Problem with "Exception" - suddenly stopped working On Fri, Jan 13, 2012 at 1:37 PM, Panagiotis Atmatzidis wrote: > > Hello, > > On 13 Éáí 2012, at 18:29 , Abinoam Jr. wrote: > > > Unfortunately (or fortunately) your script is working pretty well in my setup. > > > > Using /home/abinoam/.rvm/gems/ruby-1.9.2-p290 > > > > The installed gem is twitter 2.0.2. > > > > And I couldn't reproduce your bug. > > > > But, note that you are redefining the update method. Line 36 and line 110. > > The last one (the one that is really executed) lacks any begin, rescue clause. > > Thanks for noting. This was pretty stupid of me. I have a second version of this program which implements support for other protocols. Since however I needed to calculate some stats just from twitter, I created this script which will work just for twitter. I write code using TextMate usually but recently I switched to VIM and I copied two times the update method without noting, probably removing the begin/rescue clause... Since I use small terminal window and moving with '/keywords' in terminal I didn't noticed :-( > > Thanks for pointing out, I feel a bit embarrassed. I was even about to compile ruby-1.9.2 to check it if it was working with that version. > > > Abinoam Jr. > > Best Regards > > > Panagiotis Atmatzidis > ----------------------------- > Pharmacy Student at VFU, Brno > mailing lists: ml@convalesco.org > > personal info: http://www.convalesco.org > > The wise man said: "Never argue with an idiot, he brings you down to his level and beat you with experience." So... did it work this time? Don't be embarassed at all. And, I'm glad I could help. For example, look at Peter Vandenabeele, he complained of my "top-commeting" in this thread. So I began "bottom-commenting" in respect to him (and the standards fron somewhere). BUT, he _himself_, at this same thread, top commented. ;-) :-D (I just could'n let this pass unoticed. Please don't be upset with Peter.) Cheers Peter!!! :-) Abinoam Jr.