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

no output #1831

Closed
pagoolka opened this Issue Jun 23, 2017 · 40 comments

Comments

Projects
None yet
2 participants
@pagoolka

pagoolka commented Jun 23, 2017

Environment (for bugs)

I am using a MacBook pro

  • JASP version: 0.8.1.2
  • OS name and version:OS Sierra 10.12.5.
  • Analysis:

Environment (for enhancement requests)

Since the previous version of JASP stopped working, I just downloaded this new version and I opened a data set and set-up a repeated measures anova but when I clicked ok, there was no output. No matter which statistical test I chose there was no output? When I exported the output to a different file format, it was blank?

  • Enhancement:
  • Purpose:
@boutinb

This comment has been minimized.

Show comment
Hide comment
@boutinb

boutinb Jun 27, 2017

Collaborator

@pagoolka: I don't understand completely what you mean by your first sentence: you had an old version of JASP working, and it did not work anymore? Did this old version stop working after some Mac upgrade?

Collaborator

boutinb commented Jun 27, 2017

@pagoolka: I don't understand completely what you mean by your first sentence: you had an old version of JASP working, and it did not work anymore? Did this old version stop working after some Mac upgrade?

@pagoolka

This comment has been minimized.

Show comment
Hide comment
@pagoolka

pagoolka Jun 27, 2017

pagoolka commented Jun 27, 2017

@boutinb

This comment has been minimized.

Show comment
Hide comment
@boutinb

boutinb Jun 27, 2017

Collaborator

Did you try to reinstall XQuartz?

Collaborator

boutinb commented Jun 27, 2017

Did you try to reinstall XQuartz?

@pagoolka

This comment has been minimized.

Show comment
Hide comment
@pagoolka

pagoolka Jun 27, 2017

pagoolka commented Jun 27, 2017

@boutinb

This comment has been minimized.

Show comment
Hide comment
@boutinb

boutinb Jun 27, 2017

Collaborator

This is not the first time that someone tells us this problem on Mac, but we never could reproduce it in our own macs. This makes quite difficult for us to understand what's happened. One idea is to run JASP from the command line: /Applications/JASP.app/Contents/MacOS/JASP
Then you see a log, and send it to us.

Collaborator

boutinb commented Jun 27, 2017

This is not the first time that someone tells us this problem on Mac, but we never could reproduce it in our own macs. This makes quite difficult for us to understand what's happened. One idea is to run JASP from the command line: /Applications/JASP.app/Contents/MacOS/JASP
Then you see a log, and send it to us.

@boutinb

This comment has been minimized.

Show comment
Hide comment
@boutinb

boutinb Jun 27, 2017

Collaborator

@pagoolka We are building a new version of JASP with new WebEngine. This version is not yet ready, but maybe this new WebEngine solves this problem. Could you make a try? For this download this (trial) version from https://static.jasp-stats.org/JASP-0.8.1.2.59.dmg

Collaborator

boutinb commented Jun 27, 2017

@pagoolka We are building a new version of JASP with new WebEngine. This version is not yet ready, but maybe this new WebEngine solves this problem. Could you make a try? For this download this (trial) version from https://static.jasp-stats.org/JASP-0.8.1.2.59.dmg

@pagoolka

This comment has been minimized.

Show comment
Hide comment
@pagoolka

pagoolka Jun 27, 2017

pagoolka commented Jun 27, 2017

@boutinb

This comment has been minimized.

Show comment
Hide comment
@boutinb

boutinb Jun 27, 2017

Collaborator

@pagoolka Can you try to start JASP from a terminal by typing: /Applications/JASP.app/Contents/MacOS/JASP --remote-debugging-port=1234
Then open a browser with localhost:1234 in the URL bar. Click on the qrc:///core/index.html link. You see here the Developer Tools of the HTML page of JASP. Click here on the Console tab.
Then start an analysis in JASP.
Can you send me the log produced on the terminal, and if something is written on the console tab of the browser?

Collaborator

boutinb commented Jun 27, 2017

@pagoolka Can you try to start JASP from a terminal by typing: /Applications/JASP.app/Contents/MacOS/JASP --remote-debugging-port=1234
Then open a browser with localhost:1234 in the URL bar. Click on the qrc:///core/index.html link. You see here the Developer Tools of the HTML page of JASP. Click here on the Console tab.
Then start an analysis in JASP.
Can you send me the log produced on the terminal, and if something is written on the console tab of the browser?

@boutinb

This comment has been minimized.

Show comment
Hide comment
@boutinb

boutinb Jun 27, 2017

Collaborator

@pagoolka I have set another JASP (trial) version with more log info (if you start it from the terminal as explained above): https://static.jasp-stats.org/JASP-0.8.1.2.59_debug.dmg
Can you install this one? Thanks, Bruno

Collaborator

boutinb commented Jun 27, 2017

@pagoolka I have set another JASP (trial) version with more log info (if you start it from the terminal as explained above): https://static.jasp-stats.org/JASP-0.8.1.2.59_debug.dmg
Can you install this one? Thanks, Bruno

@pagoolka

This comment has been minimized.

Show comment
Hide comment
@pagoolka

pagoolka Jun 27, 2017

pagoolka commented Jun 27, 2017

@boutinb

This comment has been minimized.

Show comment
Hide comment
@boutinb

boutinb Jun 28, 2017

Collaborator

@pagoolka You need a space between JASP and --remote-debugging-port=1234. The right command is:
/Applications/JASP.app/Contents/MacOS/JASP --remote-debugging-port=1234

Collaborator

boutinb commented Jun 28, 2017

@pagoolka You need a space between JASP and --remote-debugging-port=1234. The right command is:
/Applications/JASP.app/Contents/MacOS/JASP --remote-debugging-port=1234

@pagoolka

This comment has been minimized.

Show comment
Hide comment
@pagoolka

pagoolka Jun 28, 2017

pagoolka commented Jun 28, 2017

@boutinb

This comment has been minimized.

Show comment
Hide comment
@boutinb

boutinb Jun 28, 2017

Collaborator

@pagoolka OK fine... I have some interesting information, but not yet enough. I have made a new build with more log. Could you download it with the same link: https://static.jasp-stats.org/JASP-0.8.1.2.59_debug.dmg
Then again, start JASP from a terminal with this command: /Applications/JASP.app/Contents/MacOS/JASP
Then in JASP, open the Examples "Kitchen Rolls", and just add once the Descriptive Statistics.
Send me then again the output of the terminal.
Sorry for the inconvenience, but I hope I can finally find out the reason of this problem.
Bruno

Collaborator

boutinb commented Jun 28, 2017

@pagoolka OK fine... I have some interesting information, but not yet enough. I have made a new build with more log. Could you download it with the same link: https://static.jasp-stats.org/JASP-0.8.1.2.59_debug.dmg
Then again, start JASP from a terminal with this command: /Applications/JASP.app/Contents/MacOS/JASP
Then in JASP, open the Examples "Kitchen Rolls", and just add once the Descriptive Statistics.
Send me then again the output of the terminal.
Sorry for the inconvenience, but I hope I can finally find out the reason of this problem.
Bruno

@pagoolka

This comment has been minimized.

Show comment
Hide comment
@pagoolka

pagoolka Jun 28, 2017

pagoolka commented Jun 28, 2017

@boutinb

This comment has been minimized.

Show comment
Hide comment
@boutinb

boutinb Jun 29, 2017

Collaborator

@pagoolka I need still more information... Would it be possible to download once again JASP (https://static.jasp-stats.org/JASP-0.8.1.2.59_debug.dmg), to install and start JASP with:
/Applications/JASP.app/Contents/MacOS/JASP
Can you do the same reproduction path, and send me the log from the terminal?
Hopefully I have then enough information to understand this problem.

Collaborator

boutinb commented Jun 29, 2017

@pagoolka I need still more information... Would it be possible to download once again JASP (https://static.jasp-stats.org/JASP-0.8.1.2.59_debug.dmg), to install and start JASP with:
/Applications/JASP.app/Contents/MacOS/JASP
Can you do the same reproduction path, and send me the log from the terminal?
Hopefully I have then enough information to understand this problem.

@pagoolka

This comment has been minimized.

Show comment
Hide comment
@pagoolka

pagoolka Jun 29, 2017

pagoolka commented Jun 29, 2017

@boutinb

This comment has been minimized.

Show comment
Hide comment
@boutinb

boutinb Jun 30, 2017

Collaborator

@pagoolka Sorry, but the JASP version is apparently the good one... Can you try again to download it https://static.jasp-stats.org/JASP-0.8.1.2.59_debug.dmg ?
Thank you for your patience.
Bruno

Collaborator

boutinb commented Jun 30, 2017

@pagoolka Sorry, but the JASP version is apparently the good one... Can you try again to download it https://static.jasp-stats.org/JASP-0.8.1.2.59_debug.dmg ?
Thank you for your patience.
Bruno

@pagoolka

This comment has been minimized.

Show comment
Hide comment
@pagoolka

pagoolka Jun 30, 2017

pagoolka commented Jun 30, 2017

@boutinb

This comment has been minimized.

Show comment
Hide comment
@boutinb

boutinb Jul 3, 2017

Collaborator

@pagoolka What I can see from this log, is that there is an inter-process communication problem between JASP is its engines. I still don't know why this happens on your computer, and not on ours (and on many other Mac users). But what I will try is see whether another implementation of the inter-process communication is possible. I hope to come with a solution this week.

Collaborator

boutinb commented Jul 3, 2017

@pagoolka What I can see from this log, is that there is an inter-process communication problem between JASP is its engines. I still don't know why this happens on your computer, and not on ours (and on many other Mac users). But what I will try is see whether another implementation of the inter-process communication is possible. I hope to come with a solution this week.

@pagoolka

This comment has been minimized.

Show comment
Hide comment
@pagoolka

pagoolka Jul 3, 2017

pagoolka commented Jul 3, 2017

@boutinb

This comment has been minimized.

Show comment
Hide comment
@boutinb

boutinb Jul 7, 2017

Collaborator

@pagoolka Thanks! I'm implementing another way for the process intercommunication. Next week we can try it.

Collaborator

boutinb commented Jul 7, 2017

@pagoolka Thanks! I'm implementing another way for the process intercommunication. Next week we can try it.

@boutinb

This comment has been minimized.

Show comment
Hide comment
@boutinb

boutinb Jul 10, 2017

Collaborator

@pagoolka: I put a new test version here: https://static.jasp-stats.org/JASP-0.8.1.2.59_debug.dmg
Would it be possible to test it by starting it from the terminal (with /Applications/JASP.app/Contents/MacOS/JASP), and doing one descriptive analysis from an example dataset? Send me then the log you see on the terminal.
Thank you,
Bruno

Collaborator

boutinb commented Jul 10, 2017

@pagoolka: I put a new test version here: https://static.jasp-stats.org/JASP-0.8.1.2.59_debug.dmg
Would it be possible to test it by starting it from the terminal (with /Applications/JASP.app/Contents/MacOS/JASP), and doing one descriptive analysis from an example dataset? Send me then the log you see on the terminal.
Thank you,
Bruno

@pagoolka

This comment has been minimized.

Show comment
Hide comment
@pagoolka

pagoolka Jul 10, 2017

pagoolka commented Jul 10, 2017

@boutinb

This comment has been minimized.

Show comment
Hide comment
@boutinb

boutinb Jul 11, 2017

Collaborator

@pagoolka The problem lies in the shared memory on your computer. I don't know why exactly yet. I put a new debug version https://static.jasp-stats.org/JASP-0.8.1.2.59_debug.dmg.
Can you try it?
Also can you type on a terminal: sysctl -A | grep shm
And send me the result?
Thank you really much!
Bruno

Collaborator

boutinb commented Jul 11, 2017

@pagoolka The problem lies in the shared memory on your computer. I don't know why exactly yet. I put a new debug version https://static.jasp-stats.org/JASP-0.8.1.2.59_debug.dmg.
Can you try it?
Also can you type on a terminal: sysctl -A | grep shm
And send me the result?
Thank you really much!
Bruno

@pagoolka

This comment has been minimized.

Show comment
Hide comment
@pagoolka

pagoolka Jul 11, 2017

pagoolka commented Jul 11, 2017

@boutinb

This comment has been minimized.

Show comment
Hide comment
@boutinb

boutinb Jul 11, 2017

Collaborator

@pagoolka Can you also run the newest debug version of JASP, and give the log?

Collaborator

boutinb commented Jul 11, 2017

@pagoolka Can you also run the newest debug version of JASP, and give the log?

@pagoolka

This comment has been minimized.

Show comment
Hide comment
@pagoolka

pagoolka Jul 11, 2017

pagoolka commented Jul 11, 2017

@boutinb

This comment has been minimized.

Show comment
Hide comment
@boutinb

boutinb Jul 12, 2017

Collaborator

@pagoolka The problem is that is that the engine cannot find the shared memory created by JASP. This shared memory is probably simulated with a file in /tmp/boost_interprocess
Can you go to this folder with a terminal (cd /tmp/boost_interprocess) and type "ls -al"
Give me the results.
I have made a new debug version at the same place https://static.jasp-stats.org/JASP-0.8.1.2.59_debug.dmg
This version gives more permission to use the shared memory file. Can you do again the same thing and give me the results?
I think we are really nearby a solution!
Bruno

Collaborator

boutinb commented Jul 12, 2017

@pagoolka The problem is that is that the engine cannot find the shared memory created by JASP. This shared memory is probably simulated with a file in /tmp/boost_interprocess
Can you go to this folder with a terminal (cd /tmp/boost_interprocess) and type "ls -al"
Give me the results.
I have made a new debug version at the same place https://static.jasp-stats.org/JASP-0.8.1.2.59_debug.dmg
This version gives more permission to use the shared memory file. Can you do again the same thing and give me the results?
I think we are really nearby a solution!
Bruno

@pagoolka

This comment has been minimized.

Show comment
Hide comment
@pagoolka

pagoolka Jul 12, 2017

pagoolka commented Jul 12, 2017

@boutinb

This comment has been minimized.

Show comment
Hide comment
@boutinb

boutinb Jul 12, 2017

Collaborator

@pagoolka With a terminal, go to /tmp/boost_interprocess and type
ls -al
(without quote, but with a space between ls and -al).

Collaborator

boutinb commented Jul 12, 2017

@pagoolka With a terminal, go to /tmp/boost_interprocess and type
ls -al
(without quote, but with a space between ls and -al).

@pagoolka

This comment has been minimized.

Show comment
Hide comment
@pagoolka

pagoolka Jul 12, 2017

pagoolka commented Jul 12, 2017

@boutinb

This comment has been minimized.

Show comment
Hide comment
@boutinb

boutinb Jul 12, 2017

Collaborator

@pagoolka Sorry, I am not celar enough... With a terminal, type:
cd /tmp/boost_interprocess
Then
ls -al

Collaborator

boutinb commented Jul 12, 2017

@pagoolka Sorry, I am not celar enough... With a terminal, type:
cd /tmp/boost_interprocess
Then
ls -al

@pagoolka

This comment has been minimized.

Show comment
Hide comment
@pagoolka

pagoolka Jul 12, 2017

pagoolka commented Jul 12, 2017

@boutinb

This comment has been minimized.

Show comment
Hide comment
@boutinb

boutinb Jul 13, 2017

Collaborator

@pagoolka Well... apparently it cannot use the temporary folder in /tmp/boost_interprocess
I have made a new debug version: https://static.jasp-stats.org/JASP-0.8.1.2.59_debug.dmg where it forces to use the ~/.JASP/temp folder. So again, can you download this version, and run it from the terminal with /Applications/JASP.app/Contents/MacOS/JASP ?
This time, can you with another terminal can you do:
cd ~/.JASP/temp
and then
ls -al
Can you then send me the logs again?
Thank you, Bruno

Collaborator

boutinb commented Jul 13, 2017

@pagoolka Well... apparently it cannot use the temporary folder in /tmp/boost_interprocess
I have made a new debug version: https://static.jasp-stats.org/JASP-0.8.1.2.59_debug.dmg where it forces to use the ~/.JASP/temp folder. So again, can you download this version, and run it from the terminal with /Applications/JASP.app/Contents/MacOS/JASP ?
This time, can you with another terminal can you do:
cd ~/.JASP/temp
and then
ls -al
Can you then send me the logs again?
Thank you, Bruno

@pagoolka

This comment has been minimized.

Show comment
Hide comment
@pagoolka

pagoolka Jul 13, 2017

pagoolka commented Jul 13, 2017

@boutinb

This comment has been minimized.

Show comment
Hide comment
@boutinb

boutinb Jul 13, 2017

Collaborator

@pagoolka That's really great news!!!!
We know now what was the real problem! The /tmp/boost_interprocess folder on your computer does not give the right to the JASP Engine process to read shared data. When this shared temp files are put to the JASP temp folder, there is no problem. I will make a hotfix release of JASP with this fix.
Thank you really much for testing!

Collaborator

boutinb commented Jul 13, 2017

@pagoolka That's really great news!!!!
We know now what was the real problem! The /tmp/boost_interprocess folder on your computer does not give the right to the JASP Engine process to read shared data. When this shared temp files are put to the JASP temp folder, there is no problem. I will make a hotfix release of JASP with this fix.
Thank you really much for testing!

@pagoolka

This comment has been minimized.

Show comment
Hide comment
@pagoolka

pagoolka Jul 13, 2017

pagoolka commented Jul 13, 2017

@boutinb

This comment has been minimized.

Show comment
Hide comment
@boutinb

boutinb Jul 19, 2017

Collaborator

@pagoolka I have made a real JASP version with just the fix that should solves your problem. You can download it from https://static.jasp-stats.org/JASP-0.8.1.2.mac.dmg
After installing it, can you start JASP (in the normal way) and check if you can start a analysis?

Collaborator

boutinb commented Jul 19, 2017

@pagoolka I have made a real JASP version with just the fix that should solves your problem. You can download it from https://static.jasp-stats.org/JASP-0.8.1.2.mac.dmg
After installing it, can you start JASP (in the normal way) and check if you can start a analysis?

@pagoolka

This comment has been minimized.

Show comment
Hide comment
@pagoolka

pagoolka Jul 19, 2017

pagoolka commented Jul 19, 2017

@boutinb

This comment has been minimized.

Show comment
Hide comment
@boutinb

boutinb Jul 20, 2017

Collaborator

Really happy it works! XQuartz is needed, but you don't need to reinstall it. It has nothing to do with this problem.
Bruno

Collaborator

boutinb commented Jul 20, 2017

Really happy it works! XQuartz is needed, but you don't need to reinstall it. It has nothing to do with this problem.
Bruno

@boutinb boutinb closed this Jul 20, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment