p5.js-editor icon indicating copy to clipboard operation
p5.js-editor copied to clipboard

The application "p5" can't be opened

Open shota-aizawa opened this issue 9 years ago • 16 comments

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.

shota-aizawa avatar Oct 16 '15 00:10 shota-aizawa

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)

kamend avatar Nov 04 '15 07:11 kamend

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.

therewasaguy avatar Nov 04 '15 07:11 therewasaguy

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.

kamend avatar Nov 04 '15 07:11 kamend

Not sure what's going on here. What are your system specs?

antiboredom avatar Nov 04 '15 07:11 antiboredom

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.

kamend avatar Nov 04 '15 07:11 kamend

Same problem here. On OS X El Capitan 10.11.1

screen shot 2015-12-11 at 00 23 59

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.

alkmanas avatar Dec 10 '15 22:12 alkmanas

Same here~ can't be open OS X Capitan

UFeatherSerpent avatar Feb 17 '16 10:02 UFeatherSerpent

Make sure you are using the OSX default archive tool to extract the files, sometimes anything else will break the permissions.

kamend avatar Feb 17 '16 12:02 kamend

Unfortunately using the OSX default archive tool doesn't work either. It works fine on a different system.

alkmanas avatar Feb 17 '16 17:02 alkmanas

any progress this issue? on OSX Yosemite v 10.10.3, no luck opening the editor.

JessePimenta avatar Jun 01 '16 00:06 JessePimenta

same here with Yosemite 10.10.5...

alexandredesane avatar Jul 09 '16 10:07 alexandredesane

Had the same problem. Right-clicking on the .zip file and using the default archive tool, it worked (thanks @kamend). So odd.

mikima avatar Sep 04 '16 11:09 mikima

it worked for me also with the default archive tool. Thanks @kamend

alkmanas avatar Sep 04 '16 19:09 alkmanas

Wow. Worked for me too. I had my default file unzipper set as Keka(when P5 wouldn't work), fwiw.

alexdwagner avatar Sep 04 '16 20:09 alexdwagner

Keka was the problem for me also!

alkmanas avatar Sep 04 '16 20:09 alkmanas

using the OSX default archive tool work for me

RamyMhi avatar Oct 22 '16 23:10 RamyMhi