Project

General

Profile

Actions

Defect #8827

closed

ruby-unit error in .json .pdf .csv

Added by David Roncancio over 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-06-30
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

This happends when trying to export anything to the mentioned formats (Atom, csv, pdf)

Redmine 1.2.0.stable.6123 (MySQL)
MySQL 5.1
Ruby 1.8.7
Rails 2.3.11

ArgumentError ('.pdf' Unit not recognized):
/var/lib/gems/1.8/gems/ruby-units-1.3.1/lib/ruby_units/unit.rb:1228:in `parse'
/var/lib/gems/1.8/gems/ruby-units-1.3.1/lib/ruby_units/unit.rb:243:in `initialize'
/var/lib/gems/1.8/gems/ruby-units-1.3.1/lib/ruby_units/string.rb:5:in `new'
/var/lib/gems/1.8/gems/ruby-units-1.3.1/lib/ruby_units/string.rb:5:in `unit'
/var/lib/gems/1.8/gems/ruby-units-1.3.1/lib/ruby_units/string.rb:34:in `from'
generated code (actionpack (2.3.11) lib/action_controller/routing/route.rb:205):14:in `recognize'
(recognize_optimized):8:in `recognize_optimized'
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'

Rendering /usr/share/redmine-1.2/public/500.html (500 Internal Server Error)

Actions

Also available in: Atom PDF