b-morgan / Skillet-Classic

World of Warcraft Classic addon
GNU General Public License v3.0
6 stars 6 forks source link

[wotlk] Skillets recipe list is empty when 'Datastore' is activated #139

Closed Raithen88 closed 1 year ago

Raithen88 commented 1 year ago

Hi, at the moment, my skillet book is empty as long as the addon datastore is activated. Datastore itself works, but it does not in combination with skillet

Datastore activated: http://puu.sh/Jxh9p/a7aa468fae.jpg

Datastore deactivated: http://puu.sh/Jxh9y/e556313e59.jpg

b-morgan commented 1 year ago

Altoholic (which includes DataStore) has not been updated for 3.4.1 yet. While "Load out of date AddOns" may appear to work, there is no guarantee that the code is actually working. If you turn on Skillet-Classic debugging (/skillet debugshow) there might be an error message.

I'll see if I can reproduce.

b-morgan commented 1 year ago

The following error occurs when I attempt to open Skillet-Classic with the DataStore plugin enabled:

8x DataStore/API/Core.lua:77: attempt to index local 'arg1' (a nil value)
[string "@DataStore/API/Core.lua"]:77: in function `GetAuctionHouseItemCount'
[string "@Skillet-Classic/Plugins/DataStoreAuctions.lua"]:92: in function `RecipeNamePrefix'
[string "@Skillet-Classic/SkilletPlugin.lua"]:202: in function `RecipeNamePrefix'
[string "@Skillet-Classic/UI/MainFrame.lua"]:1206: in function `UpdateTradeSkillWindow'
[string "@Skillet-Classic/Skillet.lua"]:1447: in function `ShowTradeSkillWindow'
[string "@Skillet-Classic/Skillet.lua"]:1255: in function `SkilletShowWindow'
[string "@Skillet-Classic/Skillet.lua"]:938: in function `TRADE_SKILL_UPDATE'
[string "@Skillet-Classic/Skillet.lua"]:1196: in function `SkilletShow'
[string "@Skillet-Classic/Skillet.lua"]:1005: in function `?'
[string "@DataStore/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:114: in function <...ore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:114>
[string "=[C]"]: ?
[string "@DataStore/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:24: in function <...ore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:20>
[string "@DataStore/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:59: in function `Fire'
[string "@DataStore/libs/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <DataStore/libs/AceEvent-3.0/AceEvent-3.0.lua:119>
[string "=[C]"]: in function `UseAction'
[string "@FrameXML/SecureTemplates.lua"]:343: in function `handler'
[string "@FrameXML/SecureTemplates.lua"]:625: in function `SecureActionButton_OnClick'
[string "*ActionBarFrame.xml:15_OnClick"]:4: in function <[string "*ActionBarFrame.xml:15_OnClick"]:1>
b-morgan commented 1 year ago

The plugin will be enhanced in the next release to avoid this error.