Skip to content

Fix browse-fix.jar invocation when running NetLogo in headless mode #3

Description

@danielvartan

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions