why username use “admin” create project 500 error
Created by: bianzhifu
i use bitnami gitlab ,setup i set username is admin ,when i login by admin create project show 500 error the error info
Started GET "/projects/new" for 192.168.199.208 at 2013-12-09 06:21:41 +0800 Processing by ProjectsController#new as HTML Rendered projects/_errors.html.haml (0.1ms) Rendered projects/new.html.haml within layouts/navless (4.7ms) Completed 500 Internal Server Error in 7.9ms
ActionView::Template::Error (undefined method human_name' for nil:NilClass): 27: = f.label :namespace_id do 28: %span Namespace 29: .controls 30: = f.select :namespace_id, namespaces_options(params[:namespace_id] || :current_user), {}, {class: 'chosen', tabindex: 2} 31: 32: .control-group 33: .controls app/helpers/namespaces_helper.rb:7:in
each'
app/helpers/namespaces_helper.rb:7:in sort_by' app/helpers/namespaces_helper.rb:7:in
namespaces_options'
app/views/projects/new.html.haml:30:in block in _app_views_projects_new_html_haml__472251296327149030_79600340' app/views/projects/new.html.haml:6:in
_app_views_projects_new_html_haml__472251296327149030_79600340'
app/controllers/application_controller.rb:54:in `set_current_user_for_thread'
try change username whthout "admin" no error
why?