Project

General

Profile

Actions

Defect #14739

closed

undefined method `name' for nil:NilClass with IMAP email fetch

Added by Dominic Collins over 11 years ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email receiving
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Cant reproduce
Affected version:

Description

Hi,

We are migrating from a hosted Redmine 2.1.0 installation to an in house 2.3.2 installation. Both are running on Ubuntu Jumpboxes.

The origianl Redmine wasn't using the Email Receiving feature, but we are trying to implement it in the new in house install.

I've configured IMAP as per http://www.redmine.org/projects/redmine/wiki/RedmineReceivingEmails but when running the following command:

bundle exec rake --trace redmine:email:receive_imap RAILS_ENV="production" <ourSMTPserver> port=993 username=<ourUsername> password=<OurPassword>

I get the following:

  • Invoke redmine:email:receive_imap (first_time)
  • Invoke environment (first_time)
  • Execute environment
  • Execute redmine:email:receive_imap
    rake aborted!
    undefined method `name' for nil:NilClass
    /usr/lib/ruby/1.8/net/imap.rb:918:in `initialize'
    /var/data/redmine/lib/redmine/imap.rb:29:in `new'
    /var/data/redmine/lib/redmine/imap.rb:29:in `check'
    /var/data/redmine/lib/tasks/email.rake:141
    /var/data/redmine/vendor/bundle/ruby/1.8/gems/rake-10.0.4/lib/rake/task.rb:246:in `call'
    /var/data/redmine/vendor/bundle/ruby/1.8/gems/rake-10.0.4/lib/rake/task.rb:246:in `execute'
    /var/data/redmine/vendor/bundle/ruby/1.8/gems/rake-10.0.4/lib/rake/task.rb:241:in `each'
    /var/data/redmine/vendor/bundle/ruby/1.8/gems/rake-10.0.4/lib/rake/task.rb:241:in `execute'
    /var/data/redmine/vendor/bundle/ruby/1.8/gems/rake-10.0.4/lib/rake/task.rb:184:in `invoke_with_call_chain'
    /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
    /var/data/redmine/vendor/bundle/ruby/1.8/gems/rake-10.0.4/lib/rake/task.rb:177:in `invoke_with_call_chain'
    /var/data/redmine/vendor/bundle/ruby/1.8/gems/rake-10.0.4/lib/rake/task.rb:170:in `invoke'
    /var/data/redmine/vendor/bundle/ruby/1.8/gems/rake-10.0.4/lib/rake/application.rb:143:in `invoke_task'
    /var/data/redmine/vendor/bundle/ruby/1.8/gems/rake-10.0.4/lib/rake/application.rb:101:in `top_level'
    /var/data/redmine/vendor/bundle/ruby/1.8/gems/rake-10.0.4/lib/rake/application.rb:101:in `each'
    /var/data/redmine/vendor/bundle/ruby/1.8/gems/rake-10.0.4/lib/rake/application.rb:101:in `top_level'
    /var/data/redmine/vendor/bundle/ruby/1.8/gems/rake-10.0.4/lib/rake/application.rb:110:in `run_with_threads'
    /var/data/redmine/vendor/bundle/ruby/1.8/gems/rake-10.0.4/lib/rake/application.rb:95:in `top_level'
    /var/data/redmine/vendor/bundle/ruby/1.8/gems/rake-10.0.4/lib/rake/application.rb:73:in `run'
    /var/data/redmine/vendor/bundle/ruby/1.8/gems/rake-10.0.4/lib/rake/application.rb:160:in `standard_exception_handling'
    /var/data/redmine/vendor/bundle/ruby/1.8/gems/rake-10.0.4/lib/rake/application.rb:70:in `run'
    /var/data/redmine/vendor/bundle/ruby/1.8/gems/rake-10.0.4/bin/rake:33
    /usr/bin/rake:19:in `load'
    /usr/bin/rake:19
    Tasks: TOP => redmine:email:receive_imap

I've figured my way through a few issues so far from research, but can't find an answer to this problem. I'm still new to this so go easy!

Environment is:

Environment:
Redmine version 2.3.2.stable
Ruby version 1.8.7-p249 (2010-01-10) [i486-linux]
Rails version 3.2.13
Environment production
Database adapter MySQL
Redmine plugins:
clipboard_image_paste 1.7
redmine_silencer 0.2.0

Any help would be much appreciated.

Thanks

Actions #1

Updated by Go MAEDA about 1 month ago

  • Status changed from New to Closed
  • Resolution set to Cant reproduce

Since Redmine 2.3.2 was released a long time ago and is no longer supported, it is difficult to reproduce the issue. Therefore, I am closing this issue.

Actions

Also available in: Atom PDF