Project

General

Profile

error updating existing issues with 'Importer' plug-in

Added by Rick Waters over 11 years ago

Note:
This duplicates my post to - https://github.com/leovitch/redmine_importer/issues/36

I love the Importer plug-in: http://www.redmine.org/plugins/importer
Importing new issues works great!!

When I try to update any existing issues, I get the error message below and the log entry below.

__________________________________
Internal error

An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.

If you are the Redmine administrator, check your log files for details about the error.


Processing ImporterController#result (for [=my PC's IP addr=] at 2013-01-30 13:33:54) [POST]
Parameters: {"commit"=>"Submit", "fields_map"=>{"Start date"=>"start_date", "Subject"=>"", "#"=>"", "ID number"=>""}, "ignore_non_exist"=>"true", "project_id"=>"22", "unique_field"=>"ID number", "action"=>"result", "authenticity_token"=>"OzqiZv...blah...rPZcIBBaK4=", "update_issue"=>"true", "controller"=>"importer", "import_timestamp"=>"2013-01-30 13:31:51", "default_tracker"=>"8", "journal_field"=>"#", "update_other_project"=>"true"}

ArgumentError (interning empty string):
vendor/plugins/redmine_importer/app/controllers/importer_controller.rb:262:in to_sym'
vendor/plugins/redmine_importer/app/controllers/importer_controller.rb:262:inresult'
lib/faster_csv.rb:1521:in each'
vendor/plugins/redmine_importer/app/controllers/importer_controller.rb:224:inresult'
config/initializers/mongrel_cluster_with_rails_211_fix.rb:62:in `dispatch_cgi'
_______________________________________

I think I'm using the latest plug-in version:

Issue Importer Issue import plugin for Redmine.
Martin Liu / Leo Hourvitz 1.0 c65c222....

The plugin folder is named 'redmine_importer'.

I'm running: Redmine 1.2.1.stable (MySQL)

I followed the directions in the Wiki and Sample file - https://github.com/leovitch/redmine_importer/wiki

I tried all sorts of variations of the import csv file, made sure it is UTF8, etc., but I get the same error above.

I tried removing all other plugins, but I get the same error above.

I tried updating to the latest FasterCSV (v1.5.5), but I get the same error above.

Please help!!

Rick


Replies (2)

RE: error updating existing issues with 'Importer' plug-in - Added by reno ray over 11 years ago

Maybe it caused by system revision.
I have tried on ubuntu 11.10,12.10 and 12.04 LTS. Only under 12.04 LTS environment the redmine_importer works. In other case it will report the 500 error.

My environment is:
A:Ubuntu 12.04 LTS Server 32bit (Vitualbox)
B:LAMP (Installed during OS installation)
C:Redmine 1.4.4 (Installed by the process below)
1.install redmine:
sudo apt-get install redmine redmine-mysql libapache2-mod-passenger

2.reconfiguration redmine:
sudo dpkg-reconfigure redmine
configuration file, /etc/redmine/default/database.yml

3.link redmine to apache2
sudo ln -s /usr/share/redmine/public/ /var/www/redmine

4.In /etc/apache2/mods-available/passenger.conf, add:
PassengerDefaultUser www-data

5.In /etc/apache2/sites-available/default by adding:
<Directory /var/www/redmine>
RailsBaseURI /redmine
PassengerResolveSymlinksInDocumentRoot on
</Directory>

6.sudo service apache2 restart
Maybe sudo chmod a+x /usr/share/redmine/public

D:fastercsv: gem install fastercsv
E:install redmine-importer

Works perfect.

Raymond

RE: error updating existing issues with 'Importer' plug-in - Added by Rick Waters over 11 years ago

Hi Raymond!

Thanks for your response!!!

I thought that might fix the issue, but I didn't want to try a newer version w/o some confirmation first (totally lazy on my part).

It would be nice to fix the Importer update feature on my current system because of several other plugins I'm using.

btw, I tried removing ALL the other plugins, but that didn't fix the Importer update feature on my current system. :-(

Regards,
Rick

    (1-2/2)