Skip to content

KNOWN: Bug in CVMFS distribution and Apptainer for specific xsuite versions #1

Description

@ekatralis

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions