Scrap (Junk Seller)

Scrap (Junk Seller)

21M Downloads

spotlight.lua:36: attempt to index local 'frame' (a nil value)

gouletr opened this issue ยท 2 comments

commented

Which software were you running?

  • Addon version name: 11.0.12
  • Client used: Classic 1.15.5.57716 (on the new Anniversary Realms)

Have you read the changelog?
Yes

Please describe the bug.
Lua error when trying to mark item as junk:

Message: Interface/AddOns/Scrap/addons/main/spotlight.lua:36: attempt to index local 'frame' (a nil value)
Time: Fri Nov 22 12:16:46 2024
Count: 5
Stack: Interface/AddOns/Scrap/addons/main/spotlight.lua:36: attempt to index local 'frame' (a nil value)
[string "=[C]"]: ?
[string "@Interface/AddOns/Scrap/addons/main/spotlight.lua"]:36: in function `UpdateContainer'
[string "@Interface/AddOns/Scrap/addons/main/spotlight.lua"]:30: in function `?'
[string "@Interface/AddOns/AtlasLootClassic/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:109: in function <...sic/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>
[string "=[C]"]: ?
[string "@Interface/AddOns/AtlasLootClassic/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:19: in function <...sic/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@Interface/AddOns/AtlasLootClassic/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:54: in function `SendMessage'
[string "@Interface/AddOns/Scrap/libs/WildAddon-1.0/WildAddon-1.0.lua"]:100: in function `SendSignal'
[string "@Interface/AddOns/Scrap/addons/main/main.lua"]:81: in function `ToggleJunk'
[string "SCRAP_TOGGLE"]:3: in function <[string "SCRAP_TOGGLE"]:1>

Please describe how to reproduce it.

  1. use keybind to mark an item as junk
  2. lua error
commented

Reverting to 11.0.10 fixed the issue, so this was very recently introduced.

commented

having this same issue.