Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working on production sixtracktools #5

Closed
giadarol opened this issue Apr 5, 2022 · 1 comment
Closed

Not working on production sixtracktools #5

giadarol opened this issue Apr 5, 2022 · 1 comment

Comments

@giadarol
Copy link
Member

giadarol commented Apr 5, 2022

I tried to run the example for the black absorber. I get this error:

$ python black_absorber.py 

Loading line from SixTrack.. 
Traceback (most recent call last):
  File "/Users/giadarol/Desktop/xsuite_packages/xcoll/examples/black_absorber.py", line 18, in <module>
    line = xt.Line.from_sixinput(st.SixInput('./RunIII_B1'))
  File "/Users/giadarol/miniconda3/lib/python3.9/site-packages/xtrack/line.py", line 92, in from_sixinput
    line_data, rest, iconv = _expand_struct(sixinput, convert=class_dict)
  File "/Users/giadarol/miniconda3/lib/python3.9/site-packages/xtrack/loader_sixtrack.py", line 50, in _expand_struct
    if len(sixinput.single[nnn]) == 7:
KeyError: 'GO'

Are you using a special version of sixtracktools?

@freddieknets
Copy link
Collaborator

Fixed by Gianni; anyway production sixtracktools does not exist anymore :-p

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants