Hi all - sorry for spamming here. I 'downversioned' my model to NetLogo 6.0.4 and now those two lines of the code run - yay! Now I'm stuck with a NameError: name 'netlogo' is not defined, when executing results = pd.DataFrame(lview.map_sync(simulation, param_values)). I will try to work on that over the weekend, but in case anyone has a suggestion, I'd love to hear it :)
Thanks and all the best, Marius On Friday, September 3, 2021 at 5:14:34 PM UTC-4 Marius von Essen wrote: > Quick update, I was actually able to make that line work after installing > NetLogo 6.1.0 on the cluster and specifying the version number as > netlogo_version='6.1' > Now, when trying to load my model with: > netlogo.load_model('/home/users/vonessen/JA-ABM_for_SA_V1_6.1.0.nlogo'), I > get the following error message: > > NetLogoException: java.lang.NoSuchMethodError: > org.nlogo.workspace.Controllable.open(Ljava/lang/String;Z)V > > Any thoughts? > > Thanks a lot already and wishing a great weekend, > Marius > On Thursday, September 2, 2021 at 7:41:38 PM UTC-4 Marius von Essen wrote: > >> >> Hi everyone, >> >> This is my first post and I hope it's the right place for my question - >> let me know if there are better places to ask this :-) >> >> I am using PyNetLogo to run a global sensitivity analysis for my model on >> a computer cluster that runs on Linux centos. I am following the >> documentation for the Sobol sensitivity analysis from the PyNetLogo >> documentation pretty closely and this line gives me an error: >> netlogo = pyNetLogo.NetLogoLink(gui=False, >> netlogo_home='/home/users/vonessen/NetLogo 6.2.0', netlogo_version='6') >> >> I'm using Java version 11.0.11, Python 3.6, PyNetLogo 0.4.2, and my model >> was developed in NetLogo 6.2.0, and the code is in a Jupyter Notebook. >> >> When I run the line above, I get this error message: KeyError: '6' >> When I modify the line to netlogo_version='5', I get this error message: >> java.lang.NoClassDefFoundError: java.lang.NoClassDefFoundError: >> org/nlogo/util/Exceptions$Handler >> See screeenshots for full error messages attached. >> >> Do you have any idea what the issue might be? >> >> Thanks a lot already! >> >> Best, >> Marius >> >> >> >> >> -- You received this message because you are subscribed to the Google Groups "netlogo-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to netlogo-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/netlogo-devel/67242c2c-d99b-4478-8ba4-2f185b539e70n%40googlegroups.com.