Hey Guys, I''ve been getting a random ''closed stream'' exception with my app. I can''t reliably duplicate the problem. It seems to crop up every 20th request or so... A snippet from the call-stack appears below. If I hit the browser refresh button, the request completes successfully. I''m working on Ubuntu 8.04 (Hardy Heron) with Rails 2.0.2 and Mongrel 1.1.4 Any ideas would be really appreciated. =================================closed stream /usr/lib/ruby/1.8/tempfile.rb:151:in `close'' /usr/lib/ruby/1.8/tempfile.rb:151:in `callback'' vendor/rails/activerecord/lib/active_record/validations.rb:518:in `call'' vendor/rails/activerecord/lib/active_record/validations.rb:518:in `send'' vendor/rails/activerecord/lib/active_record/validations.rb:518:in `validates_presence_of'' -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Did you ssolve this problem , I''ve the same error sometimes any idea of what is the problem or how fix that ?? On 26 mayo, 14:29, Sonny Chee <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Hey Guys, > > I''ve been getting a random ''closed stream'' exception with my app. I > can''t reliably duplicate the problem. It seems to crop up every 20th > request or so... A snippet from the call-stack appears below. If I hit > the browser refresh button, the request completes successfully. > > I''m working on Ubuntu 8.04 (Hardy Heron) with Rails 2.0.2 and Mongrel > 1.1.4 > > Any ideas would be really appreciated. > > =================================> closed stream > > /usr/lib/ruby/1.8/tempfile.rb:151:in `close'' > /usr/lib/ruby/1.8/tempfile.rb:151:in `callback'' > vendor/rails/activerecord/lib/active_record/validations.rb:518:in `call'' > vendor/rails/activerecord/lib/active_record/validations.rb:518:in `send'' > vendor/rails/activerecord/lib/active_record/validations.rb:518:in > `validates_presence_of'' > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Foreero Ivan wrote:> Did you ssolve this problem , I''ve the same error sometimes any idea > of what is the problem or how fix that ?? > > On 26 mayo, 14:29, Sonny Chee <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>Ivan, Unfortunately, not. I haven''t had time to fully investigate. I suspect it has something to do with the image_science graphics package that I use with attachment_fu. Would you, by any chance also be using either/both of these plugins? Sonny. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
No , I have not these plugins installed in my app. I thought that it have to do with mongrel. I''ll investigate about this , if I found something to solve this I''ll warning you .. and if you have something please let me know what you found. Thanks for pay attention to my question -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---