#7877 ForgePastebin rendering error

v1.3.1
closed
General
Heith Seewald
2015-05-18
2015-04-24
No

Probably due to the recent pygments upgrade?

File '/var/local/env-allura/lib/python2.7/site-packages/ForgePastebin-0.3.0-py2.7.egg/forgepastebin/templates/paste/paste.html', line 32 in block "content"
  <div class="codewrap">{{paste.html() | safe}}</div>
File '/var/local/env-allura/lib/python2.7/site-packages/ForgePastebin-0.3.0-py2.7.egg/forgepastebin/model/paste.py', line 29 in html
  lexer = guess_lexer(self.text)
File '/var/local/env-allura/lib/python2.7/site-packages/Pygments-2.0.2-py2.7.egg/pygments/lexers/__init__.py', line 252 in guess_lexer
  raise ClassNotFound('no lexer matching the text found')
ClassNotFound: no lexer matching the text found

Discussion

  • Dave Brondsema

    Dave Brondsema - 2015-04-30
    • labels: --> sf-current
     
  • Dave Brondsema

    Dave Brondsema - 2015-04-30

    It might depend on the language highlighting for the the particular paste. Some still work without error.

     
  • Dave Brondsema

    Dave Brondsema - 2015-04-30
    • labels: sf-current --> sf-current, sf-2
     
  • Igor Bondarenko - 2015-05-11
    • labels: sf-current, sf-2 --> sf-current, sf-2, 42cc
    • status: open --> in-progress
    • assigned_to: Igor Bondarenko
     
  • Igor Bondarenko - 2015-05-12

    Closed #763. Merge Request

     
  • Igor Bondarenko - 2015-05-12
    • status: in-progress --> review
     
  • Heith Seewald - 2015-05-13
    • Reviewer: Heith Seewald
     
  • Heith Seewald - 2015-05-13
    • status: review --> closed
     
  • Dave Brondsema

    Dave Brondsema - 2015-05-18
    • labels: sf-current, sf-2, 42cc --> sf-2, 42cc
     
  • Dave Brondsema

    Dave Brondsema - 2015-08-10
    • Milestone: unreleased --> v1.3.1
     

Log in to post a comment.