xml2optr issueshttps://gitlab.triumf.ca/hla/acc-utilities/xml2optr/-/issues2022-03-08T08:02:57-08:00https://gitlab.triumf.ca/hla/acc-utilities/xml2optr/-/issues/4lxml error on macOS - for documentation2022-03-08T08:02:57-08:00Olivier Shelbayalxml error on macOS - for documentationI'm running macOS Monterey 12.1 and continually getting the following error when trying to run xml2optr:
10:47:17 oshelb@Oliviers-MacBook-Pro:/tmp xml2optr -tf tf/rick.xml ite-tm4-sis-ily-yield
Traceback (most recent call last):
File ...I'm running macOS Monterey 12.1 and continually getting the following error when trying to run xml2optr:
10:47:17 oshelb@Oliviers-MacBook-Pro:/tmp xml2optr -tf tf/rick.xml ite-tm4-sis-ily-yield
Traceback (most recent call last):
File "/Users/oshelb/hla/src/xml2optr/bin/run-xml2optr", line 6, in <module>
from lxml import etree
ImportError: No module named lxml
@baartman @pjung @sradel @khwen12 - documenting here for awareness. I'm troubleshooting this and will post a solution when found.Olivier ShelbayaOlivier Shelbayahttps://gitlab.triumf.ca/hla/acc-utilities/xml2optr/-/issues/1ISAC steerers with non-zero length not being converted correctly2021-05-04T13:33:07-07:00Spencer KiyISAC steerers with non-zero length not being converted correctlyFor elements of type 'ecb' with a non-zero length, xml2optr appears to subtract that length equally from downstream and upstream drifts to 'make space' for the steerer (seems like that is what it does for quads). HOWEVER, it does not add...For elements of type 'ecb' with a non-zero length, xml2optr appears to subtract that length equally from downstream and upstream drifts to 'make space' for the steerer (seems like that is what it does for quads). HOWEVER, it does not add the necessary drift that would represent the steerer's length. The end result is that the length of the steerer is subtracted from the model everywhere that there is one, making the model incorrect.
@tplanche @oshelb you should be aware of this. @pjung can you fix it?Paul JungPaul Jung