Looking at twiss table in cpymad results in error

Hey,

Running a cpymad instance and attempting to look at the names of the twiss outputs results in an error. This is a new issue since swan-k8s and cpymad had no issue running on swan006. I’ve attempted to update my pickle and minrpc installations but this had not worked.

from cpymad.madx import Madx
import matplotlib.pyplot as plt

mad = Madx(stdout=False)
mad.input('BEAM, PARTICLE=PROTON, PC = 2.7844')
mad.input('BRHO := BEAM->PC * 3.3356;')
mad.call("../STANDARD_PR_YETS 2022-2023_20-MAR-2023.seq")
mad.call("./ps_fb_lhc.str")
mad.input('use, sequence = ps;')
mad.twiss()

print(mad.table.twiss.name)

This results in an unpickling error in the minrpc package.

Dear Wietse,

Can you please open a support ticket with this issue?

https://cern.service-now.com/service-portal/?id=functional_element&name=swan

and we’ll handle it there, many thanks!

Enric