-
Notifications
You must be signed in to change notification settings - Fork 54
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
Mac port has segmentation fault when launching the demo apps #15
Comments
Hello! I just looked into it, and detected what issues are there.
Thank you for the notice by the way. As soon as I have my fixes up, I will let you know.
|
Hi Mate,
Let me know when you would like me to test again and I can give it another test. |
I tried to start a demo as well without any luck on Mavericks:
error starting app { error: [SyntaxError: Unexpected token u],[..] my installation: The other method I tried.
Warning: file_get_contents(/Users/imperator/Desktop/Deskshell.app/Contents/../../../../desk.decl-defs): failed to open stream: No such file or directory in /Users/imperator/Desktop/Deskshell.app/Contents/MacOS/desk_parse on line 33 Warning: Invalid argument supplied for foreach() in /Users/imperator/Desktop/Deskshell.app/Contents/MacOS/desk_parse on line 37 Notice: Undefined property: stdClass::$debug in /Users/imperator/Desktop/Deskshell.app/Contents/MacOS/desk_parse on line 44 |
Ingwie is the main developer for the mac port. However I think 1 & 2 are being caused because the mac port does not have the latest deskshell code, this latest code allows you to run an application without any "backend" i.e. nodejs running. However we can add in a "dummy" backend to see if that fixes the problem: I guess that the "Open Folder" or "View Source" button does not work so you will have to manually locate the folder:
Hopefully this will then allow you to start up the demo applications. The app.desk file is a json format file. |
Here is the contents of the app.desk file with the changes mentioned above:
|
ah thanks - with this changes the html-website demo works now! |
Great, sorry it did not work out of the box for you. The svg_clock and soundDemo should be able to be fixed in exactly the same way. Hopefully we will have a new mac release soon that fixes these issues. |
Yes, the bundle has slight issues. It needs urgent updates and will receive them asap. Sorry for my slowness! ^^
|
I have checked out the deskshell project directly from git on a mac. Then if I run the installer it complains that Deskshell.app already exists, I then delete it and it then succeeds. Clicking on .desk files does not launch them and it gives no error. However if I type the following then the default demo application opens:-
./Deskshell.app/Contents/MacOS/node ./Deskshell.app/Contents/MacOS/deskshell.js
If I then click on Demos and then SoundDemo (for example) and click the Launch button then the demo does not run and I get the following on the console...
wrapper: line 3: 8627 Segmentation fault "$ME/php" "$ME/desk_parse"
To reproduce the error the following typed into the command line gives the same error:-
./Deskshell.app/Contents/MacOS/wrapper ./Deskshell.app/Contents/demo/content/demos/soundDemo/soundDemo.desk
wrapper: line 3: 8627 Segmentation fault "$ME/php" "$ME/desk_parse"
My guess is this is some form of pathing problem -- i.e. it is not correctly finding the path to the files, appjs had many of these problems.
The goal is to be able to send the "launchApp" command and give a relative or absolute path to another .desk file and then execute it.
The text was updated successfully, but these errors were encountered: