I'm using fetcher_daemon
svn://rubyforge.org/var/svn/slantwise/fetcher/trunk which is a daemon
that checks a mail server.

When ever I run 'ruby script/mailer_daemon_fetcher start' it works
great, i get my mail but then i get an error:

richard-schneemans-macbook-pro:contacts richardschneeman$
/opt/local/lib/ruby/1.8/net/imap.rb:288:in `shutdown': Socket is not
connected (Errno::ENOTCONN)
  from /opt/local/lib/ruby/1.8/net/imap.rb:288:in `disconnect'
  from
/Users/richardschneeman/Documents/AptanaStudio/contacts/vendor/plugins/fetcher/lib/fetcher/imap.rb:63:in
`close_connection'
  from
/Users/richardschneeman/Documents/AptanaStudio/contacts/vendor/plugins/fetcher/lib/fetcher/base.rb:33:in
`fetch'
  from script/mailer_daemon_fetcher:17:in `start'
  from script/mailer_daemon_fetcher:16:in `loop'
  from script/mailer_daemon_fetcher:16:in `start'
  from
/Users/richardschneeman/Documents/AptanaStudio/contacts/lib/daemon.rb:55:in
`start'
  from
/Users/richardschneeman/Documents/AptanaStudio/contacts/lib/daemon.rb:45:in
`fork'
  from
/Users/richardschneeman/Documents/AptanaStudio/contacts/lib/daemon.rb:45:in
`start'
  from
/Users/richardschneeman/Documents/AptanaStudio/contacts/lib/daemon.rb:32:in
`daemonize'
  from
/Users/richardschneeman/Documents/AptanaStudio/contacts/lib/daemon.rb:14:in
`daemonize'
  from script/mailer_daemon_fetcher:28


After which I no longer receive mail. Here is a copy of my code inside
of the fetcher daemon http://pastie.org/387939 .

Does anyone have any hints?
-- 
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to