logolink fails when running NetLogo in headless mode because browse-fix.jar is unconditionally loaded, even in environments where it is not available or needed.
Error in `run_experiment()`:
! NetLogo produced the following error during the experiment run:
Error opening zip file or JAR manifest missing :
/app/opt/netlogo/lib/app/browse-fix.jar
Error occurred during initialization of VM
agent library failed to init: instrument
browse-fix.jar should only be loaded when NetLogo is running in GUI mode. In headless mode, the fix should be skipped entirely.
Test the fix using logolink and calling NetLogo headless via terminal.
logolinkfails when running NetLogo in headless mode becausebrowse-fix.jaris unconditionally loaded, even in environments where it is not available or needed.browse-fix.jarshould only be loaded when NetLogo is running in GUI mode. In headless mode, the fix should be skipped entirely.Test the fix using
logolinkand calling NetLogo headless via terminal.