Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elm Lens trying to access address book on Mac #26

Open
cmvandrevala opened this issue Nov 19, 2019 · 0 comments
Open

Elm Lens trying to access address book on Mac #26

cmvandrevala opened this issue Nov 19, 2019 · 0 comments

Comments

@cmvandrevala
Copy link

[Enter steps to reproduce:]

  1. Installed the elm-lens package on atom
  2. Open up atom. I received pop-ups asking if Atom had permission to view Documents, Desktop, etc. Most of these were fine to mark yes.
  3. One popup asked if I wanted to give Atom permission to access my address book (which I selected no). After atom finished opening, I received an error message saying that elm-lens could not access my address book.

Is this expected behavior? Does elm-lens really need access to your address book to function properly?

Atom: 1.41.0 x64
Electron: 4.2.7
OS: Mac OS X 10.15.1
Thrown From: elm-lens package 0.3.0

Stack Trace

Uncaught Error: EPERM: operation not permitted, scandir '/Users/cyrus/Library/Application Support/AddressBook'

At fs.js:115

Error: EPERM: operation not permitted, scandir '/Users/cyrus/Library/Application Support/AddressBook'
    at Object.readdirSync (fs.js:764:3)
    at Object.fs.readdirSync (ELECTRON_ASAR.js:641:39)
    at Workspace.elmFileList (/packages/elm-lens/lib/workspace.js:57:19)
    at Workspace.findElmFilesInSubdirectories (/packages/elm-lens/lib/workspace.js:43:29)
    at /packages/elm-lens/lib/workspace.js:47:45
    at Array.forEach (<anonymous>)
    at Workspace.findElmFilesInSubdirectories (/packages/elm-lens/lib/workspace.js:46:24)
    at /packages/elm-lens/lib/workspace.js:47:45
    at Array.forEach (<anonymous>)
    at Workspace.findElmFilesInSubdirectories (/packages/elm-lens/lib/workspace.js:46:24)
    at /packages/elm-lens/lib/workspace.js:47:45
    at Array.forEach (<anonymous>)
    at Workspace.findElmFilesInSubdirectories (/packages/elm-lens/lib/workspace.js:46:24)
    at /packages/elm-lens/lib/workspace.js:23:45
    at Array.forEach (<anonymous>)
    at Workspace.getAllElmFiles (/packages/elm-lens/lib/workspace.js:22:32)
    at Project.processAllElmFiles (/packages/elm-lens/lib/project.js:21:41)
    at /packages/elm-lens/lib/project.js:31:35

Commands

     -0:38.2.0 core:copy (atom-notification.fatal.icon.icon-bug.native-key-bindings.has-detail.has-close.has-stack)

Non-Core Packages

atom-beautify 0.33.4 
atom-elixir 0.2.3 
atom-elixir-formatter 1.0.6 
atom-material-syntax 1.0.8 
atom-material-ui 2.1.3 
atom-ternjs 0.19.1 
atom-typescript 13.2.1 
auto-detect-indentation 1.3.0 
autocomplete-modules 2.3.0 
busy-signal 2.0.1 
elm-format 3.2.0 
elm-lens 0.3.0 
elmjutsu 9.11.0 
file-icons 2.1.31 
firacode 0.3.0 
gloom 0.6.5 
html-to-elm 0.2.0 
hyperclick 0.1.5 
intentions 1.1.5 
language-babel 2.85.0 
language-docker 1.1.8 
language-ejs 0.4.0 
language-elixir 0.22.1 
language-elm 1.5.0 
linter 2.3.0 
linter-ui-default 1.7.1 
markdown-pdf 2.2.0 
pdf-view 0.71.0 
pigments 0.40.2 
single-click-open 0.2.2 
sort-lines 0.19.0 
sync-settings 0.8.6 
todo-show 2.3.2 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant