New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LodgeitUpload: lexer[1][0] IndexError: tuple index out of range #258
Comments
I just merged a PR yesterday into master that fixes this. #256 Guess it is related to some recent change in pygments, so either using our master branch code or an older pygments release would both likely fix that. |
Try: |
That indeed fixed it for pip installs :) |
And installing the latest from git also works! Awesome, now I have exactly the pastebin I want with the deployment method I want :D Test paste here https://paste.mikkel.cc/shzo9Dzo Thanks for the help, and I'm happy to see that this is still actively maintained. Lots of other bins I looked at weren't. |
Any chance of a bugfix-release or new release? |
@foosinn yes, i'll make a release soon. meanwhile, you can just install the older pygments to make the last release work again, see above. |
I just also ran into this. |
Downgrading pygments to a version before 2.7.4 should not be a recommended solution. |
@mweinelt just released 1.0.0. \o/ |
Hi there.
In a personal server re-vamp, I decided I wanted to also have pasting available self-hosted, and I found this awesome project.
As I deploy my VPS mostly through ansible managed docker images, I wanted to do so for bepasty too.
In order to do this I looked around, and found a 5 year old image. I decided to try and move this image to the latest alpine, and have a scheduled github action to regularly(monthly) rebuild the image (to follow the latest pypi build of bepasty-server)
I however have run into some issues getting it running, and have gotten stuck at the following error when uWSGI tries to start:
Any pointers in the right direction would be greatly appreciated :)
edit: docker image source is here https://github.com/Duckle29/bepasty-docker
The text was updated successfully, but these errors were encountered: