NetLogo / NetLogo/Vid-Extension

Camera capture doesn't work when running in an sbt session on macOS

Open
#23 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
1
Forks
4
PR merge metrics
No merged PRs in 30d

Description

After updating the backing libraries in this commit, the extension works again on macOS Catalina as long as the NetLogo build is properly notarized with entitlements.

However, when running an sbt session in the NetLogo repository on macOS Catalina (and probably Big Sur), if you do a netlogo/run and try to use the vid extension NetLogo will crash. To test the extension on macOS you have to use a notarized build of NetLogo with entitlements specified.

This isn't a critical issue, but it would be nice to be able to properly develop and test the extension as we do all the others. If we had changes to make the Vid extension that depended on changes to NetLogo as well, then this could become much more aggravating, as creating and notarizing a full NetLogo build just to test a single extension is time consuming and annoying.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the crash with netlogo/run in an sbt session on macOS and the vid extension, then compare behavior after the backing-library update in commit ce742b08b448f94376967c38cd61b2ef8604d1c0. Done means camera capture works in the development session without requiring a separately notarized NetLogo build with entitlements.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, scala
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.