Timthreetwelve / WUView

Windows Update Viewer
MIT License
177 stars 12 forks source link

An error has occurred. Please see the logfile #27

Closed mgeha closed 1 year ago

mgeha commented 1 year ago

Is there an existing issue for this?

What happened or didn't happen

After starting the program (v 0.5.16.0) I get a error message stating "An error has occurred. Please see the logfile". Then the application freezes and exits. There is no log file or I did not find it.

How can I help to resolve this problem?

Steps To Reproduce

No response

Version

0.5.16.0

Windows Version

Win11 22H2 22621.1992

Relevant log output

No response

Anything else?

No response

Timthreetwelve commented 1 year ago

@mgeha, look for the log file in your temp folder in a folder named T_K. If you can't find it, then there is a possibility that the app isn't far enough along to create a log before it crashes.

If that is the case, then it will be necessary to try to find some clue in the Event Viewer. In the Event Viewer select Application under Windows Logs, then look for .NET Runtime in the source column. Or you can select Create Custom View (right side) and select the options so that it looks like this. mmc_2023-08-03_14-10-50 Then try to find the entry for WUView in the top line in the General pane. If you are successful in locating the event, copy the text in the General pane a paste or attatch it to this issue. If there are a lot of entries, you might try limiting to Event ID 1026, but I can't be 100% of the Event ID in your case. mmc_2023-08-03_14-31-12 Hopefully this information will provide a clue...

Tim

mgeha commented 1 year ago

Hi Tim,

i finally was able to genearte a log before the app crashed again. I attached it.

Regards WUView.20230805.log

Timthreetwelve commented 1 year ago

@mgeha, thanks to the log you supplied, I found the cause of the crash and implemented a fix. The fix will be included in 0.5.17. The cause was a null title in an update, which I didn't believe was possible.

Thanks for your help, Tim

mgeha commented 1 year ago

Hey Tim, sorry to bother you again :-) I looks like it's still happening. But now I see the list of updates populated with a number of updates before the app crashes. In v. 0.5.16 the list was empty. I have attached a log for you. My locale is DE_de, maybe something with german Umlauts? I am guessing, have no clue

Regards WUView.20230806.log

Timthreetwelve commented 1 year ago

@mgeha, I'm sorry this has taken so long. Real life got in the way.

I've just released 0.5.19 which hopefully will fix your issue. I'm leaving this open pending confirmation from you that the bug is fixed.

Thanks for your patience.

Tim

mgeha commented 1 year ago

No worries Tim, I am happy to tell you that the issue has been fixed :-)

Timthreetwelve commented 1 year ago

@mgeha, reading this is a wonderful way to start the day. I'm glad that the issue is resolved.

Tim