TravisSpangle / redmine_spent_time_in_issue_description

Redmine Plugin that drops Time Entry data into the Issue Description
16 stars 16 forks source link

I18n::InvalidLocaleData #8

Closed spydmobile closed 9 years ago

spydmobile commented 9 years ago

Hi I keep getting this error, its being blamed on this plugin. can not load translations from /var/data/redmine/plugins/redmine_spent_time_in_issue_description/config/locales/en.yml: #<Psych::SyntaxError: (/var/data/redmine/plugins/redmine_spent_time_in_issue_description/config/locales/en.yml): found character that cannot start any token while scanning for the next token at line 12 column 20>

some backtrace info: /usr/local/rvm/gems/ruby-2.0.0-p451/gems/i18n-0.6.9/lib/i18n/backend/base.rb:185:in rescue in load_yml' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/i18n-0.6.9/lib/i18n/backend/base.rb:182:inload_yml' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/i18n-0.6.9/lib/i18n/backend/base.rb:166:in `load_file'

My system: Environment: Redmine version 2.5.0.stable.12982 Ruby version 2.0.0-p451 (2014-02-24) [x86_64-linux] Rails version 3.2.17 Environment production Database adapter Mysql2 SCM: Subversion 1.6.17 Git 1.7.9.5 Filesystem
Redmine plugins: autowatch 0.1.0 redmine_admin_monitor 1.0.0 redmine_announcements 1.0 redmine_banner 0.1.0 redmine_better_gantt_chart 0.9.0 redmine_charts2 0.2.1 redmine_code_review 0.6.3 redmine_custom_css 0.1.4 redmine_dashboard 2.3.3 redmine_default_group 0.0.1 redmine_digest 0.2.0 redmine_hours 0.1.1 redmine_issue_checklist 2.0.5 redmine_issue_favicon 0.0.1 redmine_login_audit 0.1.4 redmine_logs 0.0.5 redmine_my_page_queries 2.0.9 redmine_open_links_in_new_window 0.0.3 redmine_people 0.1.8 redmine_planning 0.7.6 redmine_spent_time 2.6.6 redmine_spent_time_in_issue_description 1.5 redmine_vote 1.2.1 timelog_timer 2.0.0

Im on ubuntu server 64 12.04.5 LTS

TravisSpangle commented 9 years ago

This is happening when the translation needs to be interpolated. My latest commit should resolve it. I'm keeping this issue open until I can research i18n files further to see how this should be done.

TravisSpangle commented 9 years ago

this was resolved in d6e3a1b071469f1f1e4edd13607e9641c662afb9