# Kaju 2.1 stuck on Processing file

**URL:** <https://forum.xojo.com/t/kaju-2-1-stuck-on-processing-file/72862>\
**Category:** Extras\
**Created:** [October 25, 2022, 1:26pm UTC](https://forum.xojo.com/t/kaju-2-1-stuck-on-processing-file/72862 "2022-10-25T13:26:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Julien\_Courtes1](https://forum.xojo.com/letter_avatar_proxy/v4/letter/j/839c29/32.png) [@Julien\_Courtes1](https://forum.xojo.com/u/Julien_Courtes1)\
**Post date:** [October 25, 2022, 1:26pm UTC](https://forum.xojo.com/t/kaju-2-1-stuck-on-processing-file/72862/1 "2022-10-25T13:26:07Z")

</div>

Hello

I tried to use Kaju version 2.1 on an app. As the app is API 2.0, I modified fields to build the project.

Replaced:

- `Application` by `DesktopApplication`
- `Window` by `DesktopWindow`
- `App.YieldToNextTread()` by `Thread.YieldToNext()`

I was using Xojo 2022r2 and was on macOS BigSur

I checked using debugger and app is correctly downloaded in a temporary folder but nothing happens after, Label on self-updater window is saying “Processing file…”

Thank you

---

<div class="post-metadata">

**Author:** ![Kem\_Tekinay](https://forum.xojo.com/user_avatar/forum.xojo.com/kem_tekinay/32/154_2.png) [@Kem\_Tekinay](https://forum.xojo.com/u/Kem_Tekinay)\
**Post date:** [October 25, 2022, 4:05pm UTC](https://forum.xojo.com/t/kaju-2-1-stuck-on-processing-file/72862/2 "2022-10-25T16:05:15Z")

</div>

I think something else must have changed from the original project. Can you diff your code against the original and see if there is, perhaps, a Timer that is now default Off or a Shell that is supposed to be Asynchronous, or something like that?

---

<div class="post-metadata">

**Author:** ![Julien\_Courtes1](https://forum.xojo.com/letter_avatar_proxy/v4/letter/j/839c29/32.png) [@Julien\_Courtes1](https://forum.xojo.com/u/Julien_Courtes1)\
**Post date:** [October 26, 2022, 8:50am UTC](https://forum.xojo.com/t/kaju-2-1-stuck-on-processing-file/72862/3 "2022-10-26T08:50:07Z")

</div>

Thank you, I will try to look into it but there will be a lot of diff I think with the changes of API version and Xojo version.

---

<div class="post-metadata">

**Author:** ![Ulrich\_Bogun](https://forum.xojo.com/user_avatar/forum.xojo.com/ulrich_bogun/32/1864_2.png) [@Ulrich\_Bogun](https://forum.xojo.com/u/Ulrich_Bogun)\
**Post date:** [October 27, 2022, 8:58am UTC](https://forum.xojo.com/t/kaju-2-1-stuck-on-processing-file/72862/4 "2022-10-27T08:58:21Z")

</div>

I encountered exactly that problem and found that executeAsync is missing an event call. Works for me this way:

```auto
Public Sub ExecuteAsync()
  //
  // Uses the new socket to check asynchronously
  // (required for newer certificates)
  //
  // The caller should be prepared to handle an exception in case of error.
  //
  
  If Not PreCheck Then
    RaiseEvent ExecuteAsyncComplete
    Return
  End If
  
  FetchAsync false
End Sub

```

---

<div class="post-metadata">

**Author:** ![Julien\_Courtes1](https://forum.xojo.com/letter_avatar_proxy/v4/letter/j/839c29/32.png) [@Julien\_Courtes1](https://forum.xojo.com/u/Julien_Courtes1)\
**Post date:** [November 2, 2022, 8:38pm UTC](https://forum.xojo.com/t/kaju-2-1-stuck-on-processing-file/72862/5 "2022-11-02T20:38:06Z")

</div>

Hello, sorry for the late answer but tried this and it changed nothing and it’s still stuck to processing file.

I will try to look at differences between the github and the project in API2.0

---

<div class="post-metadata">

**Author:** ![Stephen\_Dodd](https://forum.xojo.com/user_avatar/forum.xojo.com/stephen_dodd/32/530_2.png) [@Stephen\_Dodd](https://forum.xojo.com/u/Stephen_Dodd)\
**Post date:** [March 13, 2025, 2:03pm UTC](https://forum.xojo.com/t/kaju-2-1-stuck-on-processing-file/72862/6 "2025-03-13T14:03:19Z")

</div>

For those still searching and coming to this thread the solution is to change the shZipper execute mode to Asynchronous per [https://tracker.xojo.com/xojoinc/xojo/-/issues/63595](https://tracker.xojo.com/xojoinc/xojo/-/issues/63595)

Longer discussion:

> [@Kaju ZipShell.Completed Doesn't Fire](https://forum.xojo.com/t/kaju-zipshell-completed-doesnt-fire/61050/26):
>
> Phew, I’m glad I found this thread! I just updated my project to use the latest version of Kaju which uses URLConnection and ran into the same issue as Julia. Same cause, shZipper.ExecuteMode was set to Synchronous, even though it was Asynchronous in Kaju Update Test where I copied the Kaju Classes folder from. After manually changing shZipper to Asynchronous in the Inspector, all seems to be working again sweat_smile. But in terms of trying to figure out why this change occurs between copyin…
