NaN error KWGT

I keep getting this error:

Try to create a new widget or edit an existing one, I get the error.
Deleted data and cache. Re installed several times. It worked after the third install but then after managing to create one simple widget, the issue is back.

Seems to think the widget is 0 pixels and scale is grayed out.

Any ideas?

I’m getting the same error whenever I try to load a prebuilt widget. After I clear the app’s data I can add one widget, but after that I can’t add a second widget without getting this same error message. I’m using a Samsung S23 with the latest OS update.

That’s generally 1 of 2 things

a permissions error. If so, edit the app’s permissions or backup/reinstall and grant full permissions that way

The most recent klwp/kwgt releases are causing issues for many, rollback a version or 2

Klyde,

Thanks for the link. I have done a clean install including changing to a brand new folder in root of phone. I am still getting the Nan error and I rolled back to the last stable 3.6. I cant shake it. Even the dynamic widget @win7guru shared is giving me the error.

That is interesting because I am getting an error that makes the new widget 1x1 kustom point when I create a komponent. This happened since the last update. Perhaps it is related to that.

Regarding the 1x1 kustom point, the layer is set to zero, but changing it to 75 or 100 restores the widget. Important note: This happens when importing widgets and creating new widgets.

@frank were you able to potentially fix this in that build you mentioned?

Anyone experiencing this already tried the new 3.77b434610 build from Kylde’s link?

I cannot reproduce this error BUT i have created a potential workaround, can someone with this issue please test version 3.77b434610 or later? Currently only available via manual download here:

For me, it seems to be working properly again. I did nothing new. It just randomly decided to start working again.

So I would try it but I really don’t want to mess with it now that it’s cooperating.

If the issue comes back I’ll give it a try.

This bug is hunting me since i cannot reproduce it and i understand it is super frustrating so if it happens again testing new build would be great

Had problems with fitness, works fine now!
Used the fix

1 Like

This error happens on kwgt for me since playing on smart launcher. Any new widget, I get nan error. No matter which launcher. Will report back

3.77b435216 seems to have worked for me. Also, try going to your widget’s root directory and the Layer tab. Make sure that the Scale attribute is not set to NaN. If it is, set it to some value like 100.

1 Like

Sorry it worked. It breaks when I try using it with smart launcher for whatever reason. No biggie, back to Nova.