d2phap / ImageGlass

🏞 A lightweight, versatile image viewer
https://imageglass.org
Other
7.88k stars 501 forks source link

ERROR: Method not found: 'Single ImageGlass.Settings.Config.get_QuickSetupVersion0'. #1969

Open traviss64 opened 4 months ago

traviss64 commented 4 months ago

System information

To Reproduce

Steps to reproduce the behavior:

  1. Open any image
  2. Error pop up window

Actual behavior

Expected behavior

Version: ImageGlass v9.1.8.723
Release code: kobe
Magick.NET: Magick.NET Q16-HDRI-OpenMP x64 netstandard21 13.10.0
WebView2 Runtime: 126.0.2592.113
OS: Microsoft Windows NT 10.0.22631.0 64-bit

----------------------------------------------------
Error:

Method not found: 'Single ImageGlass.Settings.Config.get_QuickSetupVersion()'.
----------------------------------------------------

System.MissingMethodException: Method not found: 'Single ImageGlass.Settings.Config.get_QuickSetupVersion()'.
   at ImageGlass.Program.CheckAndRunQuickSetup() in D:\_GITHUB\@d2phap\ImageGlass\Source\ImageGlass\Program.cs:line 115
   at ImageGlass.Program.Main() in D:\_GITHUB\@d2phap\ImageGlass\Source\ImageGlass\Program.cs:line 92

image

d2phap commented 4 months ago

@traviss64 Can you send me your igconfig.json file (located in %LocalAppData%/ImageGlass folder)?

Is this your first time install ImageGlass or you upgrade from previous version?

traviss64 commented 4 months ago

@traviss64 Can you send me your igconfig.json file (located in ImageGlass startup folder)?

Is this your first time install ImageGlass or you upgrade from previous version?

I upgraded from the previous version

d2phap commented 4 months ago

Can you send me your igconfig.json file (located in %LocalAppData%/ImageGlass folder)?

You can try deleting the igconfig.json file if it helps

traviss64 commented 4 months ago

Can you send me your igconfig.json file (located in %LocalAppData%/ImageGlass folder)?

I uninstalled the software and deleted it's files so I could installed the previous version which is working fine

You can try deleting the igconfig.json file if it helps

I tried this before uninstalling the version and got the same error

sjx-github commented 4 months ago

I also encountered the same problem while upgrading to a new version. After trying, I first used ImageGlass_9.1.8.723_x64.exe to uninstall the current version, but found that the files in the installation directory were not deleted after the program ended, so I deleted them manually. All files in the installation directory C:\Program Files\ImageGlass, run ImageGlass_9.1.8.723_x64.exe again to install the latest version, this time no error is reported, everything is normal, the above are my solution steps, I hope it will be helpful to you

FailSafeNow commented 4 months ago

I got the same error. Removing all the files from the program directory and reinstalling fixed it... but I kept the old files for testing.

ImageGlass.Base.dll - If I put the old version back, it doesn't launch. Nothing happens. I don't even get the crash message.

ImageGlass.Settings.dll - If I put back the old version, THEN I get the error.

So these two files cause problems. The others seem to be fine.

Garywoo commented 4 months ago

I'm also experiencing the error. 

Here's my igconfig.json

Greentrees24 commented 4 months ago

I had a similar error (unhandled exception). Found two installs for Image Glass, one old one new. Uninstalled both, reinstalled latest version and now all good.

FailSafeNow commented 4 months ago

I'm telling you, igconfig won't give you anything useful. You gotta remove ImageGlass.Base.dll and ImageGlass.Settings.dll, then run the installer.

Tutul- commented 3 months ago

Got the same issue after an upgrade. Repair doesn't work so I had to uninstall/reinstall (upgrade without the Windows store)

Also, found out that the previous version was still installed too... Look like a problem in the installation/upgrade process