Exception Detector (EXCD) by godarklight

Exception Detector (EXCD) by godarklight

965 Downloads

[Bug 🐞]: ED logging Exception, which is explicitly stated as not being an error.

Alpaccalypse opened this issue Β· 5 comments

commented

Brief description of your issue (aka the problem)

Relevant code snippet:

[LOG 06:06:44.667] [KSPCF] Taking over stock loader. An exception will follow, this is intended. [EXC 06:06:44.668] Exception: Terminating stock loader coroutine, this is intended and not an error KSPCommunityFixes.Performance.KSPCFFastLoader.GameDatabase_SetupMainLoaders_Prefix () (at <1ab895c297764334bc8ca0487ca3a837>:0) (wrapper dynamic-method) GameDatabase.GameDatabase.SetupMainLoaders_Patch1(GameDatabase)

This error has cropped up since my very first test run of trying to get a modded game without any errors, pretty much running just with KSPCF installed. As you can see, this seems to be an entirely intentional, and explained, so I assume this is an oversight in terms of a parsing exception for error reporting. I'm not discounting that the error could be in the message saying it's not an error, though. 30000 line error log available on request.

Operating system

Windows 10

KSP version

1.12.5.3190

Version of addon

V1.4.0

Steps to reproduce the behavior or issue

  1. Set up KSP with KSP Community Fixes and Exception Detector installed.
  2. Load up (a steam version of?) KSP.
  3. Be me, with my computer.
  4. Get error every time, in regular, and ED logs, even with just these mods installed.

Expected behavior

No response

Actual behavior

No response

Environment

?? Why is this a required field when the exact same information is asked for in other specific fields?? 

Kerbal Space Program - 1.12.5.3190 (WindowsPlayer x64)
ED V1.4.0
Only obviously relevant part of log included in comment, full log available if needed.

Log files

No response

Screenshots

No response

Additional context

No response

How did you download and install this?

CurseForge (download and manual installation)

commented

πŸ‘ Thank you @Alpaccalypse :octocat:

❓❔

Have you reviewed the open issues logs and recent changelogs?

In order to help us help you, please provide:

  • <KSP_ROOT>/KSP.LOG
  • and one of the following:
    • if Module Manger is installed
      • <KSP_ROOT>/GameData/ModuleManager.ConfigCache
    • if Module Manger /L is installed
      • <KSP_ROOT>/PluginData/ModuleManager/ConfigCache.cfg
  • Screenshots of issue (if appropriate) (images tell a much stronger tale)

You can archive these files (rar or zip, sadly no 7zip) and drag-n-drop them into an issue comment

πŸ“³πŸ‘€Please either watch this repositiory for updates.

πŸ’¬Kindly read our simple guides to:

commented

Sorry about aloof comment in secondary required field. Been up all night tweaking config files, so might not be thinking clearly; but I assume the understandably exhaustive information request, is in this case irrelevant. Unless this is not an expected error, contrary to what the log stated.

Great mod BTW, but liable to give me a nervous breakdown when using mods with KSP.

commented
commented

Thank you for the bug report @Alpaccalypse

Appreciate the frustration you express because in may ways I am the same way concerning the KSP log(s). In fact tracking down and eliminating exc/err/wrn in the KSP.log is probably what started me on my KSP modding path.

For future reference drag+drop a zip/rar of the logs right into the report.

From what you are saying EXCD is working exactly as intended. It is KSPCF that is spamming your log with exceptions; which is exactly what EXCD was designed to report.

Tailor your EXCD experience:

There is a simple and efficient way to stop things from appearing (other than removing kspcf) and that is to add a line to GameData/godarklight/ExceptionDetector/Plugins/Settings.cfg)

something like:
kspcf = KSPCF

I believe that that line will 'filter' out all logging from that mod; and there are other ways to filter that are demonstrated in the settings.cfg

If you choose to add the line; kindly add a comment to this discussion so it can be included in the soon to be created FAKQ (Frequently Asked Kerbal Questions page that shall be located here: image

Including KSPCF in the exception exception listing

is not in the best interests of the players who have EXCD installed since it is KSPCF that is spamming the log with exceptions; it is an external issue and has to be fixed by KSPCF.

Issue template

It does need to be updated. カむゼン

Note to self: I really should add that fact to the issue template.

EULA/ToS/Copyright

The legal council I am receiving is that as an author I shouldn't touch KSPCF since KSPCF probably violates the EULA/ToS/copyright law. (as Harmony probably does as well). This means providing anything more than the speculative support (next paragraph) would probably mean violating the EULA/ToS/copyright law.

commented