Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

With Redmine 2.4.4 error when trying to open my account/edit user #2

Closed
cyberjunky opened this issue Mar 9, 2014 · 2 comments
Closed

Comments

@cyberjunky
Copy link

App 24213 stderr: ActionView::Template::Error (can not load translations from /opt/redmine/plugins/redmine_local_avatars/config/locales/pt-BR.yml: #<Psych::SyntaxError: (/opt/redmine/plugins/redmine_local_avatars/config/locales/pt-BR.yml): invalid leading UTF-8 octet at line 1 column 1>):
App 24213 stderr:     16:   <p><%= f.text_field :firstname, :required => true %></p>
App 24213 stderr:     17:   <p><%= f.text_field :lastname, :required => true %></p>
App 24213 stderr:     18:   <p><%= f.text_field :mail, :required => true %></p>
App 24213 stderr:     19:   <p><%= f.select :language, lang_options_for_select %></p>
App 24213 stderr:     20:   <% if Setting.openid? %>
App 24213 stderr:     21:   <p><%= f.text_field :identity_url  %></p>
App 24213 stderr:     22:   <% end %>
App 24213 stderr:   lib/redmine/i18n.rb:152:in `init_translations'
App 24213 stderr:   lib/redmine/i18n.rb:166:in `lookup'
App 24213 stderr:   lib/redmine/i18n.rb:52:in `ll'
App 24213 stderr:   lib/redmine/i18n.rb:96:in `block (2 levels) in languages_options'
App 24213 stderr:   lib/redmine/i18n.rb:96:in `map'
App 24213 stderr:   lib/redmine/i18n.rb:96:in `block in languages_options'
App 24213 stderr:   lib/redmine/i18n.rb:95:in `languages_options'
App 24213 stderr:   app/helpers/application_helper.rb:962:in `lang_options_for_select'
App 24213 stderr:   app/views/my/account.html.erb:19:in `block in _app_views_my_account_html_erb___432315173573661915_9629760'
App 24213 stderr:   app/helpers/application_helper.rb:977:in `labelled_form_for'
App 24213 stderr:   app/views/my/account.html.erb:9:in `_app_views_my_account_html_erb___432315173573661915_9629760'
App 24213 stderr:
App 24213 stderr:
App 24213 stderr:
App 24213 stderr: ActionView::Template::Error (can not load translations from /opt/redmine/plugins/redmine_local_avatars/config/locales/pt-BR.yml: #<Psych::SyntaxError: (/opt/redmine/plugins/redmine_local_avatars/config/locales/pt-BR.yml): invalid leading UTF-8 octet at line 1 column 1>):
App 24213 stderr:     9:   <p><%= f.text_field :firstname, :required => true %></p>
App 24213 stderr:     10:   <p><%= f.text_field :lastname, :required => true %></p>
App 24213 stderr:     11:   <p><%= f.text_field :mail, :required => true %></p>
App 24213 stderr:     12:   <p><%= f.select :language, lang_options_for_select %></p>
App 24213 stderr:     13:   <% if Setting.openid? %>
App 24213 stderr:     14:   <p><%= f.text_field :identity_url  %></p>
App 24213 stderr:     15:   <% end %>
@cyberjunky
Copy link
Author

In pt-BR.yml there was a strange ~P sign after this text:
are_you_sure_delete_avatar: "Voc

@dup2 dup2 closed this as completed in 05de054 Mar 9, 2014
@dup2
Copy link
Member

dup2 commented Mar 9, 2014

Thanks for the information - seems like the old YAML parser syck might have ignored this, psych complains instead.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants