DineshSolanki / FoliCon

Creates Folder icons for Movies, Serials, Music,Anime and Games Folders
https://dineshsolanki.github.io/FoliCon/
GNU General Public License v3.0
60 stars 5 forks source link

Not Opening (Windows 10) #213

Closed avdichiara closed 4 months ago

avdichiara commented 4 months ago

Describe the bug The application (both x64 and x86) fails to launch.

To Reproduce Steps to reproduce the behaviour:

  1. Download the executable from GitHub
  2. Try to run the executable

Additional context FoliCon version: 4.3.1 Windows version: Windows 10 Pro 64-bit (10.0, Build 19045)

I also tried to download the latest versions of .Net and WebView 2. WebView said it was already installed, and I just installed .Net version 8.0.303.

DineshSolanki commented 4 months ago

Can you please check the following place - Search for Event Viewer in start menu, then go to Windows Logs->Application and click on FoliCon entry, there should be something about the crash (Try to Open FoliCon first, if you don't see any entry for it)

image

here's how crash logs look

image

DineshSolanki commented 4 months ago

Hi, Closing this due to no further response, Please try again with downloading the fresh release, make sure there's an NLog.config file in the same folder as the FoliCon exe.

Feel free to reopen if you still face it.

avdichiara commented 4 months ago

Sorry for the slow response. There were several error logs, but the most relevant seems to be:

Application: FoliCon.v4.3.1.x64.exe
CoreCLR Version: 6.0.1623.17311
.NET Version: 6.0.16
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException: Object reference not set to an instance of an object.
   at FoliCon.Modules.utils.LogUtils.bKTuyfluxA()
   at FoliCon.Modules.utils.LogUtils.GetNLogConfig()
   at FoliCon.App..ctor()
   at FoliCon.App.Main()
avdichiara commented 4 months ago

I tried creating a new file with the name NLog.config, and the error changed to:

Application: FoliCon.v4.3.1.x64.exe
CoreCLR Version: 6.0.1623.17311
.NET Version: 6.0.16
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Collections.Generic.KeyNotFoundException: The given key 'logDirectory' was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at NLog.Internal.ThreadSafeDictionary`2.get_Item(TKey key)
   at NLog.Internal.ConfigVariablesDictionary.get_Item(String key)
   at FoliCon.Modules.utils.LogUtils.bKTuyfluxA()
   at FoliCon.Modules.utils.LogUtils.GetNLogConfig()
   at FoliCon.App..ctor()
   at FoliCon.App.Main()

I assume this is the root of my issue. Where would I find a proper config file?

DineshSolanki commented 4 months ago

@avdichiara Delete the old exe and NLog.config file, and re-download it from here https://github.com/DineshSolanki/FoliCon/releases/tag/v4.3.2-beta-1

avdichiara commented 4 months ago

I know this is technically a separate issue, but I will include it here. After attempting to use the application, I received an error message The given key 'p.IconOverlay' was not present in the dictionary.

DineshSolanki commented 4 months ago

@avdichiara no worries, my bad, don't use the beta version, download the latest stable from here https://github.com/DineshSolanki/FoliCon/releases/

And don't hesitate to let me know if you face any other issue. The stable release should be working fine which is at this time 4.3.1