Error on accessing csv_actions
Hello,
When accessing the system under admin -> export -> CSV file (actions, contexts and projects) I get a screen with error:
We're sorry, but something went wrong.
The Tracks application failed with error 500. More details can be found in the log file of Tracks
Upon investigating the logs I found the following:
NameError (uninitialized constant CSV::Writer):
app/controllers/data_controller.rb:52:in `csv_actions'
I think this has to do with Ruby being a newer version where the API for CSV has changed. Please note that all other export functions are working properly. It is only the above one that is misbehaving.
My environment:
Ruby 2.1.0
Gem 2.2.0
Tracks 2.2
When accessing the system under admin -> export -> CSV file (actions, contexts and projects) I get a screen with error:
We're sorry, but something went wrong.
The Tracks application failed with error 500. More details can be found in the log file of Tracks
Upon investigating the logs I found the following:
NameError (uninitialized constant CSV::Writer):
app/controllers/data_controller.rb:52:in `csv_actions'
I think this has to do with Ruby being a newer version where the API for CSV has changed. Please note that all other export functions are working properly. It is only the above one that is misbehaving.
My environment:
Ruby 2.1.0
Gem 2.2.0
Tracks 2.2
Leave a comment