p5.js-editor
p5.js-editor copied to clipboard
The application "p5" can't be opened
My mac has OS X Yosemite, version 10.10.5 and I downloaded a mac editor at the version of 0.5.2. Moved it to an application folder and opened it and got an error message saying "The application "p5" can't be opened". I tried older version of mac editors, but it did not work at all. How can I fix this problem? Thank you.
Same problem here.
I noticed that the "nwjs" file in MacOS is not set to executable. When I set the correct permissions, I get this error:
/Applications/p5.app/Contents/Frameworks/nwjs Helper.app/Contents/MacOS/nwjs Helper 2015-11-04 09:00:39.674 nwjs[82227:2612123] NSDocumentController Info.plist warning: The values of CFBundleTypeRole entries must be 'Editor', 'Viewer', 'None', or 'Shell'. 2015-11-04 09:00:39.674 nwjs[82227:2612123] NSDocumentController Info.plist warning: The values of CFBundleTypeRole entries must be 'Editor', 'Viewer', 'None', or 'Shell'. 2015-11-04 09:00:39.674 nwjs[82227:2612123] NSDocumentController Info.plist warning: The values of CFBundleTypeRole entries must be 'Editor', 'Viewer', 'None', or 'Shell'. 2015-11-04 09:00:39.674 nwjs[82227:2612123] NSDocumentController Info.plist warning: The values of CFBundleTypeRole entries must be 'Editor', 'Viewer', 'None', or 'Shell'. LaunchProcess: failed to execvp: /Applications/p5.app/Contents/Frameworks/nwjs Helper.app/Contents/MacOS/nwjs Helper LaunchProcess: failed to execvp: /Applications/p5.app/Contents/Frameworks/nwjs Helper.app/Contents/MacOS/nwjs Helper [82227:1104/090039:WARNING:file_descriptor_set_posix.cc(30)] FileDescriptorSet destroyed with unconsumed descriptors: 0/1 [82227:1104/090039:WARNING:file_descriptor_set_posix.cc(30)] FileDescriptorSet destroyed with unconsumed descriptors: 0/1 [82227:1104/090039:WARNING:channel.cc(553)] Failed to send message to remove remote endpoint (local ID 1, remote ID 1)
Does it say it's "from an untrusted developer?" If so, my understanding is that this is just what Yosemite does for all applications that don't go through Apple.
If you right-click and select "open" from the right-click menu, then you should be able to open it. After you do that, double clicking to open should work.
It's saying "The Application p5 can't be opened". The problem is that the "nwjs" is not set to executable for some reason
http://prntscr.com/8yudjh
Actually all executables in "Frameworks" also, does not have the correct "+x" permissions, I guess someone who has zipped the packages has messed the permissions somehow. Setting "chmod +x" to all files in all MacOS folders manually fixes the issue.
Not sure what's going on here. What are your system specs?
I am on OSX El Capitan 10.11.1
Reading on couple of places, a ZIP archive is not a very good way to keep the correct permissions, I guess keeping the OSX app in a tar.gz, made on OSX is the better option.
Same problem here. On OS X El Capitan 10.11.1

I tried to make executable the file in MacOS folder with the "chmod +x" command, but it didn't work for me.Then i tried to log in with a different mac User account and I downloaded it again. It works fine in this account. I suppose it has something to do with my user's settings. It's strange.
Same here~ can't be open OS X Capitan
Make sure you are using the OSX default archive tool to extract the files, sometimes anything else will break the permissions.
Unfortunately using the OSX default archive tool doesn't work either. It works fine on a different system.
any progress this issue? on OSX Yosemite v 10.10.3, no luck opening the editor.
same here with Yosemite 10.10.5...
Had the same problem. Right-clicking on the .zip file and using the default archive tool, it worked (thanks @kamend). So odd.
it worked for me also with the default archive tool. Thanks @kamend
Wow. Worked for me too. I had my default file unzipper set as Keka(when P5 wouldn't work), fwiw.
Keka was the problem for me also!
using the OSX default archive tool work for me