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

Error launching 0.9.0-beta.2 #1077

Closed
momack2 opened this issue Sep 2, 2019 · 4 comments · Fixed by #1079
Closed

Error launching 0.9.0-beta.2 #1077

momack2 opened this issue Sep 2, 2019 · 4 comments · Fixed by #1079
Labels
kind/bug A bug in existing code (including security flaws) P1 High: Likely tackled by core team if no one steps up

Comments

@momack2
Copy link

momack2 commented Sep 2, 2019

Please describe what you were doing when this error happened: I tried to launch the beta as requested by @hacdias to debug setting the "launch on startup" checkbox - #1066

Specifications

  • OS: darwin
  • IPFS Desktop Version: 0.9.0-beta.2
  • Electron Version: 6.0.2
  • Chrome Version: 76.0.3809.110

Error

Error: EROFS: read-only file system, open '/private/var/folders/pf/43th2gq17rd5ft2_2wn05mhc0000gn/T/AppTranslocation/EF5C9B25-0696-4902-BA7F-C474CBD0A59A/d/IPFS Desktop.app/Contents/Resources/app.asar.unpacked/out/ipfs-on-path/scripts/IPFS_PATH'
    at Object.openSync (fs.js:447:3)
    at Object.func (electron/js2c/asar.js:155:31)
    at Object.func [as openSync] (electron/js2c/asar.js:155:31)
    at Object.writeFileSync (fs.js:1206:35)
    at writeIpfsPath (/private/var/folders/pf/43th2gq17rd5ft2_2wn05mhc0000gn/T/AppTranslocation/EF5C9B25-0696-4902-BA7F-C474CBD0A59A/d/IPFS Desktop.app/Contents/Resources/app.asar/out/daemon/index.js:376:23)
    at _callee3$ (/private/var/folders/pf/43th2gq17rd5ft2_2wn05mhc0000gn/T/AppTranslocation/EF5C9B25-0696-4902-BA7F-C474CBD0A59A/d/IPFS Desktop.app/Contents/Resources/app.asar/out/daemon/index.js:163:27)
    at tryCatch (/private/var/folders/pf/43th2gq17rd5ft2_2wn05mhc0000gn/T/AppTranslocation/EF5C9B25-0696-4902-BA7F-C474CBD0A59A/d/IPFS Desktop.app/Contents/Resources/app.asar/node_modules/regenerator-runtime/runtime.js:45:40)
    at Generator.invoke [as _invoke] (/private/var/folders/pf/43th2gq17rd5ft2_2wn05mhc0000gn/T/AppTranslocation/EF5C9B25-0696-4902-BA7F-C474CBD0A59A/d/IPFS Desktop.app/Contents/Resources/app.asar/node_modules/regenerator-runtime/runtime.js:271:22)
    at Generator.prototype.<computed> [as next] (/private/var/folders/pf/43th2gq17rd5ft2_2wn05mhc0000gn/T/AppTranslocation/EF5C9B25-0696-4902-BA7F-C474CBD0A59A/d/IPFS Desktop.app/Contents/Resources/app.asar/node_modules/regenerator-runtime/runtime.js:97:21)
    at asyncGeneratorStep (/private/var/folders/pf/43th2gq17rd5ft2_2wn05mhc0000gn/T/AppTranslocation/EF5C9B25-0696-4902-BA7F-C474CBD0A59A/d/IPFS Desktop.app/Contents/Resources/app.asar/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
@hacdias
Copy link
Member

hacdias commented Sep 2, 2019

Uh, do you have any special/non-default security settings enabled? The problem stated shouldn't happen to the regular user... It seems you have apps installed on a read-only file system, and since we use the file system to store some data, it fails.

Also, can't you even launch IPFS Desktop? Does this error prevent execution?

@hacdias
Copy link
Member

hacdias commented Sep 2, 2019

Okay, I have updates. Good and bad. Found this info:

Starting with macOS Sierra, running a newly-downloaded app from a disk image, archive, or the Downloads directory will cause Gatekeeper to isolate that app at a unspecified read-only location in the filesystem. This will prevent the app from accessing code or content using relative paths.

Did you run it inside the DMG itself? I can reproduce the exact same error if you did so, which is great! Please let me know if that was it before thinking about a solution (which I actually... have).

@hacdias hacdias added kind/bug A bug in existing code (including security flaws) P1 High: Likely tackled by core team if no one steps up labels Sep 2, 2019
@momack2
Copy link
Author

momack2 commented Sep 2, 2019

I used the "IPFS-Desktop-0.9.0-beta.2-mac.zip" option before. Trying "IPFS-Desktop-0.9.0-beta.2.dmg" quits on startup with the same notification. Will "report the error" for that as well in case there are any differences - #1078.

Yes, it does error on startup and prevents execution.

@andrew
Copy link
Contributor

andrew commented Jan 21, 2020

I tried downloading the zip of 0.10.2 this morning and couldn't get it working at all, but the DMG version did work once I got past #1211 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws) P1 High: Likely tackled by core team if no one steps up
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants