cli icon indicating copy to clipboard operation
cli copied to clipboard

Mac OS: Error While running edge app emulator and creating mock data with it.

Open salmanfarisvp opened this issue 10 months ago • 8 comments

Error when trying to run edge app emulator, but working fine when createing and deploying the edge app.

>  screenly edge-app run   

thread 'main' panicked at src/cli.rs:823:48:
Failed to load authentication.: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
> screenly edge-app run --generate-mock-data             

thread 'main' panicked at src/cli.rs:823:48:
Failed to load authentication.: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

CLI Version

  • screenly 1.0.2

Installation method

  • homebre

System Details

  • OS : macOS 15.4.1
  • Chip: Apple M1
  • Memmory: 8GB
  • Shell: zsh on iTerm

salmanfarisvp avatar Apr 17 '25 06:04 salmanfarisvp

@salmanfarisvp, do you experience any issues in v1.0.3, should you have the chance to install it?

nicomiguelino avatar Apr 17 '25 14:04 nicomiguelino

@nicomiguelino I have another issue, reagarding "Missing v1.0.3 in Screenly CLI for Mac"

salmanfarisvp avatar Apr 17 '25 15:04 salmanfarisvp

Update:

I have upgraded to version 1.0.3, but I am still experiencing the same issue.

cc @sergey-borovkov

salmanfarisvp avatar Apr 18 '25 07:04 salmanfarisvp

@salmanfarisvp is this still relevant?

sergey-borovkov avatar Aug 06 '25 18:08 sergey-borovkov

@salmanfarisvp, are you still having issues on macOS?

nicomiguelino avatar Aug 27 '25 16:08 nicomiguelino

@sergey-borovkov and @nicomiguelino issue has been resolved.

salmanfarisvp avatar Aug 28 '25 11:08 salmanfarisvp

@sergey-borovkov I tried to fresh install the CLI version 1.0.4 on my mac and I got the same issue.

Mac OS: 26.0.1 (25A362) Chip: M3 CLI Version: screenly 1.0.4

> screenly edge-app  run

thread 'main' panicked at src/cli.rs:822:48:
Failed to load authentication.: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
> screenly edge-app run --generate-mock-data

thread 'main' panicked at src/cli.rs:822:48:
Failed to load authentication.: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

salmanfarisvp avatar Oct 14 '25 08:10 salmanfarisvp

Update: Found a solution, we need to authenticate to run the app locally and generate the mock data. Is this a feature or a bug? @sergey-borovkov

salmanfarisvp avatar Oct 14 '25 08:10 salmanfarisvp