Author Topic: Swap File Compression Checksum Error during saving Project  (Read 2412 times)

Offline msmythers

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1178
    • astrobin
Is there anyway of recovering from this error in ver 1171. I have left PixInsight open. I was saving the project when I received this checksum error. I checked and the history for the main image works. If not I will just turn off swap file compression to avoid this.


Mike

Windows 7 64 16GB ram. 2TB drive with plenty of space for now.

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Swap File Compression Checksum Error during saving Project
« Reply #1 on: 2015 August 22 01:31:37 »
Hi Mike,

This should never happen under normal working conditions. It may be caused by a bug in the swap I/O routines that I have rewritten for version 1.8.4, although this is rare, since these routines have been exhaustively analyzed and checked for correctness. If we have a bug here, it is a maximum priority issue.

This problem may be caused also by a sporadic hardware and/or driver failure. One question: is the image in question very big? Which are its dimensions and pixel sample format?

To recover from this problem, you can force a rewrite of the corresponding swap file as follows:

- With History Explorer, make sure that you make a backup of the processes that you have applied. Simply create a ProcessContainer icon with the current image history.

- With History Explorer, jump to the step immediately before the checksum error.

- Re-apply the rest of processes, which you have now in the ProcessContainer icon.

Let me know if this helps.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline msmythers

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1178
    • astrobin
Re: Swap File Compression Checksum Error during saving Project
« Reply #2 on: 2015 August 22 05:56:19 »
Juan

I had never seen<*Broken> in the history before, interesting. I was able to go back and recover from that point forward. The project was then able to save. A very robust history/swap file system.

I've worked on larger images in the past. This was only 5200x3462, 16-bit RGB. I normally would have done a conversion to 32 bit at the beginning but I just missed that step.

I haven't had any new hardware or driver updates in a while. I'll run a diagnostic on the drives for a health check. I really don't have a space issue with my drives so I don't have a reason for running with compression. I'll also check and make sure that the anti-virus is not active for the swap directory. I have PI excluded but anti-virus software have minds of there own at times.


Thanks for the help with the recovery.


Mike

Oh yeah, I exited PI, started the program and was able to load the saved project with no errors!
« Last Edit: 2015 August 22 06:04:09 by msmythers »