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
  • #2214

Closed
Open
Created Dec 07, 2012 by Administrator@rootOwner

Pygments Error

Created by: dzaporozhets

ActionView::Template::Error (Failed to get header.):
    5:   .file_content.wiki
    6:     - if gitlab_markdown?(readme.name)
    7:       = preserve do
    8:         = markdown(readme.data)
    9:     - elsif plain_text_readme?(readme.name)
    10:       %pre.clean
    11:         = readme.data
  lib/redcarpet/render/gitlab_html.rb:19:in `block in block_code'
  lib/redcarpet/render/gitlab_html.rb:15:in `block_code'
  app/helpers/gitlab_markdown_helper.rb:44:in `render'
  app/helpers/gitlab_markdown_helper.rb:44:in `markdown'
  app/views/tree/_readme.html.haml:8:in `block in _app_views_tree__readme_html_haml___1150387437954310187_60802800'
  app/views/tree/_readme.html.haml:7:in `_app_views_tree__readme_html_haml___1150387437954310187_60802800'
  app/views/tree/_tree.html.haml:36:in `_app_views_tree__tree_html_haml__191042164998357760_63558140'
  app/views/tree/show.html.haml:3:in `_app_views_tree_show_html_haml__1449216496725928977_64012380'
  app/controllers/tree_controller.rb:17:in `show'

for me for ubuntu 11.04 and ubuntu 11.10 cause

dzaporozhets:~/projects/ 
→ python -V
Python 2.7.2+

dzaporozhets:~/projects/ 
→ python2 -V
No command 'python2' found, did you mean:
Assignee
Assign to
Time tracking