Steffenhir / GraXpert

GraXpert is an astronomical image processing program for extracting and removing gradients from the background of your astrophotos.
https://www.graxpert.com/
GNU General Public License v3.0
158 stars 16 forks source link

GraxXpert 3.0.2 on Windows 11 hangs when trying to load an image file #185

Open glowworm51 opened 1 month ago

glowworm51 commented 1 month ago

When trying to load a fits image file, GraXpert hangs showing 'Calculating...' and then (Not Responding).

Screenshot 2024-08-13 152713

joaquinabian commented 1 month ago

I confirm the behaviour on windows 11. Sometimes it loads the file (FITS) very fast, sometimes it hangs opening the very same file. When killing the program after it hangs, it leaves a number of gosth processes running. Terminating these processes in the Task Manager seems to make the program to work again.

Jpimohr commented 1 month ago

Same here! Sometimes it opens the FiTS-file, but mosttimes not.

howardgrams commented 1 month ago

Also here. Seems to be happening more and more frequently than it did a month or so ago.

schmelly commented 3 weeks ago

Hi all, do you see any errors in GraXpert's log file when this behavior occurs? You can find the log in this folder: %localppdata%\GraXpert\GraXpert\Logs I suspect you might run into some out of memory error.

CS, David

howardgrams commented 3 weeks ago

The log doesn't show anything -- errors or anything else. I tried opening a fits file in graxpert and left it in the hung state for a couple of hours before killing all the graxpert processes. Nothing at all was appended to the log which only showed entries from the last time I actually got it to run a week ago. I started it up again and asked it to open a tiff file and it did, and it appended 6 lines to the log - 3 spawnprocess ... started and 3 spawnprocess.... finished. After that I tried the fits file again and it opened this time. Again it added 6 more lines to the log - 3 started lines and 3 ended lines.

dave456 commented 1 week ago

I've run into this issue as well, and I have a "fix" that seems to always work. YMMV of course.

I'm guessing the problematic file is actually the preferences.json file. Not sure if it gets corrupted or what, but I remove the following files (or save them off in case you think you might want to save something). To further speculate, I wonder if its the background points that it saves in the preferences.json from previous runs.

Once this bug starts happening for me, it always happens, so I just remove the files.

Remove these two files:

%localappdata%\GraXpert\GraXpert\Logs\graxpert.log %localappdata%\GraXpert\GraXpert\preferences.json

fujiokae commented 1 week ago

I have the same problem and deleting two files graxpert.log & preferences.json solved the problem. Thanks! Just a tip to add. After you deleted preferences.json and restarted GraXpert, you have to set Advanced options again as these get back to the defaults. In my case, I have to set Background Extraction AI-model and Denoising AI-Model.

gubihu commented 1 week ago

Same problem here. I have to restart a few times, sometimes it succeeds. Also, sometimes it hangs the same way, by changing stretching selection. This is really annoying as at that time I lose the whole processing I have done so far.