Comments (11)
Hi — This test case is being run against Ruby 1.8.5?
from pygments.rb.
@riddley says a custom-compiled ruby 1.9.3p0
from pygments.rb.
I'll look into it. Thanks for the report.
from pygments.rb.
Happy to help in any way I can.
from pygments.rb.
@riddley — Can you let me know what version of python you are running on that machine?
from pygments.rb.
Stock Centos 5.8 python 2.4.3
from pygments.rb.
Ah! That is almost certainly the problem. We've never tested against python 2.4.x, and tbh we don't really support it, although patches are most certainly welcome. Even having support for 2.5 was a bit of a stretch :)
Is there anyway you can bump to 2.5?
from pygments.rb.
We're due to migrate gollum to a newer Debian host soon. This will surely grease the skids.
Thanks for the help guys. Above and beyond!
from pygments.rb.
Definitely, happy to help :)
from pygments.rb.
Thanks for the quick response @tnm. I'm closing this as won't fix but patches welcome. I've sent a pull request to add system requirements to the readme.
from pygments.rb.
In my case the problem was due to broken installation of alternative Python 2.6 on RHEL 5: the installer created executables python
and python2.6
but not python2
. Latter still point to old system version 2.4. All 3 executables were declared in $PATH
: 2.6 directory with python
and python2.6
first and then system directory /usr/bin
with python2
. So python
command launch Python 2.6 while python2
launch system Python 2.4.
But actually popen.rb
search for executable named python2
to launch mentos
process. So in my case the old version was used despite correct version of Python was in the $PATH
.
Workaround is to create virtualenv directory with all 3 possible executables.
Hope this can help someone.
from pygments.rb.
Related Issues (20)
- Broken symlink in gem (find_error.py) HOT 8
- github.py is included in pygments-main HOT 2
- Possibility to add a custom lexer HOT 8
- Liquid Exception in markdown format HOT 1
- Reanimate JRuby CI
- Raku support HOT 1
- support pygments >= 2.7.1 HOT 1
- Becoming a maintainer HOT 6
- Set up Rubocop lint checking in CI
- Race condition between watchdog/main thread leads to "Thread killed" on JRuby
- Old-fashioned questions
- Add an API to query underlying Pygments version
- undefined method 'create' HOT 4
- Tests break against python3-pygments (=2.10.0+dfsg-1) HOT 2
- env: python: No such file or directory HOT 2
- Broken pipe error in Mentos HOT 19
- Update pygments to 2.14.0
- Virtual environment Pythons are ignored on Windows
- `guess()` from Ruby HOT 1
- Update Pygments HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pygments.rb.