DarrenOfficial / dpaste

The Django project driving dpaste.org
https://dpaste.org
MIT License
532 stars 123 forks source link

Dpaste is not compatible with pygments >= 2.12.0 #208

Open by-cx opened 2 years ago

by-cx commented 2 years ago

Description

Dpaste is affected by this bug:

https://github.com/pygments/pygments/issues/2119

It crashes when something else than plain text is stored.

Steps to reproduce

  1. Install dpaste
  2. Go to its URL
  3. Select any language and hit Paste Snippet

Expected result

The snippet is saved.

Actual result

Snímek obrazovky z 2022-06-02 00-06-20

DarrenOfficial commented 2 years ago

Hello, thanks for the info. I didn't notice this.

I will temporarily downgrade pygments until I found a solution to fix this issue.

by-cx commented 2 years ago

No problem, I noticed it during installation yesterday. Thanks for the fix.