beast2 icon indicating copy to clipboard operation
beast2 copied to clipboard

.xml.state not found

Open kesiaeds opened this issue 1 year ago • 5 comments
trafficstars

Dear all I am trying to run BEAST2 2.6 version and I keep getting this err message. The full log file and xml file is attached. I would really apppreciate if you could help me figure out what is the problem. slurm-4281671.txt cluster9.old.fixed.w.xml.zip cluster9.old.w.xml.zip

Restoring from file File error: /oak/stanford/scg/lab_jandr/Kesia/TB/tb_genomics/study/cluster/BEAST/cluster9.old.fixed.w.xml.state (No such file or directory) java.lang.RuntimeException: An error was encounted. Terminating BEAST at beast.app.util.ErrorLogHandler.publish(Unknown Source) at java.util.logging.Logger.log(Logger.java:738) at java.util.logging.Logger.doLog(Logger.java:765) at java.util.logging.Logger.log(Logger.java:788) at java.util.logging.Logger.severe(Logger.java:1464) at beast.app.beastapp.BeastMain.(Unknown Source) at beast.app.beastapp.BeastMain.main(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at beast.app.beastapp.BeastLauncher.run(Unknown Source) at beast.app.beastapp.BeastLauncher.main(Unknown Source)

kesiaeds avatar Apr 02 '24 18:04 kesiaeds

have you fixed it?I met the same problem

zyy-1111 avatar Jun 19 '24 10:06 zyy-1111

This can happen when the state file moved. First thing to do is check whether the file that is missing is somewhere else. If so, start beast with the --statefile option, like so:

beast -statefile /path/to/where/the/state/file/is/beast.xml.state -resume beast.xml

where /path/to/where/the/state/file/is/ the path to where the state file is.

rbouckaert avatar Jun 19 '24 20:06 rbouckaert

I tried chaning it, but still can't work.

At 2024-06-20 04:31:03, "Remco Bouckaert" @.***> wrote:

This can happen when the state file moved. First thing to do is check whether the file that is missing is somewhere else. If so, start beast with the --statefile option, like so:

beast -statefile /path/to/where/the/state/file/is/beast.xml.state -resume beast.xml

where /path/to/where/the/state/file/is/ the path to where the state file is.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

zyy-1111 avatar Jun 20 '24 03:06 zyy-1111

Could u share a xml file that can run successfully?

zyy-1111 avatar Jun 20 '24 14:06 zyy-1111

Any of the example files that come with BEAST should run.

rbouckaert avatar Jun 20 '24 18:06 rbouckaert