ChristopherMayes / lume-astra

Python wrapper for Astra (A Space Charge Tracking Algorithm, DESY) for eventual use in LUME https://christophermayes.github.io/lume-astra/
https://christophermayes.github.io/lume-astra/
Apache License 2.0
14 stars 9 forks source link

Error on Windows (2) #4

Closed hayg25 closed 3 years ago

hayg25 commented 3 years ago

Dear All, thanks for the feedback, we are again facing an issue on Windows machine. See the error below

Press return to continue...
Run Aborted Stat keys do not all have the same length: []
{'start_time': 1616683629.643803, 'run_script': 'D:\\dcgun\\Astra.exe astra.in', 'why_error': 'Stat keys do not all have the same length: []', 'run_time': 4.086401700973511, 'run_error': True}

thanks for your help,

hhslepicka commented 3 years ago

@hayg25 do you see this same error running the examples?

hayg25 commented 3 years ago

@hhslepicka, not exactly :
-> 'why_error': 'Stat keys do not all have the same length: []' -> "Command '['D:\\dcgun\\Astra.exe', 'D:/dcgun/astra.in']' returned non-zero exit status 24."

hayg25 commented 3 years ago

@hhslepicka, the error is seen on DCgun example. I guess the error is also there on the other examples. Thanks for your help.

ChristopherMayes commented 3 years ago

@hayg25 What version are you using? The latest on GitHub, and conda-forge, work for me in simple_astra_run notebook on Windows.

It's also possible that this is a dubious message. All the work is done in A.path. Could you check that the output files look correct there?

hayg25 commented 3 years ago

Ok it seems to re related to the fact that we modified A.path
Seems fine if we live it unchanged