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

Glitches, JASP 0.15.0: (1) Recurring "JASP has been installed from a Zip. (2) 3-5 sec. filter delay #1431

Closed
R180 opened this issue Sep 26, 2021 · 54 comments
Assignees
Labels
Bug: Medium Bugs that don't influence the basic function of the app, but it's better to fix them at some point. OS: Windows 10

Comments

@R180
Copy link

R180 commented Sep 26, 2021

I've noticed some glitches in JASP 0.15.0 (Windows 10):

(1) There's a recurring announcement that "JASP has been installed from a Zip. . ." However, it is not a one-time thing. It happens every time I double-click a jas file to launch JASP. See the image, below.

image

(2) There's a 3- to 5-secod delay (with no indication that JASP is working on it) in the engagement/disengagement of variable-level filtering. See the image, below.

image

@R180
Copy link
Author

R180 commented Sep 27, 2021

Update: This slowdown doesn't just occur for filtering. Many operations take a very long time to complete, even with file as simple as an ANOVA on the Tooth Growth data set. Saving takes half a minute.

@R180
Copy link
Author

R180 commented Sep 28, 2021

Update:
(1) I had used the MSI for install, not the ZIP method, and yet kept getting the ZIP-related message indicated above.
(2) I uninstalled and then re-installed the application and the problem seems to have gone away.

@R180
Copy link
Author

R180 commented Sep 29, 2021

Another update:

Re-installation was only a temporary fix. The problem has returned.

@JorisGoosen
Copy link
Contributor

@R180 Where did you install JASP to?

And perhaps you could upload the logs as described here it might tell me something.

It might take a while for me to actually work on this though as Im on vacation, but this sounds like a very annoying issue so I thought I'd ask for more info.

@R180
Copy link
Author

R180 commented Sep 29, 2021

Edited by Joris: Removed logs to avoid getting RSI in my scrolling finger

@R180
Copy link
Author

R180 commented Sep 29, 2021

@JorisGoosen
Copy link
Contributor

Well, I see nothing weird in the logs at a glance. But I will only have time to dive into this deeper in roughly 3 weeks.
Maybe @boutinb has a chance to look at this before then.

@boutinb
Copy link
Contributor

boutinb commented Sep 30, 2021

Hi @R180 I'm not sure that if it has to do with your problem, but we have seen that there is something during the uninstall. So not everything is removed when you re-install a JASP version. Could you try this version: https://static.jasp-stats.org/Nightlies/Windows/JASP-nightly-development-580450fc96173b0ea077bebe8f7e8b0d91998fd5.msi (be careful this is a development version not signed, so Windows will warn you not to install it). This version should uninstall completely the old version. It can take some time the first time.

@TimKDJ
Copy link

TimKDJ commented Sep 30, 2021

I can reproduce the zip warning. If I double click on a .jasp file then the zip warning is shown despite the fact I have the MSI installed

I cannot reproduce the delay when filtering out levels, that works fine for me.

@R180
Copy link
Author

R180 commented Sep 30, 2021

Hi @boutinb
Thanks for providing the installation file. Unfortunately I cannot try it, currently. I have 'administrative privileges that normally let me enter an administrative user ID and password to "run as administrator." However, this does not work for the file you provided. (I get an error message that says: "The system administrator has set policies to prevent this installation.")

@R180
Copy link
Author

R180 commented Oct 12, 2021

Update: Increasingly, I've gotten "(not responding)" warnings. Despite repeated re-installs and re-boots, JASP has gotten slower and slower. It's too slow to use, now. I hope I have better luck with the next version.

@JorisGoosen
Copy link
Contributor

Well, I will be back at work next monday and I will be sure to go in deep for this because it sounds incredibly annoying and Im sure you aren't the only one running into this.

@R180
Copy link
Author

R180 commented Oct 17, 2021

Yes. I have student who can't use JASP anymore either, because of the slow-down. My system is a university-owned, Windows 10 system. Hers is a very different, personally-owned Windows 10 system. So the problem definitely isn't specific to my computer.

@agarza7
Copy link

agarza7 commented Oct 25, 2021

Hi, I have the same problem, full install from msi. I had to roll back to 14.1 version in order to continue using JASP

@JorisGoosen
Copy link
Contributor

Hey @R180 and @agarza7,

Due to my harddrive dying during my vacation and thus the loss of windows it took me a while to get on this.

I cannot at all reproduce the problem but I can think of a few things we could do to narrow down the problem.

First of all, have you tried the new JASP version?
It should at least get rid of those warnings I hope.

If that doesn't help for the slowdowns I would also suggest switching "Safe graphics" on and seeing if that speeds it up at least a bit.

And if none of that helps then I would need to know some more details about the slowdown.
What do you mean exactly?

  • Is the interface slow?
  • Do the results take a long time to show up?
  • Does it take a long time for a change to show up in the results after clicking something in the inputform?
  • Is it slow for all analyses?

As far as the system goes, the C-drive in your machine is actually a local drive right?

@R180
Copy link
Author

R180 commented Oct 29, 2021

That the "new JASP version" msi is called "0.15.0.1", but it installs "0.15.0.0".

@R180
Copy link
Author

R180 commented Oct 29, 2021

In addition, the version on the JASP downloads page is Version 0.15.0.0, not 0.15.0.1.

@JorisGoosen
Copy link
Contributor

That the "new JASP version" msi is called "0.15.0.1", but it installs "0.15.0.0".

Thank you for pointing that out, I think @boutinb intended it as a drop-in replacement for 0.15.0.0 with just a fix for MSI and the zip-warning. And only on windows, so I guess the idea was to keep things simple. But I agree it is a bit confusing...

@R180
Copy link
Author

R180 commented Oct 30, 2021

OK. But I have installed this 0.15.0.1 on my system, and have even removed it and installed in again--it does not affect or solve the "zip-warning." Are you sure the fix has actually been deployed?

@JorisGoosen
Copy link
Contributor

Ah sorry, no it seems that only contained the fix for making the uninstaller work properly.

However, you describe two problems, one is the warning, which shows up when starting or loading a file.

But also that the application is slow, this I cannot reproduce nor can I see in the logs where this slowdown occurs.
So if you could help me out by trying out the suggestions and perhaps answer my questions from my second-to-last message:

If that doesn't help for the slowdowns I would also suggest switching "Safe graphics" on and seeing if that speeds it up at least a bit.

And if none of that helps then I would need to know some more details about the slowdown, what do you mean exactly?

  • Is the interface slow?
  • Do the results take a long time to show up?
  • Does it take a long time for a change to show up in the results after clicking something in the inputform?
  • Is it slow for all analyses?

As far as the system goes, the C-drive in your machine is actually a local drive right?

That way I can have a better guess of where the slowness is coming from and whether it is related to the zipwarning or not.

@R180
Copy link
Author

R180 commented Oct 30, 2021

The C drive is a local drive.
Test File 10-30-2021.zip

If I open the JASP test file I created (attached) and then attempt to "SAVE AS" something like "Backup File," nothing happens in the interface for two minutes. Only then does the "Saving JASP file" message to appear. If in one of the ANOVAs, I check the omega-squared box, nothing happens for 10 seconds, then the checkmark appears. If, in post-hocs, I uncheck the box for Holm tests, nothing happens for 5 seconds, then the checkmark disappears. Other operations produce seem to be delayed similarly, but at random (sometimes there is little delay).

@R180
Copy link
Author

R180 commented Oct 30, 2021

Oh. and safe graphics made no difference.

@boutinb
Copy link
Contributor

boutinb commented Nov 3, 2021

So apparently the analyses self are not slow, but the interface self is really slow.
Do you have the same problem when you just start JASP, load a data file, add a Descriptives analysis: is the reaction of the interface still so slow (clicking on a checkbox takes 10 seconds before the checkmark appears)?
Could you give us the RAM & CPU of your PC (https://www.drivereasy.com/knowledge/how-to-check-ram-on-windows-10-easily/#Fix2)? Use the Task Manager, and then you can check when running JASP if the RAM or the CPU is overloaded.

@R180
Copy link
Author

R180 commented Nov 4, 2021

If I open JASP and open the BFI Network dataset form the data library, select descriptives, and select each of the dispersion boxes it takes JASP one second to fill in a checkbox after it's clicked. A subsequent save of the JASP file takes 12 seconds for eh "saving" message appears.

The task manager CPU report always shows 0% CPU and 257.6 MB for the JASP processes.

@R180
Copy link
Author

R180 commented Nov 4, 2021

Sorry, here's the task manager performance data output. For some reason opening JASP does not change it. On the left is prior to opening JASP and running some descriptives. On her right is after.
image

@JorisGoosen
Copy link
Contributor

@R180 the behaviour you see in JASP, with slowdowns durin interaction, is the same as described in #1490 ?

And shown here: https://www.youtube.com/watch?v=OF_GXNOJ1lY

@JorisGoosen
Copy link
Contributor

Hmm, and I assume that you waited a while?

It is starting to seem like maybe the resultswindow is the problem here. Also given #1494 and #1496

Especially because it seems like it didnt even load for you this time (as in it is still grey in the screenshot) and that matches with . Thanks for trying.

@R180
Copy link
Author

R180 commented Nov 14, 2021

Correct. With JASP-SlowdowProfiler-Test, the results Window never opens. (It at least opened in JASP 0.15.)

@JorisGoosen
Copy link
Contributor

Ok, so I will be trying to get a build of JASP which uses a newer version of QWebEngine (aka the resultsview).

In the meantime we could test if it is caused by ANGLE (which renders opengl through directx) and might be part of the slowdown.

If you open up a command-prompt, navigate to wherever JASP.exe is and then set QT_OPENGL=desktop it will use the proper drivers.

D:\>cd JASP\JASP-nightly-development-a6d5fc56cf9d8d909535139264aa674d4628fa6d
D:\JASP\JASP-nightly-development-a6d5fc56cf9d8d909535139264aa674d4628fa6d>set QT_OPENGL=desktop
D:\JASP\JASP-nightly-development-a6d5fc56cf9d8d909535139264aa674d4628fa6d>JASP.exe

When I have the other build ready I will post it here.

@R180
Copy link
Author

R180 commented Nov 16, 2021

I tried to do this with the slowdown tester. It did not make a difference. The results window output still never appeared (and no log files were generated). I also tried to do it with the regular JASP 15.0.1 but it did not improve the slowdown.

@R180
Copy link
Author

R180 commented Nov 19, 2021

OK. I just installed jasp version 0.16 and it will not run at all (see error message below). Note that I run a lot of software on this computer--R, jamovi, SPSS, Photoshop, Inkscape, etc.--and have never had any problem with graphics.

image

@R180
Copy link
Author

R180 commented Nov 19, 2021

Update. It turns out that the failure to run at all only happened upon electing to launch the application at the end of the install process. I can run 0.16 now. But no output ever appears. The behavior is the same as it was with the slowdown tester version.

@JorisGoosen
Copy link
Contributor

Well, I guess it is good it runs, too bad about the output though.
I'm still hard at work at the version with an updated results-output-component and it is getting there.
(There were quite some changes in Qt that I have to handle though)

I'll get back to you beginning next week.

@JorisGoosen
Copy link
Contributor

Alright, I've managed to get a prototype version of JASP using Qt6, you can get it here: https://static.jasp-stats.org/JASP-Qt6-testing.zip

And I really hope this solves the slowdown. There might be other things wrong with it though, I had to change quite some unrelated things as well to get this running.

@R180
Copy link
Author

R180 commented Nov 23, 2021

Hi JorisGoosen. Thanks. However this Qt6 version does not function at all for me. Once I've launched it, it pretty quickly "stops working" or crashes. This has happened when I try to open a data file from the data library or from my computer, and sometimes even before I get to that point. See the screen shots, below.
image

@JorisGoosen
Copy link
Contributor

@R180 do you know if safe graphics was still on?

If you are unsure about this you could try starting jasp as JASP.exe --safeGraphics from the place you installed it.
This is mostly because of the warning/error you saw in #1431 (comment)
Although that might have been caused by the strange glitch you had after pressing "Launch JASP" from the installer.

Good to hear all that other software works fine, I really want JASP to also work for you.
The problem is I still don't understand what is the cause of the problem...

I saw in one of your log outputs that you have a GTX1070 in your machine, which should be quite sufficient to run JASP (I have it myself). But perhaps when you start JASP it is running on the intel-gpu. That could cause all sorts of trouble because they are notorious for bugs. And perhaps we are hitting a particular one that those other programs do not.

Starting JASP in --safeGraphics mode should work around those problems. The other option could be to select the nvidia card for JASP in the "NVIDIA Control Panel" :
image

JASP is called "Star wars Jedi Knight - jedi academy" or something because they seem to have the same executable name. But that way you can be sure about which gpu it runs on.

@R180
Copy link
Author

R180 commented Nov 23, 2021

Hi. I managed to run JASP.exe --safeGraphics

However, this did not help. When I then tried to load a data file form the JASP data library, I got the message: "JASP.exe has stopped working"

Also, I don't see anything from NVIDIA on my system:
image

@amirmasoudabdol
Copy link
Contributor

@JorisGoosen, I ran into the same issue when I build your branch. Loading a Data Library crashes JASP.

@JorisGoosen
Copy link
Contributor

@R180 ah then I misremembered the log of another user with this issue, but thanks for pointing that out. At least that problem should now be avoided because JASP remembers that setting.

The fact that @amirmasoudabdol also ran into that means something is wrong there. Ive been containing work though and I can now and here open files from the data library.

Maybe you could tell me which one you both tried?

I can at least op debug.csv all the way at the bottom and if that doesnt work I will build a new version tomorrow that has some fixes, maybe even for the crash you both had.

@R180
Copy link
Author

R180 commented Nov 23, 2021

Hi JorisGoosen. I've tried more than one data file from the JASP library, and none have worked. Among those are the "Tooth Growth" data file.

@JorisGoosen
Copy link
Contributor

Hey @R180

I've been working on this new version: https://static.jasp-stats.org/JASP-Qt6-Testing-2.zip
I can't get it to crash anymore (and the previous one I could) so I hope it works for you.

Perhaps you can give it a go and see whether you can open "Tooth Growth" again and if the glitchy behaviour where JAPS slows down disappears.

@R180
Copy link
Author

R180 commented Dec 3, 2021

@JorisGoosen

Thanks. However, this new version took a very long time to show any signs that it was launching (half a minute). When it finally did launch, I immediately attempted to open the Tooth Growth data from the data library. The result was a familiar "crash" message:
image

@JorisGoosen
Copy link
Contributor

Thanks. However, this new version took a very long time to show any signs that it was launching (half a minute).

Well, that is because it started from a zip and it had to recreate certain paths in the filesystem (that is the warning "JASP has been installed from a Zip" that came when you double-clicked JASP.exe is there for).

When it finally did launch, I immediately attempted to open the Tooth Growth data from the data library. The result was a familiar "crash" message

Well that is not as I had hoped...
However, could you attach the logfiles of such a failed attempt here?
That way I can see where it crashes for you, because I have no way of reproducing this problem on any of my systems.

@R180
Copy link
Author

R180 commented Dec 3, 2021

@JorisGoosen Unfortunately JASP (Qt-Testing-2) is not generating log files. See below.
image

@JorisGoosen
Copy link
Contributor

Hmm, perhaps you could help me out by showing the permissions for the folder one level up, as in:
image

And then in properties the security settings for the username you use, mine are as follows:
image

I find it very strange that you cannot write these logfiles.

I am also curious if in Appdata/Roaming/JASP/JASP you have the file called knownissues.json.

@R180
Copy link
Author

R180 commented Dec 8, 2021

@JorisGoosen
It looks like all of the permissions are granted. . . .
image

@R180
Copy link
Author

R180 commented Dec 22, 2021

I was forced to upgrade my OS to a newer version of Windows 10. I installed JASP 16. The attempted automatic launch after install crashed--there was a message saying something like graphics driver not available. I then manually launched JASP and it launched without error. I was able to open the Tooth Growth data set and run an ANOVA. Some log files are attached.
New folder.zip

@boutinb
Copy link
Contributor

boutinb commented Dec 22, 2021

Hi @R180 Apparently the Windows 10 upgrade solved some problems, that's quite fine! Do you have still problems with the slow response time of the JASP interface?
From the log file, I see that you did not install the official JASP 0.16 version, but the version onder development. Can you install also the official JASP 0.16 version in https://jasp-stats.org/download/ ?

@R180
Copy link
Author

R180 commented Dec 22, 2021

@boutinb

FYI. The interface is still slow, and I'm not sure anything is solved. I had bee using the version under development to try to solve the slowness. However, that under-development version had much worse performance, crashing upon loading a data file, and not generating any log data. I removed that version from my system, and installed the official JASP 16 version (I don't know why the log file says differently). So really, it appears that I'm back to Square One.

@JorisGoosen
Copy link
Contributor

@boutinb

FYI. The interface is still slow, and I'm not sure anything is solved. I had bee using the version under development to try to solve the slowness. However, that under-development version had much worse performance, crashing upon loading a data file, and not generating any log data.

Too bad it is going like this... We are still looking at the slowness problem and the fix of switching to qt 6 does seem to solve it for others. So Im still hopeful it might work out for you as well. Once I figure out what is going wrong with your logs and normal startup.

I removed that version from my system, and installed the official JASP 16 version (I don't know why the log file says differently). So really, it appears that I'm back to Square One.

I've just looked at the logfile and I do not know what @boutinb is talking about but you did use the 0.16 release version for the log so at least that went "well".

@juliuspfadt juliuspfadt added Bug: High Bugs that are negatively affecting the area of the program, but don't need immediate fix. Bug: Medium Bugs that don't influence the basic function of the app, but it's better to fix them at some point. and removed Bug: High Bugs that are negatively affecting the area of the program, but don't need immediate fix. labels Oct 13, 2022
@shun2wang
Copy link
Contributor

All related issues was fixed. if have anther issue please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: Medium Bugs that don't influence the basic function of the app, but it's better to fix them at some point. OS: Windows 10
Projects
None yet
Development

No branches or pull requests

8 participants