Demo mode shows "The privileged helper is unavailable" in Recent activity

Open Beginner friendly
#428 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
83/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
macos, swift
Domain
backend, desktop

Research direction

Reproduce with FREESNITCH_DEMO=1 FREESNITCH_DEMO_WINDOW=settings and inspect the Recent activity helper request paths alongside the demo guards. The issue points to Scripts/test_demo_mode_isolation.sh and mentions #296 as related context. Identify the request that logs the error and guard it for demo mode; done when the demo shows no helper error in Recent activity and the isolation script passes.

Written by the indexing model from the issue text.

Description

area:gui bug priority:low status:queued

With FREESNITCH_DEMO=1 FREESNITCH_DEMO_WINDOW=settings, Settings > General > Recent activity shows an error a few seconds after launch: "The privileged helper is unavailable. Run sudo launchctl kickstart -k system/io.isaaclins.freesnitch.helper, then retry." The Status line above it says Connected. It's on main as of 4d796ba and shows up in the screenshots on #426.

A demo never talks to the helper, so something still sends a helper request (and logs the failure) in demo mode. It may be related to #296.

Done means: a demo launch shows no helper error in Recent activity, and whatever made the call is guarded like the other demo paths (Scripts/test_demo_mode_isolation.sh).

Dominant language
Swift
Stars
49
Forks
5
Avg merge
16h 48m
Merged PRs (30d)
82

Getting set up

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.

More from isaaclins/freesnitch

All issues in isaaclins/freesnitch

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.