Maybe due to non ascii characters in commit (description)?

Sytse


On Wed, Jan 8, 2014 at 3:14 PM, Niels <[email protected]> wrote:
> Hi,
>
> today I upgraded to GitLab 6.4.3 38397db. After that we have trouble in on a
> project to see any diffs. I call
> .../commit/0580618e521966eb3939ed89f4ce4d40691120c7 and get a return code
> 500 encoding error.
> I checked the postgres db it was UTF-8.
> bundle exec rake gitlab:check RAILS_ENV=production was fine too - everything
> is green except some empty -repos.
>
> I reinstall charlock_holmes following
> https://github.com/gitlabhq/gitlabhq/issues/679#issuecomment-5282141
>
> Here the exception from production.log
> Started GET "/xxxx/xxxxx/commit/0580618e521966eb3939ed89f4ce4d40691120c7"
> for 127.0.0.1 at 2014-01-08 15:11:07 +0100
> Processing by Projects::CommitController#show as HTML
>   Parameters: {"project_id"=>"xxxx/xxxx",
> "id"=>"0580618e521966eb3939ed89f4ce4d40691120c7"}
>   Rendered projects/commit/_commit_box.html.haml (16.2ms)
>   Rendered projects/commit/show.html.haml within layouts/projects (18.2ms)
>
> Encoding::CompatibilityError (incompatible character encodings: UTF-8 and
> ASCII-8BIT):
>   app/views/projects/commit/_commit_box.html.haml:47:in
> `_app_views_projects_commit__commit_box_html_haml___4214662759525494363_69876567631520'
>   app/views/projects/commit/show.html.haml:1:in
> `_app_views_projects_commit_show_html_haml___3130193472454801325_69876567493800'
>   app/controllers/application_controller.rb:57:in
> `set_current_user_for_thread'
>
>   Rendered errors/encoding.html.haml within layouts/errors (1.3ms)
>   Rendered layouts/_head.html.haml (1.2ms)
>   Rendered layouts/_search.html.haml (33.3ms)
>   Rendered layouts/_head_panel.html.haml (38.8ms)
>   Rendered layouts/_flash.html.haml (0.2ms)
> Completed 500 Internal Server Error in 11205ms (Views: 39.8ms |
> ActiveRecord: 20.0ms)
>
> Any suggestions are appreciated.
> Niels
>
> --
> You received this message because you are subscribed to the Google Groups
> "GitLab" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to