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)
Trongate Desktop App. Error: SCRIPT FAILED TO EXECUTE...
4 years ago
4 years ago
#1
4 years ago
#2
Can you give a bit more info on when the error occurs.
What did you try to do when you recieved the error?
What did you try to do when you recieved the error?
4 years ago
#3
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
The error occurs when I choose a folder (doesn't matter which folder), after clicking [MODIFY EXISTING APP]
I tried deleting %APPDATA%/Trongate
4 years ago
#4
Hi mbrick02, could please delete the other duplicate post? This ones all yours Dan ?
4 years ago
#5
good suggestion DC. I have seen that error message before, and think it was to do with a corrupt or malformed json parse.
4 years ago
#6
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.
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.
4 years ago
#7
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?
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?
4 years ago
#8
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
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
4 years ago
#9
I'm not sure how...but this could be a Windows Update issue...I'll let you know after I finish my update...
4 years ago
#10
hmm I would be surprised if after a Windows update it started working for you. And having Windows home should not make any difference with the Desktop app.
Could you confirm you have tried the following:
Delete the desktop app from where ever you unzipped it to, redownload the latest version from https://github.com/davidjconnelly/trongate-framework/releases/download/v1.3.3031/Trongate-1.0.4-win.zip or the link from https://trongate.io/download - which ever makes you feel good. Unpack this zip file to a place where you have full read-write access to, maybe C:/Winapps/Trongate
Delete the config folder 'Trongate' from %appdata%
Ensure your webstack is loaded and running - i.e Xampp (both Apache and MySQL are running - green lighted)
Test localhost in a browser - it should show the Xampp dashboard if Xampp is your webstack
Run the Trongate Desktop app (should open with the v1.0.004 window - click OKAY) then create a new app, call it 'z1', choose a location (htdocs - if you have xampp installed) - view your app in the browser (should open to http://localhost/z1/) and say 'It Totally Works'
In the Desktop app - select reset, it will flash a bit, then select 'Modify Existing App', select 'z1' > Does it give you that error now? if not continue in your favourite text editor - open 'z1' and edit the licence file you see in the 'engine' folder of the 'z1' app, then change the version number from 1.3.3045 to something smaller like 1.3.1000. Save it and go back to the desktop app (select 'RESET' if it is still open), then try 'Modify Existing App' once more. Choose the 'z1' folder, and if it doesn't show the error page you should be seeing 'TRONGATE 1.3.3035 IS AVAILABLE', select either option 'UPDATE to 1.3.3035' or 'CONTINUE USING 1.3.1000'.
If you chose to update, the licence file should now be reverted back to 1.3.3035 and the Desktop app will display a successfully updated framework - click 'OKAY' and you should now be brought back to the main blue Trongate page on the Desktop app.
If at ANY of the stages above you get that error, please advise.
If it is an older app previously created with an older version of the Desktop app, try creating a new app with this current version and copy your modules over along with any public folders you may have changed, then try modifying the app again - then let me know where the error pops up...
Could you confirm you have tried the following:
Delete the desktop app from where ever you unzipped it to, redownload the latest version from https://github.com/davidjconnelly/trongate-framework/releases/download/v1.3.3031/Trongate-1.0.4-win.zip or the link from https://trongate.io/download - which ever makes you feel good. Unpack this zip file to a place where you have full read-write access to, maybe C:/Winapps/Trongate
Delete the config folder 'Trongate' from %appdata%
Ensure your webstack is loaded and running - i.e Xampp (both Apache and MySQL are running - green lighted)
Test localhost in a browser - it should show the Xampp dashboard if Xampp is your webstack
Run the Trongate Desktop app (should open with the v1.0.004 window - click OKAY) then create a new app, call it 'z1', choose a location (htdocs - if you have xampp installed) - view your app in the browser (should open to http://localhost/z1/) and say 'It Totally Works'
In the Desktop app - select reset, it will flash a bit, then select 'Modify Existing App', select 'z1' > Does it give you that error now? if not continue in your favourite text editor - open 'z1' and edit the licence file you see in the 'engine' folder of the 'z1' app, then change the version number from 1.3.3045 to something smaller like 1.3.1000. Save it and go back to the desktop app (select 'RESET' if it is still open), then try 'Modify Existing App' once more. Choose the 'z1' folder, and if it doesn't show the error page you should be seeing 'TRONGATE 1.3.3035 IS AVAILABLE', select either option 'UPDATE to 1.3.3035' or 'CONTINUE USING 1.3.1000'.
If you chose to update, the licence file should now be reverted back to 1.3.3035 and the Desktop app will display a successfully updated framework - click 'OKAY' and you should now be brought back to the main blue Trongate page on the Desktop app.
If at ANY of the stages above you get that error, please advise.
If it is an older app previously created with an older version of the Desktop app, try creating a new app with this current version and copy your modules over along with any public folders you may have changed, then try modifying the app again - then let me know where the error pops up...