PDA

View Full Version : Error loading module



Rbbrbootz
November 19th, 2021, 21:46
I have the following error when I load up my campaign. Short of going through all the modules I have, how can I tell which module it is? Yes, I do realise I am asking for a lot, but is there a module sort order or something? I have only included the first and last modules loaded as I have over 50 of them.

[11/19/2021 4:31:45 PM] MEASURE: RULESETS LOAD - 6649.3072 - 5E
[11/19/2021 4:31:49 PM] MEASURE: EXTENSIONS LOAD - 4144.683 - 40
[11/19/2021 4:31:52 PM] MEASURE: MODULE LIST BUILD - 2925.6232 - 113
[11/19/2021 4:31:52 PM] MEASURE: REFRESH IMAGE ASSETS - 124.8922
[11/19/2021 4:31:52 PM] MEASURE: REFRESH PORTRAIT ASSETS - 4.5046
[11/19/2021 4:31:52 PM] MEASURE: REFRESH TOKEN ASSETS - 120.012
[11/19/2021 4:31:52 PM] MEASURE: ASSET LIST BUILD - 251.43
[11/19/2021 4:31:54 PM] MEASURE: LOAD - PART 1 - 16089.2032
[11/19/2021 4:31:55 PM] [ERROR] Script execution error: [string "scripts/data_library_com.lua"]:3: attempt to call field 'showDockTitleText' (a nil value)
[11/19/2021 4:31:55 PM] MEASURE: MODULE LOAD - 17.0104 - 5E 200 Wild Magic Table
.
.
.
[11/19/2021 4:32:54 PM] MEASURE: MODULE LOAD - 23.0033 - Warforged: The Feyforged
[11/19/2021 4:32:55 PM] RULESET: Dungeons and Dragons (5E) ruleset (v2021-07-06) for Fantasy Grounds
Copyright 2021 Smiteworks USA, LLC

Sulimo
November 19th, 2021, 21:48
Script errors are almost always caused by an extension.

Unload all extensions and try it, then load them up one at a time to determine which one it might be.

Once you find the one causing the error, see if there is an update to that extension.

Rbbrbootz
November 20th, 2021, 05:00
OK. Let me get this straight. Even though the error comes before the modules section and not the extension section, it is still likely an extension.
Also, the only way is to figure out the extension by trial and error.
Is it at least reasonable that the extension is one not gotten through the FG Forge?

Sulimo
November 20th, 2021, 05:23
OK. Let me get this straight. Even though the error comes before the modules section and not the extension section, it is still likely an extension.

As someone else (who is an extension creator themselves) likes to say: Extension = RISK.

This:

[11/19/2021 4:31:55 PM] [ERROR] Script execution error: [string "scripts/data_library_com.lua"]:3: attempt to call field 'showDockTitleText' (a nil value)

Is a script file, the .lua extension is a dead giveaway. Scripts in extensions modify the base Ruleset code and can cause issues if they are not kept up to date. Extensions are (usually) community creations, akin to mods for other games, they can have unexpected behavior.



Also, the only way is to figure out the extension by trial and error.


Yes, the only way you are going to determine which one is by trial and error. It could also be that two different extensions are trying to change the same thing in the Ruleset code, and are thus fighting each other.



Is it at least reasonable that the extension is one not gotten through the FG Forge?

It's probably not a good idea to assume any particular extension is safe.

Rbbrbootz
November 20th, 2021, 16:44
Thank you

LordEntrails
November 20th, 2021, 20:19
You could identify the extension(s) of possible impact by unzipping all your extensions and searching all the files named data_library_com.lua for the string showDockTitleText.

And then rezip and package them all after you identify the ones with that string. BUT, it really is easier and faster to just enable/disable the extensions as needed.