[FIXED] Error on Login: TRP2_Auras_Categorie

Go down

[FIXED] Error on Login: TRP2_Auras_Categorie Empty [FIXED] Error on Login: TRP2_Auras_Categorie

Post  lostara on Thu Sep 12, 2013 2:22 am

Hi, on login, I get an error message on screen saying:

Total RP 2
An error occurred during the loading of the addon.  The addon won't work correctly.

In the chat tab, there is more information:

1 : false (boolean )
2 : Interface\AddOns=totalRP2\totalRP2_Localisation.lua:2781: attempt to index global 'TRP2_Auras_Categorie' (a nil value) ( string )

I'm using version 1019, WoW patch 5.4.  I'm also using Linux and wine.  I've tested on two different machines (though highly similar setups on both).


Last edited by lostara on Fri Sep 20, 2013 2:41 pm; edited 2 times in total


Posts : 2
Join date : 2013-09-12

View user profile

Back to top Go down

[FIXED] Error on Login: TRP2_Auras_Categorie Empty Circular dependencies with the .toc?

Post  lostara on Fri Sep 20, 2013 1:18 am

With the latest update, I stopped getting the original bug (about Auras_Categorie), and started getting this:

Date: 2013-09-19 18:43:25
ID: 1
Error occured in: Global
Count: 21
Message: ..\AddOns\totalRP2\totalRP2_API.lua line 216:
attempt to call global 'TRP2_CheckForLanguage' (a nil value)
totalRP2\totalRP2_API.lua:216: TRP2_CTS()
[string "*:OnLoad"]:1:
[string "*:OnLoad"]:1
text = "{o}Search"
bNocolor = nil
(*temporary) = nil
(*temporary) = "{o}Search"
(*temporary) = "attempt to call global 'TRP2_CheckForLanguage' (a nil value)"

Swatter, v4.4.0 (<%codename%>)
AucAdvanced, v5.18.5433 (PassionatePhascogale)
AucUtilScanProgress, v5.18.5433.4979(5.18/embedded)
AucUtilSimpleAuction, v5.18.5433.5415(5.18/embedded)
Babylonian, v5.1.DEV.332(/embedded)
Configator, v5.1.DEV.344(/embedded)
DebugLib, v5.1.DEV.337(/embedded)
LibExtraTip, v5.12.DEV.355(/embedded)
SlideBar, v4.4.0 (<%codename%>)
Stubby, v5.18.5433 (PassionatePhascogale)
TipHelper, v5.12.DEV.351(/embedded)
totalRP2, v1.019
totalRP2Auras, v
totalRP2Config, v
totalRP2Creation, v
totalRP2DataBase, v
totalRP2Documents, v
totalRP2Guide, v
totalRP2ImpExport, v
totalRP2Interface, v
totalRP2Inventaire, v
totalRP2Language, v
totalRP2Packages, v
totalRP2PlayerInfo, v
totalRP2Quests, v
totalRP2Registre, v
BlizRuntimeLib_enUS v5.4.0.50400 <us>

On another machine, i had a similar, yet different message. The style was still the same - accessing a global that was nil. This is also the same as the original error.

I looked into the .toc files, and noticed that all of them depend on totalRP2, and totalRP2 depends on all of them. I'm new to AddOns, so I do not know if this is okay.

My hunch is that this circular dependency isn't being handled properly, and sometimes the totalRP2 module/addon gets loaded before the others. In the case of the error pasted above, totalRP2_Language probably isn't loaded yet, so TRP2_CheckForLanguage is still undefined. Though if you look at the list of loaded AddOns, totalRP2_Language is listed under the addon. Perhaps it is partially loaded, but not parsed?

Anyway, I modifed all of the .toc files in each sub-directory/sub-addon of TRP2, so that none of them list totalRP2 as a dependency. After a restart of WoW (since I changed toc files), TRP2 loaded with no problems on either of my machines.

Perhaps Blizzard changed their handling of circular dependencies? Or the dependency resolution process is somehow choosing a different order on my machine? I'm running Linux/Wine, so perhaps there is something there too.

What are your thoughts about how AddOn circular dependencies should work? Could you change TRP2 so that the submodules don't depend on the main one?



Posts : 2
Join date : 2013-09-12

View user profile

Back to top Go down

Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum