spedas / bleeding_edge

IDL-based Space Physics Environment Data Analysis Software (bleeding edge)
http://www.spedas.org
Other
7 stars 0 forks source link

Syntax highlighting not working on SPEDAS wiki #139

Closed jameswilburlewis closed 9 months ago

jameswilburlewis commented 9 months ago

All the code snippets surrounded by syntaxhighlight tags are being rendered as if they're preformatted text, and the pages are being marked as "pages with syntax highlighting errors".

The syntax highlighting uses a Python application called pygments to generate the colorized HTML tags. Apparently there's an unstated dependency that "python3" is available somewhere in the environment, which is not the case in the current hosting environment.

I guess I can try installing python3 on the hosting server. We'll have to keep this in mind for our rollout of Red Hat since we'll eventually want to migrate the blog and wiki in-house.

jameswilburlewis commented 9 months ago

Looks like I can't install miniconda on spedas.org:

spedas@spedas.org [~]# bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
PREFIX=/home/spedas/miniconda3
Unpacking payload ...
/home/spedas/miniconda3/conda.exe: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /home/spedas/miniconda3/conda.exe)

So, no syntax highlighting for us until we migrate! . At least themis-vm9 already has a python3 link,