1084

Trongate Desktop App. Error: SCRIPT FAILED TO EXECUTE...

Showing 1 to 10 of 17 comments.

Comments for “Trongate Desktop App. Error: SCRIPT FAILED TO EXECUTE...”
 

Posted by mbrick02 on Saturday 9th April 2022 at 21:25 GMT

Using Trongate Desktop app with Win 10 Home on a laptop, I'm getting - Error: SCRIPT FAILED TO EXECUTE, THIS NORMALLY MEANS AN ERROR WAS THROWN. CHECK THE RENDERER CONSOLE FOR THE ERROR.
---
Note: I'm not having any problem with Trongate on my Desktop PC (Win 10 Pro)
Founding Member

mbrick02

User Level: Founding Member

Date Joined: 5/12/2018

Posted by djnordeen on Saturday 9th April 2022 at 21:34 GMT

Can you give a bit more info on when the error occurs.
What did you try to do when you recieved the error?
Early Adopter

djnordeen

User Level: Early Adopter

Date Joined: 20/08/2021

Posted by mbrick02 on Saturday 9th April 2022 at 22:04 GMT

Thanks so much for the quick reply, djnordeen -- and sorry I wasn't more specific.
The error occurs when I choose a folder (doesn't matter which folder), after clicking [MODIFY EXISTING APP]

I tried deleting %APPDATA%/Trongate

This comment was edited by mbrick02 on Saturday 9th April 2022 at 22:18 GMT

Founding Member

mbrick02

User Level: Founding Member

Date Joined: 5/12/2018

Posted by DaFa on Sunday 10th April 2022 at 23:26 GMT

Hi mbrick02, could please delete the other duplicate post? This ones all yours Dan 👍

This comment was edited by DaFa on Sunday 10th April 2022 at 23:26 GMT

Founding Member

DaFa

User Level: Founding Member

Date Joined: 30/11/2018

Posted by Davcon on Sunday 10th April 2022 at 23:30 GMT

I don't know what's causing that. The error text is not something that I wrote so it must be something internal.

At the point when you select a directory, there's a moment when the Desktop App checks to see if it's a Trongate app. I wonder if it's something to do with that.

My strategy for exploring this would be to:

* restart the computer (bet you knew I'd say that!)

* create a new Trongate app

* reset (or restart) the Desktop app

* attempt to select the app that you had just created


The outcome from the above might potentially give some kind of indication as to what to do next.
Founding Member

Davcon

User Level: Founding Member

Date Joined: 3/11/2018

Posted by DaFa on Monday 11th April 2022 at 09:50 GMT

good suggestion DC. I have seen that error message before, and think it was to do with a corrupt or malformed json parse.
Founding Member

DaFa

User Level: Founding Member

Date Joined: 30/11/2018

Posted by Davcon on Monday 11th April 2022 at 21:59 GMT

I've just given help to a Windows user who had a challenge with a "query.conn" error.

We found out how to solve it!

Turns out there was 2 instances of the Trongate Desktop App running at the same time.

Perhaps that's the reason why this error showed up. In which case, my suggestions above are good.
Founding Member

Davcon

User Level: Founding Member

Date Joined: 3/11/2018

Posted by mbrick02 on Tuesday 12th April 2022 at 21:42 GMT

I created a new app and was able to get back into it to modify it.

But I still get the same, "Error: SCRIPT FAILED TO EXECUTE..." when I attempt to modify my old apps.

I'm not sure how to try to resolve DaFa's suggestion of the malformed json.
Founding Member

mbrick02

User Level: Founding Member

Date Joined: 5/12/2018

Posted by DaFa on Wednesday 13th April 2022 at 08:10 GMT

Don't worry about the malformed json, that was more for the internals of the Desktop app.

So a newly created app works when you modify it?

You say it gives you an error when you try to modify an old app, at what stage? the screen shows you a version change?

This comment was edited by DaFa on Wednesday 13th April 2022 at 08:13 GMT

Founding Member

DaFa

User Level: Founding Member

Date Joined: 30/11/2018

Posted by mbrick02 on Wednesday 13th April 2022 at 16:41 GMT

Thanks for the help.

After I close out of my newly created web-app and then restart the Desktop App and try and open an old, saved web-app I get the same "Error: SCRIPT FAILED TO EXECUTE, THIS NORMALLY..."

I was able to get back into the newly created web-app and ad a module. After adding the module, I could add get back into the new web-app, but all of my old apps seem to be inaccessible.

I did NOT notice a new version (Desktop App ver. 1.0.004).

Thanks again.
---------------------
Later I experimented with deleting/renaming the old web-app folder.
I then cloned/downloaded the git repository into a new folder and got the same error -- apparently the Desktop App doesn't like something in the folder.
But note: My Windows Desktop PC (NOT the laptop) can use the Trongate Desktop App on this repository/folder with no problem. Both are Windows machines but the laptop has the Home addition.

The (Windows) laptop also has problems running the Trongate Desktop App with (seemingly) all my old repositories/folders

This comment was edited by mbrick02 on Wednesday 13th April 2022 at 18:39 GMT

Founding Member

mbrick02

User Level: Founding Member

Date Joined: 5/12/2018

×