RaiderIO / raiderio-addon

RaiderIO AddOn
https://raider.io/addon
Other
40 stars 22 forks source link

Lua Error - The latest version #68

Closed BlueNightSky closed 5 years ago

BlueNightSky commented 6 years ago

Multiple errors will occur when you log in to the game. Here is the first error: `1x RaiderIO\locale/enUS.lua:3: attempt to call method 'NewLocale' (a nil value) RaiderIO\locale/enUS.lua:3: in main chunk

Locals: _ = "RaiderIO" ns =

{ realmSlugs =
{ } regionIDs =
{ } scoreLevelStats =
{ } scoreTiersSimple =
{ } scoreTiers =
{ } dungeons =
{ } } (temporary) = nil (temporary) =
{ realmSlugs =
{ } regionIDs =
{ } scoreLevelStats =
{ } scoreTiersSimple =
{ } scoreTiers =
{ } dungeons =
{ } } (*temporary) = "attempt to call method 'NewLocale' (a nil value)"`

The second error: `1x RaiderIO\core.lua:110: attempt to index local 'L' (a nil value) RaiderIO\core.lua:110: in main chunk

Locals: addonName = "RaiderIO" ns =

{ scoreTiers =
{ } DEBUG_MODE = true dungeons =
{ } realmSlugs =
{ } regionIDs =
{ } addonConfig =
{ } CONFIG =
{ } scoreLevelStats =
{ } scoreTiersSimple =
{ } } unpack = defined =[C]:-1 sort = defined =[C]:-1 wipe = defined =[C]:-1 floor = defined =[C]:-1 min = defined =[C]:-1 max = defined =[C]:-1 lshift = defined =[C]:-1 rshift = defined =[C]:-1 band = defined =[C]:-1 bor = defined =[C]:-1 bxor = defined =[C]:-1 PAYLOAD_BITS = 13 PAYLOAD_MASK = 8191 LOOKUP_MAX_SIZE = 262143 uiHooks =
{ } profileCache =
{ } profileCacheTooltip =
{ } dataProviderQueue =
{ } dataProvider = nil PLAYER_FACTION = nil PLAYER_REGION = nil IS_DB_OUTDATED =
{ 1 =
{ } 2 =
{ } } OUTDATED_DAYS =
{ 1 =
{ } 2 =
{ } } OUTDATED_HOURS =
{ 1 =
{ } 2 =
{ } } INVALID_DATA_MESSAGE_SENT = false CONST_REALM_SLUGS =
{ Al'Akir = "alakir" 巨龙之吼 = "dragonmaw" MarécagedeZangar = "marecage-de-zangar" Akama = "akama" AbyssalMaw = "abyssal-maw" LichKing = "lich-king" Tyrande = "tyrande" 玛诺洛斯 = "mannoroth" Frostwolf = "frostwolf" Echsenkessel = "echsenkessel" ScarshieldLegion = "scarshield-legion" KultderVerdammten = "kult-der-verdammten" Feathermoon = "feathermoon" Ysondre = "ysondre" 헬스크림 = "hellscream" 血吼 = "gorehowl" Gilneas = "gilneas" 刺骨利刃 = "daggerspine" 줄진 = "zuljin" Agamaggan = "agamaggan" DieAldor = "die-aldor" Gundrak = "gundrak" 윈드러너 = "windrunner" 莱索恩 = "lethon" 알렉스트라자 = "alexstrasza" Azgalor = "azgalor" 아즈샤라 = "azshara" DieSilberneHand = "die-silberne-hand" 通灵学院 = "scholomance" Loken = "loken" 불타는군단 = "burning-legion" Ambossar = "ambossar" 艾苏恩 = "aszune" 렉사르 = "rexxar" DreadmistPeak = "dreadmist-peak" 듀로탄 = "durotan" 海加尔 = "hyjal" Голдринн = "goldrinn" Al'ar = "alar" ShrineoftheDormantFlame = "shrine-of-the-dormant-flame" 嚎风峡湾 = "howling-fjord" Trollbane = "trollbane" 斩魔者 = "demonslayer" 范克里夫 = "vancleef" 가로나 = "garona" 龙骨平原 = "dragonblight" Daggerspine = "daggerspine" 远古海滩 = "strand-of-the-ancients" Angerboda = "angerboda" 银月 = "silvermoon" 黑龙军团 = "black-dragonflight" Winterspring = "winterspring" 普瑞斯托 = "prestor" 黑锋哨站 = "ebon-watch" 阿纳克洛斯 = "anachronos" ПиратскаяБухта = "booty-bay" 风行者 = "windrunner" StonetalonPeak = "stonetalon-peak" 耐普图隆 = "neptulon" Forscherliga = "forscherliga" Arathor = "arathor" 神圣之歌 = "holy-chanter" Gruul = "gruul" 希雷诺斯 = "searinox" 末日行者 = "doomwalker" 黑暗魅影 = "dark-phantom" 黑暗虚空 = "twisting-nether" 艾维娜 = "aviana" 无尽之海 = "the-great-sea" Dreadmaul = "dreadmaul" 黑暗之矛 = "darkspear" 黑手军团 = "blackhand" Pozzodell'Eternità = "pozzo-delleternita" DasSyndikat = "das-syndikat" 黄金之路 = "gold-road" Kor'gall = "korgall" 麦迪文 = "medivh" 奎尔丹纳斯 = "quedanas" Talnivarr = "talnivarr" Windrunner = "windrunner" 麦维影歌 = "maiev-shadowsong" 麦姆 = "maim" 鹰巢山 = "aerie-peak" 德拉诺 = "draenor" 阿扎达斯 = "archaedas" TheSha'tar = "the-shatar" 纳克萨玛斯 = "naxxramas" 巨龍之喉 = "dragonmaw" Felmyst = "felmyst" Gul'dan = "guldan" 鬼雾峰 = "dreadmist-peak" 瑟莱德丝 = "theradras" Sunwell = "sunwell" ChamberofAspects = "chamber-of-aspects" Vaelastrasz = "vaelastrasz" 苏拉玛 = "suramar" Frostwhisper = "frostwhisper" Rashgarroth = "rashgarroth" Khaz'goroth = "khazgoroth" 말퓨리온 = "malfurion" Jin'do = "jindo" 藏宝海湾 = "booty-bay" ShatteredHalls = "shattered-halls" 库尔提拉斯 = "kul-tiras" Skettis = "skettis" 迅捷微风 = "`

The third error: `1x RaiderIO\guildbest.lua:96: attempt to index upvalue 'L' (a nil value) RaiderIO\guildbest.lua:96: in function <RaiderIO\guildbest.lua:94>

Locals: self = { 0 = text = RaiderIO_GuildBestFrameText { } OnShow = defined @RaiderIO\guildbest.lua:102 OnLoad = defined @RaiderIO\guildbest.lua:94 } (temporary) = defined =[C]:-1 (temporary) = RaiderIO_GuildBestFrameText { 0 = } (temporary) = nil (temporary) = (temporary) = nil (temporary) = "attempt to index upvalue 'L' (a nil value)" L = nil`

The fourth error: `1x RaiderIO\exportjson.lua:31: attempt to index local 'L' (a nil value) RaiderIO\exportjson.lua:31: in main chunk

Locals: addonName = "RaiderIO" ns =

{ scoreTiers =
{ } DEBUG_MODE = true GUILD_BEST_FRAME = RaiderIO_GuildBestFrame { } dungeons =
{ } PROFILE_UI = RaiderIO_ProfileTooltip { } realmSlugs =
{ } SEARCH_INIT = defined @RaiderIO\search.lua:182 regionIDs =
{ } addonConfig =
{ } CONFIG =
{ } scoreLevelStats =
{ } scoreTiersSimple =
{ } } band = defined =[C]:-1 bor = defined =[C]:-1 L = nil ExportButton = RaiderIO_ExportButton { 0 = Icon = { } Border = { } } StaticPopupName = "RAIDERIO_EXPORTJSON_DIALOG" (*temporary) =
{ CLIQUE_CONFIRM_PROFILE_DELETE =
{ } CONFIRM_REMOVE_FRIEND =
{ } BIS_CONFIRM_DELETE_HISTORY =
{ } BugSackSendBugs =
{ } CONFIRM_REDOCK_CHAT =
{ } BETTER_ADDONLIST_ERROR_NAME =
{ } REMOVE_GUILDMEMBER =
{ } QUEST_ACCEPT_LOG_FULL =
{ } DELETE_QUEST_ITEM =
{ } TRADE_POTENTIAL_BIND_ENCHANT =
{ } SET_GUILDPLAYERNOTE =
{ } ABANDON_PET =
{ } USE_NO_REFUND_CONFIRM =
{ } CONFIRM_GORGROND_GARRISON_CHOICE =
{ } DELETE_ITEM =
{ } ADD_RAIDMEMBER =
{ } CONFIRM_BLOCK_INVITES =
{ } CAERDON_WARDROBE_MULTIPLE_BAG_ADDONS =
{ } TRANSMOG_OUTFIT_SOME_INVALID_APPEARANCES =
{ } CONFIRM_OVERWRITE_TRANSMOG_OUTFIT =
{ } SAVED_VARIABLES_TOO_LARGE =
{ } RESURRECT_NO_TIMER =
{ } SET_BNFRIENDNOTE =
{ } UNLEARN_SPECIALIZATION =
{ } CONFIRM_HIGH_COST_ITEM =
{ } BESTINSLOT_CONFIRMCHARIMPORT =
{ } CHAT_CHANNEL_PASSWORD =
{ } GUILDBANK_WITHDRAW =
{ } UNLEARN_SKILL =
{ } CONFIRM_LOOT_ROLL =
{ } HELP_TICKET_QUEUE_DISABLED =
{ } EXTVENDOR_CONFIRM_RESET_BLACKLIST =
{ } GARRISON_BOOT =
{ } CONFIRM_AZERITE_EMPOWERED_RESPEC =
{ } TAKE_GM_SURVEY =
{ } POSTAL_NEW_PROFILE =
{ } CONFIRM_COMBAT_FILTER_DEFAULTS =
{ } GM_RESPONSE_RESOLVE_CONFIRM =
{ } ERR_SOR_STARTING_EXPERIENCE_INCOMPLETE =
{ } TALENTS_INVOLUNTARILY_RESET =
{ } GM_RESPONSE_MUST_RESOLVE_RESPONSE =
{ } CONFIRM_REPORT_BATTLEPET_NAME =
{ } IGR_BILLING_NAG =
{ } PLR_ROLL_CANCEL =
{ } SET_BN_BROADCAST =
{ } ERROR_CINEMATIC =
{ } CONFIRM_COMBAT_FILTER_DELETE =
{ } CONFIRM_REPORT_PET_NAME =
{ } CONFIRM_BUY_GUILDBANK_TAB =
{ } LOOT_BIND =
{ } DUEL_REQUESTED =
{ } BFMGR_PLAYER_LOW_LEVEL =
{ } SKINNED =
{ } ADD_IGNORE =
{ } CONFIRM_UPGRADE_ITEM =
{ } CONFIRM_AZERITE_EMPOWERED_BIND =
{ } TRADE_POTENTIAL_REMOVE_TRANSMOG =
{ } ATR_MEMORIZE_TEXT_BLANK =
{ } CONFIRM_DELETE_EQUIPMENT_SET =
{ } DELETE_MONEY =
{ } DELETE_GOOD_ITEM =
{ } PLR_MASTERLOOT_ASK =
{ } GOSSIP_CONFIRM =
{ } BATTLENET_UNAVAILABLE =
{ } USE_GUILDBANK_REPAIR =
{ } BAZOOKA_DISABLE_PLUGIN =
{ } TRANSMOG_OUTFIT_CHECKING_APPEARANCES =
{ } BILLING_NAG =
{ } EXPERIMENTAL_CVAR_WARNING =
{ } WEB_PROXY_FAILED =
{ } CONFIRM_BINDER =
{ } BESTINSLOT_CONFIRMDELETECUSTOMITEM =
{ } CONFIRM_SUMMON_STARTING_AREA =
{ } TOO_MANY_LUA_ERRORS =
{ } TRADE_REPLACE_ENCHANT =
{ } ATR_SL_REQUEST_SHARING =
{ } VOID_DEPOSIT_CONFIRM =
{ } CONFIRM_REFUND_MAX_ARENA_POINTS =
{ } RENAME_PET =
{ } CONFIRM_GUILD_PROMOTE =
{ } SET_GUILD_COMMUNITIY_NOTE =
{ } LFG_LIST_ENTRY_EXPIRED_TOO_MANY_PLAYERS =
{ } CONFIRM_AZERITE_EMPOWERED_SELECT_POWER =
{ } CONFIRM_GUILD_LEAVE =
{ } LEVEL_GRANT_PROPOSED_ALLIED_RACE =
{ } BN_BLOCK_FAILED_TOO_MANY_CID =
{ } CONFIRM_RE`

In fact, there are a total of 9 errors, but I think some errors are affected by other errors, so I don’t have all the reports.

Vladinator commented 6 years ago

This is very strange.

I did notice that you got the files from the git apparently, so just to make it certain you do not experience issues by installing it the regular way, could you do this for me and get the addon from curseforge? https://www.curseforge.com/wow/addons/raiderio

You can also install it by using the Twitch Client https://app.twitch.tv/download or the RaiderIO Client https://raider.io/addon - whichever way you prefer, just not via github as those releases and files aren't properly configured for regular use. Potential use is purely to grab the latest database (db/db_*.lua) files but outside that use-case requires some tweaking to setup.

BlueNightSky commented 6 years ago

I have downloaded the latest version from Curse as you said, the previous error is gone. But there is still a new error, but at least it works fine. Maybe it's a problem with the Exlist addon? 1x RaiderIO\core.lua:2261: invalid option informat' RaiderIO\core.lua:2261: in function <RaiderIO\core.lua:2256> RaiderIO\core.lua:2267: in function GetScore' Exlist\Modules\RaiderIOScores.lua:33: in function <Exlist\Modules\RaiderIOScores.lua:25> [C]: in functionxpcall' Exlist\Exlist-1.2.10.lua:2295: in function OnEvent' Exlist\Exlist-1.2.10.lua:2318: in functionSendFakeEvent' Exlist\Exlist-1.2.10.lua:2221: in function <Exlist\Exlist.lua:2219> Exlist\Exlist-1.2.10.lua:2274: in function OnEvent' Exlist\Exlist-1.2.10.lua:2318: in functionSendFakeEvent' Exlist\Exlist-1.2.10.lua:2280: in function <Exlist\Exlist.lua:2280>`

Vladinator commented 6 years ago

Thanks. This helps get a bit closer to the root of the issue you're experiencing.

It does seem like Exlist is using code in RaiderIO but ends up erroring, it's still a valuable error report for us to look at. I hope the author of Exlist is around and can look at their code to update with the new API we added for BfA.

Vladinator commented 6 years ago

I downloaded Exlist and the current version doesn't throw that error. If you update Exlist you should be good to go once more.

BlueNightSky commented 6 years ago

Ok, I will go download the latest version, thank you for your help!

BlueNightSky commented 6 years ago

I downloaded Exlist(version:1.2.11), but still have this error: 1x RaiderIO\core.lua:2261: invalid option informat' RaiderIO\core.lua:2261: in function <RaiderIO\core.lua:2256> RaiderIO\core.lua:2267: in function GetScore' Exlist\Modules\RaiderIOScores.lua:33: in function <Exlist\Modules\RaiderIOScores.lua:25> [C]: in functionxpcall' Exlist\Exlist-1.2.11.lua:2286: in function OnEvent' Exlist\Exlist-1.2.11.lua:2309: in functionSendFakeEvent' Exlist\Exlist-1.2.11.lua:2212: in function <Exlist\Exlist.lua:2210> Exlist\Exlist-1.2.11.lua:2265: in function OnEvent' Exlist\Exlist-1.2.11.lua:2309: in functionSendFakeEvent' Exlist\Exlist-1.2.11.lua:2271: in function <Exlist\Exlist.lua:2271>`

Vladinator commented 6 years ago

It's very odd because when I install Exlist from https://www.curseforge.com/wow/addons/exlist and load it all I see is the expected chat notification https://i.imgur.com/SSYxqhQ.png but no error.

I did push a small update to RaiderIO yesterday that would fix a small issue to avoid getting errors when using an outdated addon using RaiderIO to get score for players, it should appear as yellow text once, not a lua error dialog like you're having.

My only tip is update both from curseforge again today, if you can also do delete the old folders inside your WoW\Interface\AddOns folder, then put the new addons in there and make sure you quit WoW first, then boot it up again after you're done freshly installing both addons and if it still doesn't work do let me know.

BlueNightSky commented 6 years ago

I downloaded Raider.IO Mythic Plus v201809160600, but there is still this error, I really don't know why?

I have deleted the old folder and installed the new one as you said. and quit Wow then reboot.

Well, At least the addon works fine, but this error is a bit annoying!

WFrancois commented 5 years ago

Hey, hopefully this issue is not here anymore, let us know if it's still there !