arkayenro / arkinventory

A World of Warcraft Inventory mod for Retail, Burning Crusade, and Classic
102 stars 14 forks source link

[BUG] Arkinventory broken in Wrath #1846

Closed Arvyr closed 7 months ago

Arvyr commented 7 months ago

What version number you are using? 3.10.20

What game client are you playing? Retail, Wrath, Classic / Live, PTR, Beta Wrath

What language is the game client set to? English

Describe the bug After the recent update the addon doesn't work anymore. Opening the bags shows a blank window, a red error message appears in chat.

Error Message: "ArkInventory: ERROR> ...face/AddOns/ArkInventory/Core/ArkInventoryObject.lua:228: attempt to call field 'PT_ItemInSets' (a nil value) "

To Reproduce Wrath + Arkinventory 3.10.20. Other maybe releveant addons: ElvUI, AddonSkins, Weakaura (all most recent version)

Screenshots If applicable, add screenshots to help explain your problem. WoWScrnShot_121523_140534

Additional context Add any other context about the problem here.

Buggrabber Output (there's like more than a dozen entries here):

2x ArkInventory/Externals/PeriodicTable/Gear/LibPeriodicTable-3.1-90665-Gear.lua:1 (null) 2x ArkInventory/Externals/PeriodicTable/CurrencyItems/LibPeriodicTable-3.1-90665-CurrencyItems.lua:1 (null) 2x ArkInventory/Externals/PeriodicTable/Consumable/LibPeriodicTable-3.1-90665-Consumable.lua:1 (null) 2x ArkInventory/Externals/PeriodicTable/ClassSpell/LibPeriodicTable-3.1-90665-ClassSpell.lua:1 (null) 2x ArkInventory/Externals/PeriodicTable/PeriodicTable/LibPeriodicTable-3.1-90665.lua:1 (null)

2x ...kInventory/Core/ArkInventoryCollectionReputation.lua:43: attempt to call method 'IterateSet' (a nil value) [string "@ArkInventory/Core/ArkInventoryCollectionReputation.lua"]:43: in function `ImportCrossRefTable' [string "@ArkInventory/Core/ArkInventory.lua"]:3235: in function <ArkInventory/Core/ArkInventory.lua:3046>

[string "@ElvUI_Libraries/Core/Ace3/AceAddon-3.0-13/AceAddon-3.0.lua"]:66: in function <...UI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:61> [string "@ElvUI_Libraries/Core/Ace3/AceAddon-3.0-13/AceAddon-3.0.lua"]:523: in function `EnableAddon' [string "@ElvUI_Libraries/Core/Ace3/AceAddon-3.0-13/AceAddon-3.0.lua"]:626: in function <...UI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:611>

Locals: rid = nil item = nil key1 = nil key2 = nil (temporary) = nil (temporary) =

{ } (temporary) = "ArkInventory.System.XREF.Reputation" (temporary) = "attempt to call method 'IterateSet' (a nil value)" ImportCrossRefTable = true string =
{ split = defined =[C]:-1 match = defined =[C]:-1 gmatch = defined =[C]:-1 upper = defined =[C]:-1 gsub = defined =[C]:-1 format = defined =[C]:-1 utf8sub = defined @ElvUI_Libraries/Core/UTF8/utf8.lua:157 lower = defined =[C]:-1 sub = defined =[C]:-1 len = defined =[C]:-1 utf8lower = defined @ElvUI_Libraries/Core/UTF8/utf8.lua:250 gfind = defined =[C]:-1 join = defined =[C]:-1 rep = defined =[C]:-1 utf8len = defined @ElvUI_Libraries/Core/UTF8/utf8.lua:132 char = defined =[C]:-1 rtgsub = defined @FrameXML/RestrictedInfrastructure.lua:618 utf8upper = defined @ElvUI_Libraries/Core/UTF8/utf8.lua:240 reverse = defined =[C]:-1 byte = defined =[C]:-1 trim = defined =[C]:-1 utf8reverse = defined @ElvUI_Libraries/Core/UTF8/utf8.lua:260 find = defined =[C]:-1 }

2x ...anceLootLFR/LibPeriodicTable-3.1-90665-InstanceLootLFR.lua:4: attempt to call method 'AddData' (a nil value) [string "@ArkInventory/Externals/PeriodicTable/InstanceLootLFR/LibPeriodicTable-3.1-90665-InstanceLootLFR.lua"]:4: in main chunk

Locals: (temporary) = nil (temporary) =

{ } (temporary) = "InstanceLootLFR" (temporary) = "$Rev: 90423 $" (*temporary) =
{ InstanceLootLFR.Dragon Soul.Lesser Cache of the Aspects = "77972:244,77979:15,77980:20,77981:13,77982:5,77983:20,78438:86,78439:112,78440:212,78441:162,78442:188,78443:186,78444:183,78494:18,78495:7,78496:20,78497:2,78498:13,78862:490,78863:482,78864:412,78865:36,78866:2,78867:2,78868:13,78869:2,78870:2,78871:2,78872:13,78873:2,78874:23,78875:7,78876:10" InstanceLootLFR.Heart of Fear.Amber-Shaper Un'sok = "86857:0,86858:0,86859:0,86860:0,86861:0,86862:0,86863:0,89267:0,89268:0,89269:0" InstanceLootLFR.Terrace of Endless Spring.Protector Kaolan = "86868:0,86869:0,86870:0,86871:0,86872:0,86873:0,86874:0,86875:0,86876:0,86877:0,86878:0,86909:0" InstanceLootLFR.Dragon Soul.Yor'sahj the Unsleeping = "77970:125,77971:200,77979:9,77980:9,77981:9,77982:8,77983:9,78408:138,78411:100,78412:95,78494:7,78495:8,78496:8,78497:10,78498:9,78862:40,78863:35,78864:28,78865:37,78866:26,78867:30,78868:39,78869:30,78870:28,78871:414,78872:365,78873:320,78874:44,78875:33,78876:30" InstanceLootLFR.Mogu'shan Vaults.The Spirit Kings = "m,InstanceLootLFR.Mogu'shan Vaults.Zian of the Endless Shadow,InstanceLootLFR.Mogu'shan Vaults.Meng the Demented,InstanceLootLFR.Mogu'shan Vaults.Qiang the Merciless,InstanceLootLFR.Mogu'shan Vaults.Subetai the Swift" InstanceLootLFR.Heart of Fear.Imperial Vizier Zor'lok = "86811:0,86812:0,86813:0,86814:0,86815:0,86816:0,86817:0,86818:0,86819:0,86854:0,87823:0,89952:0,89953:0,89954:0" InstanceLootLFR.Terrace of Endless Spring.Elder Regail = "86868:0,86869:0,86870:0,86871:0,86872:0,86873:0,86874:0,86875:0,86876:0,86877:0,86878:0,86909:0" InstanceLootLFR.Heart of Fear.Grand Empress Shek'zeer = "86864:0,86865:0,86866:0,86867:0,89264:0,89265:0,89266:0,89961:0,89962:0,89963:0" InstanceLootLFR.Dragon Soul.Elementium Fragment = "78480:168,78481:216,78482:203,78483:175,78484:249,78485:239,78486:137,78487:245,78488:168" InstanceLootLFR.Terrace of Endless Spring.Lei Shi = "86889:0,86890:0,86891:0,86892:0,86893:0,86894:0,86895:0,86896:0,86897:0,86898:0,86899:0,86900:0,86901:0,86902:0,86903:0,86904:0,86910:0,89276:0,89277:0,89278:0" InstanceLootLFR.Mogu'shan Vaults.Jasper Guardian = "86739:0,86740:0,86741:0,86742:0,86743:0,86744:0,86745:0,86746:0,86747:0,86748:0,86793:0,89964:0,89965:0,89966:0" InstanceLootLFR.Terrace of Endless Spring.Protectors of the Endless = "m,InstanceLootLFR.Terrace of Endless Spring.Protector Kaolan,InstanceLootLFR.Terrace of Endless Spring.Elder Asani,InstanceLootLFR.Terrace of Endless Spring.Elder Regail" InstanceLootLFR.Terrace of Endless Spring.Tsulong = "86879:0,86880:0,86881:0,86882:0,86883:0,86884:0,86885:0,86886:0,86887:0,86888:0,86895:0,86896:0,86897:0,86898:0,86899:0,86900:0,86901:0,86902:0,86903:0,86904:0,89980:0,89981:0,89982:0,89983:0" InstanceLootLFR.Dragon Soul.Spine of Deathwing = "m,InstanceLootLFR.Dragon Soul.Greater Cache of the Aspects" InstanceLootLFR.Mogu'shan Vaults.Will of the Emperor = "m,InstanceLootLFR.Mogu'shan Vaults.Jan-xi,InstanceLootLFR.Mogu'shan Vaults.Qin-xi" InstanceLootLFR.Terrace of Endless Spring.Elder Asani = "86868:0,86869:0,86870:0,86871:0,86872:0,86873:0,86874:0,86875:0,86876:0,86877:0,86878:0,86909:0" InstanceLootLFR.Dragon Soul.Morchok = "77979:10,77980:13,77981:10,77982:12,77983:10,78375:195,78376:194,78377:180,78378:120,78380:112,78381:177,78382:225,78384:109,78385:105,78386:98,78494:10,78495:10,78496:11,78497:12,78498:12,78862:32,78863:25,78864:23,78865:30,78866:19,78867:23,78868:29,78869:26,78870:20,78871:29,78872:27,78873:23,78874:33,78875:27,78876:24" InstanceLootLFR.Dragon Soul.Ultraxion = "m,InstanceLootLFR.Dragon Soul.Lesser Cache of the Aspects" InstanceLootLFR.Heart of Fear.Wind Lord Mel'jarak = "86851:0,86852:0,86853:0,86855:0,86856:0,86911:0,86912:0,89270:0,89271:0,89272:0" InstanceLootLFR.Dragon Soul.Hagara the Stormbinder = "77979:10,77980:8,77981:6,77982:8,77983:8,78421:174,78422:119,78423:141,78424:122,78425:149,78427:185,78428:87,78494:6,78495:7,78496:8,78497:10,78498:9,78862:12,78863:9,

2x ...PeriodicTable/PeriodicTable/LibPeriodicTable-3.1-90665.lua:165: attempt to call field 'GetNumAddOns' (a nil value) [string "@ArkInventory/Externals/PeriodicTable/PeriodicTable/LibPeriodicTable-3.1-90665.lua"]:165: in main chunk

Locals: PT3 =

{ } _oldminor = nil type = defined =[C]:-1 rawget = defined =[C]:-1 tonumber = defined =[C]:-1 pairs = defined =[C]:-1 ipairs = defined =[C]:-1 next = defined =[C]:-1 assert = defined =[C]:-1 table_concat = defined =[C]:-1 iternum = nil iterpos = nil cache = nil sets = nil embedversions = nil getItemID = defined @ArkInventory/Externals/PeriodicTable/PeriodicTable/LibPeriodicTable-3.1.lua:60 makeNonPresentMultiSet = defined @ArkInventory/Externals/PeriodicTable/PeriodicTable/LibPeriodicTable-3.1.lua:68 shredCache = defined @ArkInventory/Externals/PeriodicTable/PeriodicTable/LibPeriodicTable-3.1.lua:102 setiter = defined @ArkInventory/Externals/PeriodicTable/PeriodicTable/LibPeriodicTable-3.1.lua:114 multisetiter = defined @ArkInventory/Externals/PeriodicTable/PeriodicTable/LibPeriodicTable-3.1.lua:132 fixSetName = defined @ArkInventory/Externals/PeriodicTable/PeriodicTable/LibPeriodicTable-3.1.lua:157 lodmodules =
{ } (temporary) = 1 (temporary) = nil (*temporary) = "attempt to call field 'GetNumAddOns' (a nil value)"

volostyle commented 7 months ago

This. I've got about 20 LUA errors after the update today, and my bags won't even open. Not sure where to start with the LUA's:

4x ...faceArkInventory/Core/ArkInventoryObject.lua:966: attempt to call field 'PT_BonusIDIsWanted' (a nil value) [string "@ArkInventory/Core/ArkInventoryObject.lua"]:966: in function ObjectIDBonus' [string "@ArkInventory/Core/ArkInventoryObject.lua"]:1009: in functionObjectIDCount' [string "@ArkInventory/Core/ArkInventoryTooltip.lua"]:2423: in function TooltipAddItemCount' [string "@ArkInventory/Core/ArkInventoryTooltip.lua"]:2137: in functionHookTooltipSetGeneric' [string "@ArkInventory/Core/ArkInventoryTooltip.lua"]:1566: in function <...aceArkInventory/Core/ArkInventoryTooltip.lua:1565>

string "=[C]": in function `SetQuestItem'

Locals: t = 1 h = "|cffffffff|Hitem:199210::::::::73:::11:1:3524:::::|h[Northrend Adventuring Supplies]|h|r" i = nil hr = "|cffffffff|Hitem:199210::::::::73:::11:1:3524:::::|h[Northrend Adventuring Supplies]|h|r" osd =

{ 1 = "item" 2 = 199210 3 = 0 4 = 0 5 = 0 6 = 0 7 = 0 8 = 0 9 = 0 10 = 0 11 = 0 12 = 0 13 = 0 14 = 1 15 = 3524 16 = 0 17 = 0 18 = 0 19 = 0 20 = 0 21 = 0 unknown1 = 0 enchantid = 0 sourceid = 11 upgradeid = 0 suffixfactor = 0 h = "item:199210::::::::73:::11:1:3524:::::" bonusids =
{ } unknown2 = 0 h_base = "item:199210" hs = "item:199210:0:0:0:0:0:0:0:0:0:0:0:1:3524:0:0:0:0:0:0" h2 = "item:199210::::::::73:::11:1:3524:::::" id = 199210 class = "item" h_rule = "item:199210:0:0:0:0:0:0:0:0:0:0:0:1:3524:0:0:0:0:0:0" h1 = "|cffffffff|Hitem:199210::::::::73:::11:1:3524:::::|h[Northrend Adventuring Supplies]|h|r" unknown5 = 0 unknown4 = 0 suffixid = 0 exrid = "0:0:0:0:0:0:0:0:0:0:0:1:3524:0:0:0:0:0:0" unknown3 = 0 gemid =
{ } upgradelevel = 0 uniqueid = 0 } v = "item:199210:0:0:0:0:0:0:0:0:0:0:0" c = 0 r = "" id = nil (for generator) = defined =[C]:-1 (for state) =
{ 3524 = true } (for control) = 3524 bid = 3524 (temporary) = nil (temporary) = 1 (temporary) = 3524 (temporary) = "attempt to call field 'PT_BonusIDIsWanted' (a nil value)" cacheObjectIDBonus =
{ 1 =
{ } }

2x ArkInventory/Externals/PeriodicTable/InstanceLootHeroic/LibPeriodicTable-3.1-90665-InstanceLootHeroic.lua:1 (null)

2x ArkInventory/Externals/PeriodicTable/InstanceLoot/LibPeriodicTable-3.1-90665-InstanceLoot.lua:1 (null)

2x ArkInventory/Externals/PeriodicTable/TransmogSet/LibPeriodicTable-3.1-90665-TransmogSet.lua:1 (null)

2x ArkInventory/Externals/PeriodicTable/GearSet/LibPeriodicTable-3.1-90665-GearSet.lua:1 (null)

2x ArkInventory/Externals/PeriodicTable/Gear/LibPeriodicTable-3.1-90665-Gear.lua:1 (null)

2x ArkInventory/Externals/PeriodicTable/CurrencyItems/LibPeriodicTable-3.1-90665-CurrencyItems.lua:1 (null)

2x ArkInventory/Externals/PeriodicTable/Consumable/LibPeriodicTable-3.1-90665-Consumable.lua:1 (null)

2x ArkInventory/Externals/PeriodicTable/ClassSpell/LibPeriodicTable-3.1-90665-ClassSpell.lua:1 (null)

2x ArkInventory/Externals/PeriodicTable/PeriodicTable/LibPeriodicTable-3.1-90665.lua:1 (null)

2x ...kInventory/Core/ArkInventoryCollectionReputation.lua:43: attempt to call method 'IterateSet' (a nil value) [string "@ArkInventory/Core/ArkInventoryCollectionReputation.lua"]:43: in function `ImportCrossRefTable' [string "@ArkInventory/Core/ArkInventory.lua"]:3235: in function <ArkInventory/Core/ArkInventory.lua:3046>

[string "@Masque/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:66: in function <...aceMasque/Libs/AceAddon-3.0/AceAddon-3.0.lua:61> [string "@Masque/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:523: in function `EnableAddon' [string "@Masque/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:626: in function <...aceMasque/Libs/AceAddon-3.0/AceAddon-3.0.lua:611>

Locals: rid = nil item = nil key1 = nil key2 = nil (temporary) = nil (temporary) =

{ } (temporary) = "ArkInventory.System.XREF.Reputation" (temporary) = "attempt to call method 'IterateSet' (a nil value)" ImportCrossRefTable = true string =
{ split = defined =[C]:-1 match = defined =[C]:-1 gmatch = defined =[C]:-1 upper = defined =[C]:-1 gsub = defined =[C]:-1 format = defined =[C]:-1 utf8sub = defined @ElvUI_Libraries/Core/UTF8/utf8.lua:157 lower = defined =[C]:-1 sub = defined =[C]:-1 utf8len = defined @ElvUI_Libraries/Core/UTF8/utf8.lua:132 len = defined =[C]:-1 utf8lower = defined @ElvUI_Libraries/Core/UTF8/utf8.lua:250 gfind = defined =[C]:-1 join = defined =[C]:-1 rep = defined =[C]:-1 nformat = defined @ZygorGuidesViewerClassicTBC/Functions.lua:355 char = defined =[C]:-1 rtgsub = defined @FrameXML/RestrictedInfrastructure.lua:618 utf8upper = defined @ElvUI_Libraries/Core/UTF8/utf8.lua:240 reverse = defined =[C]:-1 byte = defined =[C]:-1 trim = defined =[C]:-1 utf8reverse = defined @ElvUI_Libraries/Core/UTF8/utf8.lua:260 find = defined =[C]:-1 }

2x ...anceLootLFR/LibPeriodicTable-3.1-90665-InstanceLootLFR.lua:4: attempt to call method 'AddData' (a nil value) [string "@ArkInventory/Externals/PeriodicTable/InstanceLootLFR/LibPeriodicTable-3.1-90665-InstanceLootLFR.lua"]:4: in main chunk

Locals: (temporary) = nil (temporary) =

{ } (temporary) = "InstanceLootLFR" (temporary) = "$Rev: 90423 $" (*temporary) =
{ InstanceLootLFR.Dragon Soul.Lesser Cache of the Aspects = "77972:244,77979:15,77980:20,77981:13,77982:5,77983:20,78438:86,78439:112,78440:212,78441:162,78442:188,78443:186,78444:183,78494:18,78495:7,78496:20,78497:2,78498:13,78862:490,78863:482,78864:412,78865:36,78866:2,78867:2,78868:13,78869:2,78870:2,78871:2,78872:13,78873:2,78874:23,78875:7,78876:10" InstanceLootLFR.Heart of Fear.Amber-Shaper Un'sok = "86857:0,86858:0,86859:0,86860:0,86861:0,86862:0,86863:0,89267:0,89268:0,89269:0" InstanceLootLFR.Terrace of Endless Spring.Protector Kaolan = "86868:0,86869:0,86870:0,86871:0,86872:0,86873:0,86874:0,86875:0,86876:0,86877:0,86878:0,86909:0" InstanceLootLFR.Dragon Soul.Yor'sahj the Unsleeping = "77970:125,77971:200,77979:9,77980:9,77981:9,77982:8,77983:9,78408:138,78411:100,78412:95,78494:7,78495:8,78496:8,78497:10,78498:9,78862:40,78863:35,78864:28,78865:37,78866:26,78867:30,78868:39,78869:30,78870:28,78871:414,78872:365,78873:320,78874:44,78875:33,78876:30" InstanceLootLFR.Mogu'shan Vaults.The Spirit Kings = "m,InstanceLootLFR.Mogu'shan Vaults.Zian of the Endless Shadow,InstanceLootLFR.Mogu'shan Vaults.Meng the Demented,InstanceLootLFR.Mogu'shan Vaults.Qiang the Merciless,InstanceLootLFR.Mogu'shan Vaults.Subetai the Swift" InstanceLootLFR.Heart of Fear.Imperial Vizier Zor'lok = "86811:0,86812:0,86813:0,86814:0,86815:0,86816:0,86817:0,86818:0,86819:0,86854:0,87823:0,89952:0,89953:0,89954:0" InstanceLootLFR.Terrace of Endless Spring.Elder Regail = "86868:0,86869:0,86870:0,86871:0,86872:0,86873:0,86874:0,86875:0,86876:0,86877:0,86878:0,86909:0" InstanceLootLFR.Heart of Fear.Grand Empress Shek'zeer = "86864:0,86865:0,86866:0,86867:0,89264:0,89265:0,89266:0,89961:0,89962:0,89963:0" InstanceLootLFR.Dragon Soul.Elementium Fragment = "78480:168,78481:216,78482:203,78483:175,78484:249,78485:239,78486:137,78487:245,78488:168" InstanceLootLFR.Terrace of Endless Spring.Lei Shi = "86889:0,86890:0,86891:0,86892:0,86893:0,86894:0,86895:0,86896:0,86897:0,86898:0,86899:0,86900:0,86901:0,86902:0,86903:0,86904:0,86910:0,89276:0,89277:0,89278:0" InstanceLootLFR.Mogu'shan Vaults.Jasper Guardian = "86739:0,86740:0,86741:0,86742:0,86743:0,86744:0,86745:0,86746:0,86747:0,86748:0,86793:0,89964:0,89965:0,89966:0" InstanceLootLFR.Terrace of Endless Spring.Protectors of the Endless = "m,InstanceLootLFR.Terrace of Endless Spring.Protector Kaolan,InstanceLootLFR.Terrace of Endless Spring.Elder Asani,InstanceLootLFR.Terrace of Endless Spring.Elder Regail" InstanceLootLFR.Terrace of Endless Spring.Tsulong = "86879:0,86880:0,86881:0,86882:0,86883:0,86884:0,86885:0,86886:0,86887:0,86888:0,86895:0,86896:0,86897:0,86898:0,86899:0,86900:0,86901:0,86902:0,86903:0,86904:0,89980:0,89981:0,89982:0,89983:0" InstanceLootLFR.Dragon Soul.Spine of Deathwing = "m,InstanceLootLFR.Dragon Soul.Greater Cache of the Aspects" InstanceLootLFR.Mogu'shan Vaults.Will of the Emperor = "m,InstanceLootLFR.Mogu'shan Vaults.Jan-xi,InstanceLootLFR.Mogu'shan Vaults.Qin-xi" InstanceLootLFR.Terrace of Endless Spring.Elder Asani = "86868:0,86869:0,86870:0,86871:0,86872:0,86873:0,86874:0,86875:0,86876:0,86877:0,86878:0,86909:0" InstanceLootLFR.Dragon Soul.Morchok = "77979:10,77980:13,77981:10,77982:12,77983:10,78375:195,78376:194,78377:180,78378:120,78380:112,78381:177,78382:225,78384:109,78385:105,78386:98,78494:10,78495:10,78496:11,78497:12,78498:12,78862:32,78863:25,78864:23,78865:30,78866:19,78867:23,78868:29,78869:26,78870:20,78871:29,78872:27,78873:23,78874:33,78875:27,78876:24" InstanceLootLFR.Dragon Soul.Ultraxion = "m,InstanceLootLFR.Dragon Soul.Lesser Cache of the Aspects" InstanceLootLFR.Heart of Fear.Wind Lord Mel'jarak = "86851:0,86852:0,86853:0,86855:0,86856:0,86911:0,86912:0,89270:0,89271:0,89272:0" InstanceLootLFR.Dragon Soul.Hagara the Stormbinder = "77979:10,77980:8,77981:6,77982:8,77983:8,78421:174,78422:119,78423:141,78424:122,78425:149,78427:185,78428:87,78494:6,78495:7,78496:8,78497:10,78498:9,78862:12,78863:9,

arkayenro commented 7 months ago

im not getting any errors in wrath (or classic or retail)

please disable all other addons except arkinventory and reload to confirm if the issue is from arkinventory or not.

if you still get the error then i would suggest reinstalling arkinventory as maybe one of the files has become corrupted

Arvyr commented 7 months ago

Tried disabling all other addons and deleted and reinstalled Arkinventory (deleted the folders as well), still not working. Last working version remains 3.10.19-alpha-5

Hasselshoff commented 7 months ago

im not getting any errors in wrath (or classic or retail)

please disable all other addons except arkinventory and reload to confirm if the issue is from arkinventory or not.

if you still get the error then i would suggest reinstalling arkinventory as maybe one of the files has become corrupted

My best friend & I updated ArkInventory today, and now both of us have broken ArkInventory. I have tested with ALL addons disabled, EXCEPT:

  • Ark Inventory [Rules] Openables
  • Arklnventory IRulesl Example
  • Arklnventory [Wrath]
  • Arklnventory [Wrath] [Configuration
  • Arklnventory [Wrathl [Rules]
  • Arklnventory [Wrathl [Searchl

This is definitely not a case of Lua error interactions with other addons. I have tested on both my PCs at home now, too.

WoWScrnShot_121523_180833

arkayenro commented 7 months ago

exit the game delete all the arkinventory folders under addons - Ark Inventory [Rules] Openables is not mine so dont delete that one reinstall arkinventory - and make sure its not the nolib variant if youre getting it from curse start the game

volostyle commented 7 months ago

exit the game delete all the arkinventory folders under addons - Ark Inventory [Rules] Openables is not mine so dont delete that one reinstall arkinventory - and make sure its not the nolib variant if youre getting it from curse start the game

That doesn't fix it for me. I deleted all Arkinventory folders, re-installed and I still get all the same LUA errors.

Arvyr commented 7 months ago

Same. Weird part is (maybe I just don't understand how this works) the addon is looking for a file called i.e. "LibPeriodicTable-3.1-90665-InstanceLootHeroic.lua" but the file is just called "LibPeriodicTable-3.1-InstanceLootHeroic.lua". Could this be the issue here?

arkayenro commented 7 months ago

the version number gets added onto the end for various reasons.

the same files are used for retail, classic, and wrath. the only differences are in the toc files and if the wrath one had an error i should get it.

where are you downloading it from?

volostyle commented 7 months ago

I'm downloading directly from Curse.

littlejohnjlw commented 7 months ago

have deleted from computer and Cursefordge app and reinstalled. Worked fine when I was only late night to early morning. Now I'm getting. Just tried S.O.D. for reference and it is still working there.

Date: 2023-12-15 18:00:59 ID: 1 Error occured in: Global Count: 1 Message: ...PeriodicTable/PeriodicTable/LibPeriodicTable-3.1.lua line 165: attempt to call field 'GetNumAddOns' (a nil value) Debug: [string "@Interface/AddOns/ArkInventory/Externals/PeriodicTable/PeriodicTable/LibPeriodicTable-3.1.lua"]:165: in main chunk Locals: PT3 =

{ } _oldminor = nil type = defined =[C]:-1 rawget = defined =[C]:-1 tonumber = defined =[C]:-1 pairs = defined =[C]:-1 ipairs = defined =[C]:-1 next = defined =[C]:-1 assert = defined =[C]:-1 table_concat = defined =[C]:-1 iternum = nil iterpos = nil cache = nil sets = nil embedversions = nil getItemID = defined @Interface/AddOns/ArkInventory/Externals/PeriodicTable/PeriodicTable/LibPeriodicTable-3.1.lua:60 makeNonPresentMultiSet = defined @Interface/AddOns/ArkInventory/Externals/PeriodicTable/PeriodicTable/LibPeriodicTable-3.1.lua:68 shredCache = defined @Interface/AddOns/ArkInventory/Externals/PeriodicTable/PeriodicTable/LibPeriodicTable-3.1.lua:102 setiter = defined @Interface/AddOns/ArkInventory/Externals/PeriodicTable/PeriodicTable/LibPeriodicTable-3.1.lua:114 multisetiter = defined @Interface/AddOns/ArkInventory/Externals/PeriodicTable/PeriodicTable/LibPeriodicTable-3.1.lua:132 fixSetName = defined @Interface/AddOns/ArkInventory/Externals/PeriodicTable/PeriodicTable/LibPeriodicTable-3.1.lua:157 lodmodules =
{ } (temporary) = 1 (temporary) = nil (*temporary) = "attempt to call field 'GetNumAddOns' (a nil value)"

AddOns: Swatter, v3.4.6977 (SwimmingSeadragon) AllTheThings, vDF-3.8.7 ArkInventory, v31020 DBMCore, v64ac771 DBMStatusBarTimers, v64ac771 GearQuipperTBC, v54 WeakAuras, v5.8.7 BlizRuntimeLib v3.4.3.52237(US) (ck=e0)

arkayenro commented 7 months ago

ah, the periodic table library is using a function they must have recently removed from wrath, and only wrath

Message: ...PeriodicTable/PeriodicTable/LibPeriodicTable-3.1.lua line 165:
attempt to call field 'GetNumAddOns' (a nil value)
arkayenro commented 7 months ago

but why dont i get the problem?

littlejohnjlw commented 7 months ago

They like you more!

arkayenro commented 7 months ago

for me line 165 in that file doesnt have that function, its on line 154

this is very weird

what does line 165 look like for you in ...\AddOns\ArkInventory\Externals\PeriodicTable\PeriodicTable\LibPeriodicTable-3.1.lua

mine has __index = function(self, key)

littlejohnjlw commented 7 months ago

I'm sorta slow at this stuff let me see if i can find it

volostyle commented 7 months ago

for me line 165 in that file doesnt have that function, its on line 154

this is very weird

what does line 165 look like for you in ...\AddOns\ArkInventory\Externals\PeriodicTable\PeriodicTable\LibPeriodicTable-3.1.lua

mine has __index = function(self, key)

Line 165 bolded below.

-- Handle the initial scan of LoD data modules, storing in this local table so the sets metatable can find em local lodmodules = {} for i = 1, C_AddOns.GetNumAddOns() do local metadata = CAddOns.GetAddOnMetadata(i, "X-PeriodicTable-3.1-Module") if metadata then local name, , _, enabled = C_AddOns.GetAddOnInfo(i) if enabled then lodmodules[metadata] = name end end end

littlejohnjlw commented 7 months ago

Date: 2023-12-15 18:30:09 ID: 1 Error occured in: Global Count: 1 Message: ...PeriodicTable/PeriodicTable/LibPeriodicTable-3.1.lua line 165: attempt to call field 'GetNumAddOns' (a nil value) Debug: [string "@Interface/AddOns/ArkInventory/Externals/PeriodicTable/PeriodicTable/LibPeriodicTable-3.1.lua"]:165: in main chunk Locals: PT3 =

{ } _oldminor = nil type = defined =[C]:-1 rawget = defined =[C]:-1 tonumber = defined =[C]:-1 pairs = defined =[C]:-1 ipairs = defined =[C]:-1 next = defined =[C]:-1 assert = defined =[C]:-1 table_concat = defined =[C]:-1 iternum = nil iterpos = nil cache = nil sets = nil embedversions = nil getItemID = defined @Interface/AddOns/ArkInventory/Externals/PeriodicTable/PeriodicTable/LibPeriodicTable-3.1.lua:60 makeNonPresentMultiSet = defined @Interface/AddOns/ArkInventory/Externals/PeriodicTable/PeriodicTable/LibPeriodicTable-3.1.lua:68 shredCache = defined @Interface/AddOns/ArkInventory/Externals/PeriodicTable/PeriodicTable/LibPeriodicTable-3.1.lua:102 setiter = defined @Interface/AddOns/ArkInventory/Externals/PeriodicTable/PeriodicTable/LibPeriodicTable-3.1.lua:114 multisetiter = defined @Interface/AddOns/ArkInventory/Externals/PeriodicTable/PeriodicTable/LibPeriodicTable-3.1.lua:132 fixSetName = defined @Interface/AddOns/ArkInventory/Externals/PeriodicTable/PeriodicTable/LibPeriodicTable-3.1.lua:157 lodmodules =
{ } (temporary) = 1 (temporary) = nil (*temporary) = "attempt to call field 'GetNumAddOns' (a nil value)"

AddOns: Swatter, v3.4.6977 (SwimmingSeadragon) AllTheThings, vDF-3.8.7 ArkInventory, v31020 DBMCore, v64ac771 DBMStatusBarTimers, v64ac771 GearQuipperTBC, v54 WeakAuras, v5.8.7 BlizRuntimeLib v3.4.3.52237(US) (ck=e0)

Date: 2023-12-15 18:30:09 ID: 2 Error occured in: Global Count: 1 Message: ...Table/ClassSpell/LibPeriodicTable-3.1-ClassSpell.lua line 4: attempt to call method 'AddData' (a nil value) Debug: [string "@Interface/AddOns/ArkInventory/Externals/PeriodicTable/ClassSpell/LibPeriodicTable-3.1-ClassSpell.lua"]:4: in main chunk Locals: (temporary) = nil (temporary) =

{ } (temporary) = "ClassSpell" (temporary) = "$Rev: 90638 $" (*temporary) =
{ ClassSpell.Shaman.Restoration = "-212048:0,-137039:0,-77226:10,-61295:10,-51505:11,-77130:18,-231721:20,-51564:20,-231780:23,-231785:27,-86100:27,-77472:27,-77756:29,-73920:34,-16196:37,-16191:38,-52127:41,-98008:43,-79206:44,-108280:49,-343182:52,-343205:58" ClassSpell.Warrior.Protection = "-137048:0,-316523:10,-76857:10,-6572:12,-316405:13,-20243:14,-231830:18,-6343:19,-71:20,-46968:21,-871:23,-86535:27,-1160:27,-231834:28,-316778:29,-316414:37,-12975:38,-161798:42,-316790:44,-316428:48,-316464:49,-316438:52,-316834:58" ClassSpell.Demon Hunter.Talent = "" ClassSpell.Druid.Talent = "-207383:15,-205636:15,-203962:15,-203953:15,-202430:15,-202425:15,-202031:15,-202021:15,-155835:15,-155580:15,-102351:15,-50464:15,-252216:25,-108238:25,-102401:25,-217615:30,-202157:30,-202155:30,-197632:30,-197492:30,-197491:30,-197490:30,-197488:30,-319454:35,-102359:35,-5211:35,-203964:40,-202345:40,-200390:40,-158478:40,-158477:40,-158476:40,-114107:40,-102560:40,-102558:40,-102543:40,-52610:40,-33891:40,-285564:45,-285381:45,-279620:45,-207385:45,-203974:45,-203965:45,-203651:45,-202354:45,-202347:45,-202028:45,-197073:45,-155578:45,-343647:50,-319439:50,-274902:50,-274837:50,-274281:50,-236068:50,-204053:50,-202770:50,-197721:50,-155675:50,-135288:50,-80313:50" ClassSpell.Priest.Discipline = "-137032:0,-271534:10,-47540:11,-81749:12,-262861:13,-231682:18,-527:18,-186263:19,-34433:20,-194509:23,-48045:26,-132157:31,-343726:32,-212036:37,-33206:38,-322115:39,-47536:41,-285485:43,-62618:44,-198068:47,-322112:56" ClassSpell.Death Knight.Talent = "-281208:15,-253593:15,-221536:15,-219809:15,-207311:15,-207272:15,-206931:15,-194916:15,-194878:15,-274156:25,-273946:25,-207269:25,-207264:25,-207104:25,-207061:25,-194662:25,-115989:25,-57330:25,-317610:30,-276079:30,-221699:30,-207167:30,-206974:30,-108194:30,-343294:35,-276023:35,-207230:35,-207142:35,-206967:35,-206940:35,-205727:35,-194917:35,-194909:35,-273952:40,-212552:40,-207321:40,-207200:40,-206970:40,-321995:45,-319230:45,-277234:45,-273953:45,-195679:45,-194913:45,-194912:45,-152280:45,-48743:45,-281238:50,-276837:50,-207289:50,-207126:50,-205723:50,-194844:50,-152279:50,-114556:50,-49206:50" ClassSpell.Warlock.Talent = "-334319:15,-267211:15,-267171:15,-267115:15,-264078:15,-198590:15,-196412:15,-108558:15,-6353:15,-266134:25,-264130:25,-205148:25,-205145:25,-196103:25,-196102:25,-17877:25,-603:25,-219272:30,-111400:30,-108416:30,-278350:35,-270545:35,-267170:35,-264119:35,-264057:35,-205179:35,-196408:35,-196226:35,-152108:35,-264874:40,-6789:40,-5484:40,-334183:45,-267216:45,-266086:45,-205184:45,-111898:45,-108503:45,-48181:45,-267217:50,-267215:50,-267214:50,-264000:50,-215941:50,-196447:50,-113860:50,-113858:50" ClassSpell.Druid.General = "-231437:0,-219432:0,-137009:0,-106830:0,-5225:1,-5176:1,-8921:2,-8936:3,-339:4,-5221:5,-768:5,-125972:6,-1850:6,-22568:7,-33917:8,-5487:8,-6795:9,-236716:10,-210065:10,-210053:10,-193753:10,-127757:10,-16870:10,-783:10,-77758:11,-164815:13,-50769:13,-5215:13,-326646:14,-276012:17,-192081:18,-164862:21,-18960:22,-165962:24,-22812:24,-20484:29,-276029:30,-2637:38,-2908:41,-106898:43,-327993:44,-328024:46,-33786:48,-231032:52,-343238:56" ClassSpell.Mage.Talent = "-269644:15,-264354:15,-236628:15,-205027:15,-205026:15,-205024:15,-205022:15,-205020:15,-157997:15,-342249:25,-236457:25,-235365:25,-235297:25,-212653:25,-157981:25,-108839:25,-321358:30,-116011:30,-1463:30,-342344:35,-342231:35,-278309:35,-257537:35,-235870:35,-205030:35,-205029:35,-205028:35,-114923:35,-236058:40,-235711:40,-235224:40,-205036:40,-113724:40,-281482:45,-270233:45,-205037:45,-205023:45,-157980:45,-153626:45,-153595:45,-44457:45,-321387:50,-269650:50,-210805:50,-205021:50,-199786:50,-155149:50,-155148:50,-155147:50,-153561:50" ClassSpell.Paladin.Retribution = "-137027:0,-267316:10,-85256:10,-342348:11,-213644:12,-315867:16,-183218:18,-184575:19,-53385:23,-267344:24,-184662:26,-96231:27,-86539:27,-231663:29,-231667:33,-327981:34,-255 AddOns: Swatter, v3.4.6977 (SwimmingSeadragon) AllTheThings, vDF-3.8.7 ArkInventory, v31020 DBMCore, v64ac771 DBMStatusBarTimers, v64ac771 GearQuipperTBC, v54 WeakAuras, v5.8.7 BlizRuntimeLib v3.4.3.52237(US) (ck=e0)

Date: 2023-12-15 18:30:09 ID: 2 Error occured in: Global Count: 1 Message: ...Table/ClassSpell/LibPeriodicTable-3.1-ClassSpell.lua line 4: attempt to call method 'AddData' (a nil value) Debug: [string "@Interface/AddOns/ArkInventory/Externals/PeriodicTable/ClassSpell/LibPeriodicTable-3.1-ClassSpell.lua"]:4: in main chunk Locals: (temporary) = nil (temporary) =

{ } (temporary) = "ClassSpell" (temporary) = "$Rev: 90638 $" (*temporary) =
{ ClassSpell.Shaman.Restoration = "-212048:0,-137039:0,-77226:10,-61295:10,-51505:11,-77130:18,-231721:20,-51564:20,-231780:23,-231785:27,-86100:27,-77472:27,-77756:29,-73920:34,-16196:37,-16191:38,-52127:41,-98008:43,-79206:44,-108280:49,-343182:52,-343205:58" ClassSpell.Warrior.Protection = "-137048:0,-316523:10,-76857:10,-6572:12,-316405:13,-20243:14,-231830:18,-6343:19,-71:20,-46968:21,-871:23,-86535:27,-1160:27,-231834:28,-316778:29,-316414:37,-12975:38,-161798:42,-316790:44,-316428:48,-316464:49,-316438:52,-316834:58" ClassSpell.Demon Hunter.Talent = "" ClassSpell.Druid.Talent = "-207383:15,-205636:15,-203962:15,-203953:15,-202430:15,-202425:15,-202031:15,-202021:15,-155835:15,-155580:15,-102351:15,-50464:15,-252216:25,-108238:25,-102401:25,-217615:30,-202157:30,-202155:30,-197632:30,-197492:30,-197491:30,-197490:30,-197488:30,-319454:35,-102359:35,-5211:35,-203964:40,-202345:40,-200390:40,-158478:40,-158477:40,-158476:40,-114107:40,-102560:40,-102558:40,-102543:40,-52610:40,-33891:40,-285564:45,-285381:45,-279620:45,-207385:45,-203974:45,-203965:45,-203651:45,-202354:45,-202347:45,-202028:45,-197073:45,-155578:45,-343647:50,-319439:50,-274902:50,-274837:50,-274281:50,-236068:50,-204053:50,-202770:50,-197721:50,-155675:50,-135288:50,-80313:50" ClassSpell.Priest.Discipline = "-137032:0,-271534:10,-47540:11,-81749:12,-262861:13,-231682:18,-527:18,-186263:19,-34433:20,-194509:23,-48045:26,-132157:31,-343726:32,-212036:37,-33206:38,-322115:39,-47536:41,-285485:43,-62618:44,-198068:47,-322112:56" ClassSpell.Death Knight.Talent = "-281208:15,-253593:15,-221536:15,-219809:15,-207311:15,-207272:15,-206931:15,-194916:15,-194878:15,-274156:25,-273946:25,-207269:25,-207264:25,-207104:25,-207061:25,-194662:25,-115989:25,-57330:25,-317610:30,-276079:30,-221699:30,-207167:30,-206974:30,-108194:30,-343294:35,-276023:35,-207230:35,-207142:35,-206967:35,-206940:35,-205727:35,-194917:35,-194909:35,-273952:40,-212552:40,-207321:40,-207200:40,-206970:40,-321995:45,-319230:45,-277234:45,-273953:45,-195679:45,-194913:45,-194912:45,-152280:45,-48743:45,-281238:50,-276837:50,-207289:50,-207126:50,-205723:50,-194844:50,-152279:50,-114556:50,-49206:50" ClassSpell.Warlock.Talent = "-334319:15,-267211:15,-267171:15,-267115:15,-264078:15,-198590:15,-196412:15,-108558:15,-6353:15,-266134:25,-264130:25,-205148:25,-205145:25,-196103:25,-196102:25,-17877:25,-603:25,-219272:30,-111400:30,-108416:30,-278350:35,-270545:35,-267170:35,-264119:35,-264057:35,-205179:35,-196408:35,-196226:35,-152108:35,-264874:40,-6789:40,-5484:40,-334183:45,-267216:45,-266086:45,-205184:45,-111898:45,-108503:45,-48181:45,-267217:50,-267215:50,-267214:50,-264000:50,-215941:50,-196447:50,-113860:50,-113858:50" ClassSpell.Druid.General = "-231437:0,-219432:0,-137009:0,-106830:0,-5225:1,-5176:1,-8921:2,-8936:3,-339:4,-5221:5,-768:5,-125972:6,-1850:6,-22568:7,-33917:8,-5487:8,-6795:9,-236716:10,-210065:10,-210053:10,-193753:10,-127757:10,-16870:10,-783:10,-77758:11,-164815:13,-50769:13,-5215:13,-326646:14,-276012:17,-192081:18,-164862:21,-18960:22,-165962:24,-22812:24,-20484:29,-276029:30,-2637:38,-2908:41,-106898:43,-327993:44,-328024:46,-33786:48,-231032:52,-343238:56" ClassSpell.Mage.Talent = "-269644:15,-264354:15,-236628:15,-205027:15,-205026:15,-205024:15,-205022:15,-205020:15,-157997:15,-342249:25,-236457:25,-235365:25,-235297:25,-212653:25,-157981:25,-108839:25,-321358:30,-116011:30,-1463:30,-342344:35,-342231:35,-278309:35,-257537:35,-235870:35,-205030:35,-205029:35,-205028:35,-114923:35,-236058:40,-235711:40,-235224:40,-205036:40,-113724:40,-281482:45,-270233:45,-205037:45,-205023:45,-157980:45,-153626:45,-153595:45,-44457:45,-321387:50,-269650:50,-210805:50,-205021:50,-199786:50,-155149:50,-155148:50,-155147:50,-153561:50" ClassSpell.Paladin.Retribution = "-137027:0,-267316:10,-85256:10,-342348:11,-213644:12,-315867:16,-183218:18,-184575:19,-53385:23,-267344:24,-184662:26,-96231:27,-86539:27,-231663:29,-231667:33,-327981:34,-255 AddOns: Swatter, v3.4.6977 (SwimmingSeadragon) AllTheThings, vDF-3.8.7 ArkInventory, v31020 DBMCore, v64ac771 DBMStatusBarTimers, v64ac771 GearQuipperTBC, v54 WeakAuras, v5.8.7 BlizRuntimeLib v3.4.3.52237(US) (ck=e0)

littlejohnjlw commented 7 months ago

Yeah I'm stop. I do not know enough about this to help. I will just end up spamming the wrong section. Sorry hope its back working soon. My favorite add on

arkayenro commented 7 months ago

ok, so i have an older version of the pt library - because i tend to forget to update them

local PT3, oldminor = LibStub:NewLibrary("LibPeriodicTable-3.1", tonumber(("$Revision: 603 $"):match("(%d+)")) + 90000)

the one being used when the zip file is built is newer local PT3, _oldminor = LibStub:NewLibrary("LibPeriodicTable-3.1", tonumber(("$Revision: 665 $"):match("(%d+)")) + 90000)

line 165 in that has for i = 1, C_AddOns.GetNumAddOns() do

but C_AddOns is not exactly the same in wrath vs retail, so C_AddOns.GetNumAddOns() fails

the library author would need to fix it - but in the mean time you should be able to alter that line and get rid of the C_AddOns part and make it for i = 1, GetNumAddOns() do

although its used several times through the library so you may want to find and remove all references to C_Addons.

littlejohnjlw commented 7 months ago

Awesome Thank you!

volostyle commented 7 months ago

That fixed it for me. Also FYI that's the only "C_Addons" in the entire file so easy temporary fix.

Arvyr commented 7 months ago

Can confirm, changing only line 165 and removing 'C_Addons.' fixed it for now. Couldn't find any other issues while testing.

arkayenro commented 7 months ago
Varimea commented 7 months ago

I'm a noob in Addons and Stuff like that, but i have the same issue. Is it possible that someone can tell me step by step what i need to do to fix it? I read the commends, but i have no idea where i need to look or what i have to to.

Like a said, a big noob in things like that.

Arvyr commented 7 months ago

I'm a noob in Addons and Stuff like that, but i have the same issue. Is it possible that someone can tell me step by step what i need to do to fix it? I read the commends, but i have no idea where i need to look or what i have to to.

Like a said, a big noob in things like that.

  1. Open your WoW addon folder "...\World of Warcraft_classic_\Interface\AddOns\ArkInventory\Externals\PeriodicTable\PeriodicTable"
  2. Open "LibPeriodicTable-3.1.lua" with a text editor (preferrably Notepad++)
  3. Go to line 165 and change "for i = 1, C_AddOns.GetNumAddOns() do" to "for i = 1, GetNumAddOns() do"
  4. Save file
  5. Enjoy
Varimea commented 7 months ago

Thank you so much. It works :)

arkayenro commented 7 months ago

the pt library has been fixed, so it should be fixed in 3.10.21 once that gets built

arkayenro commented 7 months ago

fixed in 3.10.21 (PeriodicTable version 699)