# Bug maybe in Autointegrate

**URL:** <https://forums.ruuth.xyz/t/bug-maybe-in-autointegrate/220>\
**Category:** AutoIntegrate\
**Created:** [August 24, 2024, 3:28pm UTC](https://forums.ruuth.xyz/t/bug-maybe-in-autointegrate/220 "2024-08-24T15:28:01Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ricandersonva](https://forums.ruuth.xyz/letter_avatar_proxy/v4/letter/r/bbe5ce/32.png) [@ricandersonva](https://forums.ruuth.xyz/u/ricandersonva)\
**Post date:** [August 24, 2024, 3:28pm UTC](https://forums.ruuth.xyz/t/bug-maybe-in-autointegrate/220/1 "2024-08-24T15:28:01Z")

</div>

it looks like i’m using v 1.70 test4 and I am experiencing a bug when including Graxpert background extraction. Im getting an error that complains about a file not found in a temp directory. See attached screenshot for details. Graxpert runs fine by itself, so not sure where the error is coming from. I verified that the file does not exist in the \user\appdata folder specified or anywhere else that I have searched.

 ![Grexpert error in autointgrate Screenshot 2024-08-24 110248](https://forums.ruuth.xyz/uploads/default/original/1X/015923ae7d304596648626bd8259260292e939f8.jpeg)

---

<div class="post-metadata">

**Author:** ![jarmor](https://forums.ruuth.xyz/letter_avatar_proxy/v4/letter/j/6f9a4e/32.png) [@jarmor](https://forums.ruuth.xyz/u/jarmor)\
**Post date:** [August 24, 2024, 4:48pm UTC](https://forums.ruuth.xyz/t/bug-maybe-in-autointegrate/220/2 "2024-08-24T16:48:31Z")

</div>

Hi Ric,

Thanks for reporting the problem. Unfortunately I could not easily reproduce the problem.

Would it be possible that you are running some older version of GraXpert? Older versions used to write a .fits file while newer versions write a .xisf file. I used to have an option for this but I removed it some months ago as older versions are incompatible with some features… So do you have a corresponding .fits file in the temp directory?

Regards,  
Jarmo

---

<div class="post-metadata">

**Author:** ![ricandersonva](https://forums.ruuth.xyz/letter_avatar_proxy/v4/letter/r/bbe5ce/32.png) [@ricandersonva](https://forums.ruuth.xyz/u/ricandersonva)\
**Post date:** [August 24, 2024, 5:15pm UTC](https://forums.ruuth.xyz/t/bug-maybe-in-autointegrate/220/3 "2024-08-24T17:15:23Z")

</div>

Thanks I thought i downloaded the latest. Will check.

---

<div class="post-metadata">

**Author:** ![ricandersonva](https://forums.ruuth.xyz/letter_avatar_proxy/v4/letter/r/bbe5ce/32.png) [@ricandersonva](https://forums.ruuth.xyz/u/ricandersonva)\
**Post date:** [August 25, 2024, 12:29pm UTC](https://forums.ruuth.xyz/t/bug-maybe-in-autointegrate/220/4 "2024-08-25T12:29:49Z")

</div>

You were correct. I thought I installed the graxpert windows install package, but did not. I tried. I have downloaded the msi from their site several times and have tried to install several versions of the 3.x release, but the msi install does nothing. never shows a screen. I am trying to run down whats happening on their site.

---

<div class="post-metadata">

**Author:** ![ricandersonva](https://forums.ruuth.xyz/letter_avatar_proxy/v4/letter/r/bbe5ce/32.png) [@ricandersonva](https://forums.ruuth.xyz/u/ricandersonva)\
**Post date:** [August 25, 2024, 2:50pm UTC](https://forums.ruuth.xyz/t/bug-maybe-in-autointegrate/220/5 "2024-08-25T14:50:34Z")

</div>

I was finally able to install the graxpert msi file after finding in file properties that it had a block checked because it came from another computer. The authors probably did not properly configure the original msi for general downloading.

So, i ran a test in autointegrate and am further along, but still have an error.  
I’m getting an error that it isn’t finding a file in temp directory. Here is the process console output where it’s using the TEMP variable to save then read a file:

(looking in that temp dir: I find the AutointegrateTemp.xisf file but not the AutointegrateTemp\_Graxpert.xisf file)

**"Reading image:**  
**J:/1 Astronomy/1 HomeGear/2024-08-24/ldn 1165/AutoOutput/AutoOutput/ldn 1165\_Light\_LENH\_2024-08-25\_024042\_0180s\_ISO1600\_cc\_d\_cb.xisf**  
**Loading image: w=5202 h=3464 n=3 RGB UInt16**  
**65 FITS keyword(s) extracted**  
**AutoIntegrate: Run GraXpert from image ldn\_1165\_Light\_LENH\_2024\_08\_25\_024042\_0180s\_ISO1600\_cc\_d\_cb, target image ldn\_1165\_Light\_LENH\_2024\_08\_25\_024042\_0180s\_ISO1600\_cc\_d\_cb\_GC**  
**GraXpert using correction Subtraction and smoothing 0.5**  
**GraXpert path does not exist: C:\Users\Ric\AppData\Local\Programs\GraXpert\GraXpert.exe4.exe**  
**copy window ldn\_1165\_Light\_LENH\_2024\_08\_25\_024042\_0180s\_ISO1600\_cc\_d\_cb to AutoIntegrateTemp**  
**GraXpert input file C:/Users/Ric/AppData/Local/Temp/AutoIntegrateTemp.xisf**

**Writing file:**  
**C:/Users/Ric/AppData/Local/Temp/AutoIntegrateTemp.xisf**  
\*\*\*\* Warning: Overwriting already existing file: C:/Users/Ric/AppData/Local/Temp/AutoIntegrateTemp.xisf\*\*  
**Writing image: w=5202 h=3464 n=3 RGB UInt16**  
**66 FITS keyword(s) embedded**  
**ICC profile embedded: ‘sRGB IEC61966-2.1’, 3024 bytes**  
**1 image property embedded**  
**Force close AutoIntegrateTemp**  
**GraXpert command “C:\Users\Ric\AppData\Local\Programs\GraXpert\GraXpert.exe4.exe” -cli “C:/Users/Ric/AppData/Local/Temp/AutoIntegrateTemp.xisf” -correction Subtraction -smoothing 0.5**  
**GraXpert processing…**  
**GraXpert finished**  
**GraXpert output file C:/Users/Ric/AppData/Local/Temp/AutoIntegrateTemp\_GraXpert.xisf**

**Reading image:**  
**C:/Users/Ric/AppData/Local/Temp/AutoIntegrateTemp\_GraXpert.xisf**  
_\< failed \>_  
\*\*\*\*\* Error: No such file: C:/Users/Ric/AppData/Local/Temp/AutoIntegrateTemp\_GraXpert.xisf\*\*  
**AutoIntegrate: \*\*\* openImageWindowFromFile Error: imageWindows.length: 0, file C:/Users/Ric/AppData/Local/Temp/AutoIntegrateTemp\_GraXpert.xisf**  
**Error: \*\*\* openImageWindowFromFile Error: imageWindows.length: 0, file C:/Users/Ric/AppData/Local/Temp/AutoIntegrateTemp\_GraXpert.xisf**  
**Processing stopped!**  
**Write processing steps to J:/1 Astronomy/1 HomeGear/2024-08-24/ldn 1165/AutoOutput/AutoProcessed/AutoIntegrate.log**  
**AutoIntegrate exiting"**

---

<div class="post-metadata">

**Author:** ![jarmor](https://forums.ruuth.xyz/letter_avatar_proxy/v4/letter/j/6f9a4e/32.png) [@jarmor](https://forums.ruuth.xyz/u/jarmor)\
**Post date:** [August 25, 2024, 7:21pm UTC](https://forums.ruuth.xyz/t/bug-maybe-in-autointegrate/220/6 "2024-08-25T19:21:57Z")

</div>

Hi Ric,

Thanks for the update.

Another issue that I found with GraXpert is that you need to manually start it once. Otherwise it does not find the AI model. Maybe starting the GraXpert manually once would help here?

I plan to improve the error messaging here. I tried to capture this issue but it looks like it does not detect it properly when the .xisf file is missing.

Regards,  
Jarmo

---

<div class="post-metadata">

**Author:** ![ricandersonva](https://forums.ruuth.xyz/letter_avatar_proxy/v4/letter/r/bbe5ce/32.png) [@ricandersonva](https://forums.ruuth.xyz/u/ricandersonva)\
**Post date:** [October 10, 2024, 4:16pm UTC](https://forums.ruuth.xyz/t/bug-maybe-in-autointegrate/220/7 "2024-10-10T16:16:24Z")

</div>

Jarmo, Hope your doing well. I have finally gotten back to this issue a little deeper. this time I’m running AS 1.71. I also uninstalled Graxpert and installed (v3.0.1) it again. I ran the autointegrate script with graxpert checked and after integration, when graxpert kickoff I got an error again. With this version there is a pop up window that traces back the error. I have attached it. Evidently a specific file is not being found. See attached. I also attached a screenshot of what is in the folder to which the error is referring.

 ![autointeg graxpert error Screenshot 2024-10-10 095228](https://forums.ruuth.xyz/uploads/default/original/1X/2f4aded8b3d751155850277080f6807a5c26bd5e.png)

 ![graxpert directory mentioned in the error](https://forums.ruuth.xyz/uploads/default/original/1X/4393007ac3869ed914eef38b1e52617141c74350.png)

---

<div class="post-metadata">

**Author:** ![ricandersonva](https://forums.ruuth.xyz/letter_avatar_proxy/v4/letter/r/bbe5ce/32.png) [@ricandersonva](https://forums.ruuth.xyz/u/ricandersonva)\
**Post date:** [October 10, 2024, 4:33pm UTC](https://forums.ruuth.xyz/t/bug-maybe-in-autointegrate/220/8 "2024-10-10T16:33:42Z")

</div>

This error should me what was missing from that directory. I found the missing file in another folder nearby and put it into where your script expected it and it worked!

The missing file was in this folder: C:\Users\Ric\AppData\Local\GraXpert\GraXpert\denoise-ai-models\3.0.2

---

<div class="post-metadata">

**Author:** ![jarmor](https://forums.ruuth.xyz/letter_avatar_proxy/v4/letter/j/6f9a4e/32.png) [@jarmor](https://forums.ruuth.xyz/u/jarmor)\
**Post date:** [October 10, 2024, 6:33pm UTC](https://forums.ruuth.xyz/t/bug-maybe-in-autointegrate/220/9 "2024-10-10T18:33:16Z")

</div>

Hi Ric,

Great to hear that you got it working!

Regards,  
Jarmo
