FS#68579 - [sagemath-jupyter] Invalid symlinks for kernel logos

Attached to Project: Community Packages
Opened by Scott Cassidy (scottlc) - Monday, 09 November 2020, 22:32 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 10 November 2020, 07:33 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

The Jupyter Lab main screen shows broken images instead of the correct SageMath logo. This is because sagemath-jupyter, as currently packaged, contains the following invalid symlinks:

/usr/share/jupyter/kernels/sagemath/logo-64x64.png
/usr/share/jupyter/kernels/sagemath/logo.svg

These should point to the following locations:
logo-64x64.png -> /usr/lib/python3.8/site-packages/sage/ext_data/notebook-ipython/logo-64x64.png
logo.svg -> /usr/lib/python3.8/site-packages/sage/ext_data/notebook-ipython/logo.svg

After manually creating these symlinks the logo displays correctly in Jupyter Lab. I see that the PKGBUILD contains code for fixing up the symlinks in this directory but must have stopped working at some point.
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 10 November 2020, 07:33 GMT
Reason for closing:  Fixed
Additional comments about closing:  sagemath-jupyter 9.2-5

Loading...