Between versions 0.49.1 and 0.53.1 a bug was introduced with a newer version of IPython which can lead to permission issues when running the cvmfs containers using Apptainer. The issue can be fixed by adding this line before importing xtrack or xsuite:
import sys
import types
from tqdm.std import tqdm
def tqdm_notebook(*args, **kwargs):
return None
fake_notebook = types.ModuleType("tqdm.notebook")
fake_notebook.tqdm = tqdm_notebook
fake_notebook.tqdm_notebook = tqdm_notebook
sys.modules["tqdm.notebook"] = fake_notebook
import xtrack as xt
This issue has been fixed as of xsuite version 0.53.2
Between versions
0.49.1and0.53.1a bug was introduced with a newer version of IPython which can lead to permission issues when running the cvmfs containers using Apptainer. The issue can be fixed by adding this line before importingxtrackorxsuite:This issue has been fixed as of
xsuiteversion0.53.2