Cannot load addon on fresh install - attempt to index field 'loc' (a nil value)
kynodoxia opened this issue ยท 3 comments
Describe the issue
As title. Minimal other addon interaction, disabled MRP, Plater, Prat, and Kui just to be safe.
Expected behaviour
The addon to work. :P More specifically, 'loc' is passing in as null, where it should be set to the locality of my game client.
Issue checklist
Please select any applicable options from the below list.
You can replace the "[ ]" with "[x]" for each option below to tick it.
- The issue occurs with the latest version of the addon.
- The issue occurs with Total RP 3 as the only enabled addon.
- The issue occurs only with other addon(s) enabled (please provide a list). (See above, have tested with those as well.)
Steps to reproduce
- Log in after freshly installing TRP3 through Curseforge on a fresh install of WoW (have only been playing for a day or two after many years away).
- It happens. Swear I'm not trying to be difficult, I do this for a living too, but... it just kind of happens.
Additional files
See above. Thank you.
The line referenced (Locale.lua:11) is shown below.
The only way I can see this happening is if there's other errors preventing (or perhaps indicating) that our default locale isn't loading at all. This may just be a case of the CurseForge app screwing up again and not installing files correctly.
Can you confirm that enUS.lua exists in the same directory as Locale.lua and has the following near the end of the file?
Total-RP-3/totalRP3/Locales/enUS.lua
Line 1657 in 9e7f951
Additionally, confirm that the files loaded by Locales.xml matches the following list:
Total-RP-3/totalRP3/Locales/Locales.xml
Lines 7 to 18 in 9e7f951