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

Open
#233 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust
Domain
cli

Research direction

Start by reproducing screenly edge-app run and screenly edge-app run --generate-mock-data on macOS, then inspect the authentication-loading path at src/cli.rs:823. Determine why the missing file produces a panic in the emulator flow, and verify that both commands handle the condition successfully without the reported error.

Written by the indexing model from the issue text.

Description

bug

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
Dominant language
Rust
Stars
29
Forks
7
Avg merge
1d 20h
Merged PRs (30d)
12

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.

More from Screenly/cli

All issues in Screenly/cli

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.