luismaia / redmine_email_fetcher

Redmine plugin that extends the Redmine Receiving emails functionality by allowing the configuration of email accounts from where emails should be periodically fetched
23 stars 25 forks source link

email_fetcher task throws error #4

Closed saz closed 9 years ago

saz commented 9 years ago

I'm seeing the following error

rake aborted!
NoMethodError: undefined method `trace' for #<Class:0x000000072b2508>
/var/www/.gem/ruby/2.0.0/gems/activerecord-3.2.21/lib/active_record/dynamic_matchers.rb:55:in `method_missing'
/usr/share/redmine/plugins/redmine_email_fetcher/app/models/email_configuration.rb:48:in `block in fetch_all_emails'
/var/www/.gem/ruby/2.0.0/gems/activerecord-3.2.21/lib/active_record/relation/delegation.rb:6:in `each'
/var/www/.gem/ruby/2.0.0/gems/activerecord-3.2.21/lib/active_record/relation/delegation.rb:6:in `each'
/usr/share/redmine/plugins/redmine_email_fetcher/app/models/email_configuration.rb:43:in `fetch_all_emails'
/usr/share/redmine/plugins/redmine_email_fetcher/lib/tasks/email_fetcher.rake:15:in `block (4 levels) in <top (required)>'
Tasks: TOP => redmine:plugins:email_fetcher:fetch_all_emails
(See full trace by running task with --trace)

Any idea, how to fix this?

luismaia commented 9 years ago

@saz - Could you please test and let me know if the current trunk solves your issue. Thanks a lot!

luismaia commented 9 years ago

Closed, since it was tested by Andreas on issue #6 . Either way, let me know if your issue is now solved. Thanks.