IridiumIO / CompactGUI

Transparently compress active games and programs using Windows 10/11 APIs
GNU General Public License v3.0
5.09k stars 236 forks source link

Hard Error on startup after upgrading to new version #174

Closed Rohaq closed 2 years ago

Rohaq commented 6 years ago

Description

If something blocks internet access on startup, a "Hard Error" error message appears.

EDIT: It seems that this may not be related to the lack of internet access, but actually down to a fresh/updated install, as the error doesn't appear after it displaying the first time with a new version. I'll investigate the root cause further.

Steps to Reproduce

1. Block internet access to CompactGUI somehow (in my case, my AV firewall is blocking the app)

  1. On a fresh install/updated version, start the program, either directly or through the right-click Explorer menu option.
  2. Error appears stating a "Hard Error".
  3. Error message can be bypassed, and program seems to start as normal - It's possible that there are other features that rely on internet access might also cause errors though.

Expected behavior: No error message should appear on startup.

Actual behavior: Error message appears. Can be bypassed, but is concerning if you don't know why it's appearing.

Version

2.5.1

Iridium-IO commented 6 years ago

Interestingly I can't reproduce this error, but there are two things that CompactGUI connects to the internet for at start:

Can you please post an actual screenshot of the error?

Rohaq commented 6 years ago

I'll have a look at reproducing it tonight - It doesn't reoccur until CompactGUI updates, as my AV (Webroot) forces me to go through the "Allow" text again.

I'll have a dig to see if I can force it to re-approve tonight. Does CompactGUI generate any logs on startup anywhere?

Rohaq commented 6 years ago

Odd, I got my AV to block it again, and can't reproduce the error - this only seems to occur when starting up an updated version of the software.

I'll have another play around to figure out how to reproduce this and maybe figure out the root cause of the error message. In the meantime, does CompactGUI output any logs for debugging? Also, where does it store its settings? Maybe I'd have more luck testing with a "fresh" install?

Iridium-IO commented 6 years ago

CompactGUI doesn't output any logs, however you can run it with Visual studio to debug.

Settings are stored in your LocalAppData folder under Fateful_Productions\CompactGUI.exe_Url_xxxxxx

Rohaq commented 6 years ago

I can't seem to reproduce this, feel free to close it off!