Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #8337

Closed
Open
Created Nov 17, 2014 by Administrator@rootOwner

Error 500 on json files from network and graphs tab

Created by: raphaelheitor

I created a project in gitlab and pointed to an existing repository. Imported without problems, but when viewing network and graphs tabs nothing happens. Inspecting the firebug I could see that had occurred in the json file the error 500.

I tried to make some changes suggested in the issues from github project in model file commit.rb Without success!

My production.log follows:

Graphs page log:

Started GET "/desenv/sistema-concessao-diarias/graphs/master" for 127.0.0.1 at 2014-11-17 15:37:23 -0400 Processing by Projects::GraphsController#show as HTML Parameters: {"project_id"=>"desenv/sistema-concessao-diarias", "id"=>"master"} Completed 200 OK in 174ms (Views: 147.7ms | ActiveRecord: 7.6ms) Started GET "/desenv/sistema-concessao-diarias/graphs/master" for 127.0.0.1 at 2014-11-17 15:37:23 -0400 Processing by Projects::GraphsController#show as JSON Parameters: {"project_id"=>"desenv/sistema-concessao-diarias", "id"=>"master"} Completed 500 Internal Server Error in 145ms

JSON::GeneratorError (source sequence is illegal/malformed utf-8): app/controllers/projects/graphs_controller.rb:38:in fetch_graph' app/controllers/projects/graphs_controller.rb:11:inblock (2 levels) in show' app/controllers/projects/graphs_controller.rb:8:in `show'

Network page log:

Started GET "/desenv/sistema-concessao-diarias/refs/switch?utf8=%E2%9C%93&ref=master&destination=graph" for 127.0.0.1 at 2014-11-17 15:36:58 -0400 Processing by Projects::RefsController#switch as HTML Parameters: {"utf8"=>"✓", "ref"=>"master", "destination"=>"graph", "project_id"=>"desenv/sistema-concessao-diarias"} Redirected to http://gitlab.tce.ro.gov.br/desenv/sistema-concessao-diarias/network/master Completed 302 Found in 24ms (ActiveRecord: 4.3ms) Started GET "/desenv/sistema-concessao-diarias/network/master" for 127.0.0.1 at 2014-11-17 15:36:59 -0400 Processing by Projects::NetworkController#show as HTML Parameters: {"project_id"=>"desenv/sistema-concessao-diarias", "id"=>"master"} Completed 200 OK in 60ms (Views: 30.6ms | ActiveRecord: 5.5ms) Started GET "/desenv/sistema-concessao-diarias/network/master.json" for 127.0.0.1 at 2014-11-17 15:37:08 -0400 Processing by Projects::NetworkController#show as JSON Parameters: {"project_id"=>"desenv/sistema-concessao-diarias", "id"=>"master"} Completed 500 Internal Server Error in 1141ms

ActionView::Template::Error (source sequence is illegal/malformed utf-8): app/views/projects/network/show.json.erb:22:in `_app_views_projects_network_show_json_erb__4512994486324073835_115527620'

Assignee
Assign to
Time tracking