FSDreamTeam forum

Products Support => GSX Support FSX/P3D => Topic started by: edwardpat on October 11, 2018, 03:59:09 am

Title: Runtime error when updating using FSDT Live Updater **SOLVED**
Post by: edwardpat on October 11, 2018, 03:59:09 am
Hi:
I'm getting succesive update messages inside P3Dv4.3 during the last three days. Today the message appeared again (to my surprise, again) and proceeded to shut-down the sim and run the FSDT Live Updater again. All went well until a message about a Runtime error appeared, stopping the update process when (apparently) the GSX scripts were in the process of being updated.
Should anyone at FSDT could take a look into this?.
Thanks, Ed
Title: Re: Runtime error when updating using FSDT Live Updater when GSX scripts are updated
Post by: virtuali on October 11, 2018, 09:56:02 am
I cannot reproduce this, the scripts are being updated correctly, and I tried purposely removed the scripts folder and it was correctly downloaded again.

Could you please try again ? Maybe you started the Live Update exactly while we were uploading something, and this might cause such errors.
Title: Re: Runtime error when updating using FSDT Live Updater when GSX scripts are updated
Post by: edwardpat on October 11, 2018, 02:31:53 pm
Tried again but unfortunately, I'm getting the same error. Please see picture attached, that I think explains for itself.
Cheers, Ed

Title: Re: Runtime error when updating using FSDT Live Updater when GSX scripts are updated
Post by: ericpak on October 11, 2018, 03:12:54 pm
I got the same message 2 days ago after a fresh GSX L2 reinstallation. As Umberto explained, I set my antivirus in order to exclude the Addon Manager folder and now LiveUpdate runs correctly.
Best regards
Title: Re: Runtime error when updating using FSDT Live Updater when GSX scripts are updated
Post by: edwardpat on October 11, 2018, 03:17:03 pm
I got the same message 2 days ago after a fresh GSX L2 reinstallation. As Umberto explained, I set my antivirus in order to exclude the Addon Manager folder and now LiveUpdate runs correctly.
Best regards

Here I have the Addon Manager folder excluded from AV scanning since the beginning of the times. For me it should be something different that's not working well with the updates.
Thanks for helping anyway.
Cheers, Ed
Title: Re: Runtime error when updating using FSDT Live Updater when GSX scripts are updated
Post by: virtuali on October 11, 2018, 04:19:39 pm
Tried again but unfortunately, I'm getting the same error. Please see picture attached, that I think explains for itself.

I can only confirm it doesn't happen here. Check this:

- Right-click on the Couatl_updater2.exe file in the Addon Manager folder.

- Select Properties->Digital Signatures->Details and report the time/date of the digital signature.
Title: Re: Runtime error when updating using FSDT Live Updater when GSX scripts are updated
Post by: dutchkip on October 11, 2018, 07:01:24 pm
Tried again but unfortunately, I'm getting the same error. Please see picture attached, that I think explains for itself.

I can only confirm it doesn't happen here. Check this:

- Right-click on the Couatl_updater2.exe file in the Addon Manager folder.

- Select Properties->Digital Signatures->Details and report the time/date of the digital signature.

I've got the same. see attached picture
Title: Re: Runtime error when updating using FSDT Live Updater when GSX scripts are updated
Post by: edwardpat on October 11, 2018, 09:08:35 pm
Tried again but unfortunately, I'm getting the same error. Please see picture attached, that I think explains for itself.

I can only confirm it doesn't happen here. Check this:

- Right-click on the Couatl_updater2.exe file in the Addon Manager folder.

- Select Properties->Digital Signatures->Details and report the time/date of the digital signature.

Hi, Here you are.
The text is in spanish, but the date/time is September 28th, 2018 / 11:50:36 am (Eastern Time, USA).
Thanks, Ed

Title: Re: Runtime error when updating using FSDT Live Updater when GSX scripts are updated
Post by: virtuali on October 11, 2018, 09:30:53 pm
The text is in spanish, but the date/time is September 28th, 2018 / 11:50:36 am (Eastern Time, USA).

Please check the Couatl_updater2.exe instead.
Title: Re: Runtime error when updating using FSDT Live Updater when GSX scripts are updated
Post by: edwardpat on October 11, 2018, 09:42:11 pm
The text is in spanish, but the date/time is September 28th, 2018 / 11:50:36 am (Eastern Time, USA).

Please check the Couatl_updater2.exe instead.

Sorry I don't have that file, only the one named Couatl_Updater.exe in the Addon Manager folder.
Ed
Title: Re: Runtime error when updating using FSDT Live Updater when GSX scripts are updated
Post by: virtuali on October 11, 2018, 09:55:32 pm
Sorry I don't have that file, only the one named Couatl_Updater.exe in the Addon Manager folder.

Sorry, but that's not possible, you posted a screenshot with it displaying an error updating "GSX Scripts" and the only program that ever contains that message and does that step IS Couatl_updater2.exe

So, you surely must have it, at least when you saw that error, and it was likely an outdated version which was going to be downloaded by the first step of the update (the Couatl_updater.exe *DOWNLOADS* the current Couatl_updater2.exe, which does the real job )

If you are *really* sure Couatl_updater2.exe is not there anymore, then I'm sorry, but only an antivirus could do that: it might have removed it by mistake, and it keeps doing it because, if you start the Live Udpate, if Couatl_updater2.exe is missing, it should be downloaded again so, basically, unless the antivirus keeps removing it, or it's preventing the download, it's not possible for that file to be missing.
Title: Re: Runtime error when updating using FSDT Live Updater when GSX scripts are updated
Post by: edwardpat on October 11, 2018, 10:12:13 pm
Sorry I don't have that file, only the one named Couatl_Updater.exe in the Addon Manager folder.

Sorry, but that's not possible, you posted a screenshot with it displaying an error updating "GSX Scripts" and the only program that ever contains that message and does that step IS Couatl_updater2.exe

So, you surely must have it, at least when you saw that error, and it was likely an outdated version which was going to be downloaded by the first step of the update (the Couatl_updater.exe *DOWNLOADS* the current Couatl_updater2.exe, which does the real job )

If you are *really* sure Couatl_updater2.exe is not there anymore, then I'm sorry, but only an antivirus could do that: it might have removed it by mistake, and it keeps doing it because, if you start the Live Udpate, if Couatl_updater2.exe is missing, it should be downloaded again so, basically, unless the antivirus keeps removing it, or it's preventing the download, it's not possible for that file to be missing.

So, in short, what can I do to redownload that Couatl_Updater2.exe file?. I probably deleted it manually by mistake, but I doubled-checked the AV is excluding the Addon Manager folder. Apart of that, during the re-runs of the Updater I turned the AV off.
Do I need to run the complete GSX installer again?.
Please let me know.
Thanks, Ed
Title: Re: Runtime error when updating using FSDT Live Updater when GSX scripts are updated
Post by: virtuali on October 11, 2018, 10:43:39 pm
So, in short, what can I do to redownload that Couatl_Updater2.exe file?.

As I've said, Couatl_updater.exe WILL download it, if it's missing. That's the whole point of Couatl_updater.exe: to download the Couatl_updater2.exe (which is what DOES the "real" update) so, with this method, the update can "update itself".

If it doesn't, you can just stop there and check again every possible firewall/antivirus program that can block the download, because it's really the only possible reason for not having Couatl_updater2.exe after running Couatl_updater.exe

Well, you can also try this:

- Remove this folder:

%APPDATA%\Virtuali\UpdateCache

And try again.
Title: Re: Runtime error when updating using FSDT Live Updater when GSX scripts are updated
Post by: edwardpat on October 12, 2018, 01:16:00 am
Hi:
Same error. The issue still persists, see picture below, it hasn't changed anything.
What I did:
1. Turned OFF completely my AV/Firewall (Kaspersky).
2. Deleted the folder %AppData%\Roaming\Virtuali\UpdateCache, as you indicated.
3. Disabled Windows Defender completely (I'm running Win7), even if it's the first time I do that. Days ago everything from FSDT was working fine while I had it enabled, but I just wanted to make sure it was not blocking anything.
4. Run FSDT Live Update (Couatl_Updater.exe) again.
Result: Runtime error (see picture below). It seems the file Couatl_Updater2.exe is not being downloaded here.
If this issue is starting to annoy you, you're not alone, I'm annoyed too!.
I'm open to try any other suggestions you may have.
Thanks, Ed

PD: Even if the error message is not exactly the same, it seems that I'm not the only one: http://www.fsdreamteam.com/forum/index.php/topic,19300.0.html

Title: Re: Runtime error when updating using FSDT Live Updater when GSX scripts are updated
Post by: virtuali on October 12, 2018, 10:56:05 am
Result: Runtime error (see picture below). It seems the file Couatl_Updater2.exe is not being downloaded here.

As I've said, the only possible reason for this is something blocking the download. Or something removing it after the download.

It's possible to log the update process, this way:

- Go to the folder the Live Update is installed, by default C:\Program Files (x86)\Addon Manager and type the following on the file Explorer address bar.

CMD  and then press Enter

- A command prompt should open on that path. Type the following:

Couatl_Updater.exe /LOG=logfile.txt

Run the installer and wait for the error to appear. A log.txt file should have been created in the same folder. ZIP it and attach it to a post, so I can check what's going on with your system.
Title: Re: Runtime error when updating using FSDT Live Updater when GSX scripts are updated
Post by: edwardpat on October 12, 2018, 02:13:57 pm
Ok, thanks, I'll do that a bit later today and will report back to you with the log files.
Cheers, Ed
Title: Re: Runtime error when updating using FSDT Live Updater when GSX scripts are updated
Post by: edwardpat on October 12, 2018, 06:22:02 pm
Ok, the logfile was created according to your instructions.
Please note the following:
1. The test was done with the AV/Firewall deactivated (Kaspersky Internet Security)
2. The Windows Defender is deactivated (Win7)
3. Apart of this, the Addon Manager folder is excluded from the AV scanning (but the AV was deactivated anyway)
Thanks, Ed
Title: Re: Runtime error when updating using FSDT Live Updater when GSX scripts are updated
Post by: virtuali on October 12, 2018, 07:58:34 pm
You must have done some kind of mistake, like *manually* renaming or copying over the Couatl_updater2.exe to Couatl_updater.exe, maybe because you assumed the Couatl_updater2 was possibly wrong or not required.

I'm quite sure of this because:

- Your log shows you started Couatl_updater.exe, but the log is a report of what Couatl_updater2.exe is supposed to do. A log from the true Couatl_updater.exe should be *much* shorter and, basically, tell it has successfully downloaded Couatl_updater2.exe and started it. Your log, instead, shows what Couatl_updater2.exe usually does: updating all files. But it comes from Couatl_updater.exe!

- You say you don't have Couatl_updater2.exe, which is consistent to the fact you might have renamed Couatl_updater2.exe to Couatl_updater.exe

This, of course, is messing up with the whole system entirely, because:

- the real Couatl_updater.exe is supposed to DOWNLOAD the *current* Couatl_updater2.exe and start it.

- since the Couatl_updater is in fact a renamed Couatl_updater2.exe, it cannot self-update itself anymore (cannot overwrite itself), so you are stuck with an old version.

The easiest fix should be downloading and installing the Stand-Alone Addon Manager, which should restore all the files as they are supposed to be.
Title: Re: Runtime error when updating using FSDT Live Updater when GSX scripts are updated
Post by: edwardpat on October 12, 2018, 08:58:09 pm
Yes, I sometimes do crazy things and probably mixed up two similar files.
I did what you suggested and now all is running OK.
Sorry for bothering.
Thanks, Ed