Error 1017 parsing the xml input file

248 views
Skip to first unread message

Javier

unread,
May 4, 2022, 4:23:37 PM5/4/22
to beast-users
Hello everyone.
I'm trying to run SNAPP via BEAST v2.6.7 but I'm getting an error that I haven't been able to figure out. Can anyone point me to the right direction?

File: carol_snapp_test_runA.xml seed: 1651676269429 threads: 20
Loading package BEAST v2.6.7
Loading package BEAST v2.6.7

Error 1017 parsing the xml input file

Class could not be found. Did you mean beast.core.State?
Perhaps a package required for this class is not installed?

Error detected about here:
  <beast>
      <run spec='beast.inference.PathSampler'>
 

Remco Bouckaert

unread,
May 4, 2022, 4:29:10 PM5/4/22
to beast...@googlegroups.com
Hi Javier,

The PathSamper is part of the MODEL_SELECTION package. From your post, it looks like it is not installed (neither is SNAPP). If you install these two packages the XML may run.

Hope this helps,
Remco

PS SNAPPER (https://github.com/rbouckaert/snapper) is a faster, very close approximation to SNAPP that you may be interested in as an alternative. 


--
You received this message because you are subscribed to the Google Groups "beast-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beast-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beast-users/3a900861-b208-404e-9214-ff401ee91788n%40googlegroups.com.

Javier

unread,
May 5, 2022, 2:27:51 PM5/5/22
to beast...@googlegroups.com
Hello.

I got through this error by loading the MODEL_SELECTION and SNAPP packages before calling beast in my sh file.

./packagemanager -add MODEL_SELECTION
./packagemanager -add SNAPP
./beast -threads 8 address_to_xml_file/runA.xml 



Reply all
Reply to author
Forward
0 new messages