Had a full inventory and i'm selling items automatic with the Addon "Dejunk".
Two times these two LUA Errors happens today with the new Alpha.
But not everytime i'm selling items.
Steps to reproduce
1x BetterBags-Appearances/main.lua:318: bad argument #1 to 'upper' (string expected, got nil)
string "=[C]": in function upper' [string "@BetterBags-Appearances/main.lua"]:318: in functionisUsableByCurrentClass'
[string "@BetterBags-Appearances/main.lua"]:353: in function func' [string "@BetterBags/data/categories.lua"]:137: in functionGetCustomCategory'
[string "@BetterBags/frames/item.lua"]:379: in function GetCategory' [string "@BetterBags/views/gridview.lua"]:87: in functionRender'
[string "@BetterBags/frames/bag.lua"]:213: in function Draw' [string "@BetterBags/core/init.lua"]:141: in functioncb'
[string "@BetterBags/core/events.lua"]:45: in function <BetterBags/core/events.lua:40>
[string "@TomTom/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...Tom/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@TomTom/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function `SendMessage'
[string "@BetterBags/core/events.lua"]:148: in function <BetterBags/core/events.lua:147>
35x BetterBags/views/gridview.lua:154: attempt to index field '?' (a nil value)
[string "@BetterBags/views/gridview.lua"]:154: in function Render' [string "@BetterBags/frames/bag.lua"]:213: in functionDraw'
[string "@BetterBags/core/init.lua"]:141: in function `cb'
[string "@BetterBags/core/events.lua"]:45: in function <BetterBags/core/events.lua:40>
[string "@TomTom/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...Tom/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@TomTom/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function `SendMessage'
[string "@BetterBags/core/events.lua"]:148: in function <BetterBags/core/events.lua:147>
Locals:
view =
{
Render = defined @BetterBags/views/gridview.lua:61
itemCount = 94
itemsByBagAndSlot =
{
SetDefaultModuleLibraries = defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:363
Migrate = defined @BetterBags/core/database.lua:293
ItemCategoryExists = defined @BetterBags/core/database.lua:230
SetItemLevelEnabled = defined @BetterBags/core/database.lua:120
GetItemLock = <fu
Installed the new release v0.1.8 and get that Error again.
2x BetterBags-Appearances/main.lua:318: bad argument #1 to 'upper' (string expected, got nil)
string "=[C]": in function upper' [string "@BetterBags-Appearances/main.lua"]:318: in functionisUsableByCurrentClass'
[string "@BetterBags-Appearances/main.lua"]:353: in function func' [string "@BetterBags/data/categories.lua"]:137: in functionGetCustomCategory'
[string "@BetterBags/frames/item.lua"]:379: in function GetCategory' [string "@BetterBags/views/gridview.lua"]:87: in functionRender'
[string "@BetterBags/frames/bag.lua"]:213: in function Draw' [string "@BetterBags/core/init.lua"]:141: in functioncb'
[string "@BetterBags/core/events.lua"]:45: in function <BetterBags/core/events.lua:40>
[string "@TomTom/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...Tom/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@TomTom/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function `SendMessage'
[string "@BetterBags/core/events.lua"]:148: in function <BetterBags/core/events.lua:147>
Addon Version
v0.1.7-5-ga690f71
World of Warcraft Version
Retail
Describe the bug
Had a full inventory and i'm selling items automatic with the Addon "Dejunk".
Two times these two LUA Errors happens today with the new Alpha. But not everytime i'm selling items.
Steps to reproduce
1x BetterBags-Appearances/main.lua:318: bad argument #1 to 'upper' (string expected, got nil) string "=[C]": in function
upper' [string "@BetterBags-Appearances/main.lua"]:318: in function
isUsableByCurrentClass' [string "@BetterBags-Appearances/main.lua"]:353: in functionfunc' [string "@BetterBags/data/categories.lua"]:137: in function
GetCustomCategory' [string "@BetterBags/frames/item.lua"]:379: in functionGetCategory' [string "@BetterBags/views/gridview.lua"]:87: in function
Render' [string "@BetterBags/frames/bag.lua"]:213: in functionDraw' [string "@BetterBags/core/init.lua"]:141: in function
cb' [string "@BetterBags/core/events.lua"]:45: in function <BetterBags/core/events.lua:40>[string "@TomTom/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...Tom/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15> [string "@TomTom/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function `SendMessage' [string "@BetterBags/core/events.lua"]:148: in function <BetterBags/core/events.lua:147>
Locals: (temporary) = nil (temporary) = "string expected, got nil"
35x BetterBags/views/gridview.lua:154: attempt to index field '?' (a nil value) [string "@BetterBags/views/gridview.lua"]:154: in function
Render' [string "@BetterBags/frames/bag.lua"]:213: in function
Draw' [string "@BetterBags/core/init.lua"]:141: in function `cb' [string "@BetterBags/core/events.lua"]:45: in function <BetterBags/core/events.lua:40>[string "@TomTom/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...Tom/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15> [string "@TomTom/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function `SendMessage' [string "@BetterBags/core/events.lua"]:148: in function <BetterBags/core/events.lua:147>
Locals: view =
Thanks for the report! I just pushed a new Alpha build that fixes this -- if this comes up again, please reopen this bug.
Installed the new release v0.1.8 and get that Error again.
2x BetterBags-Appearances/main.lua:318: bad argument #1 to 'upper' (string expected, got nil) string "=[C]": in function
upper' [string "@BetterBags-Appearances/main.lua"]:318: in function
isUsableByCurrentClass' [string "@BetterBags-Appearances/main.lua"]:353: in functionfunc' [string "@BetterBags/data/categories.lua"]:137: in function
GetCustomCategory' [string "@BetterBags/frames/item.lua"]:379: in functionGetCategory' [string "@BetterBags/views/gridview.lua"]:87: in function
Render' [string "@BetterBags/frames/bag.lua"]:213: in functionDraw' [string "@BetterBags/core/init.lua"]:141: in function
cb' [string "@BetterBags/core/events.lua"]:45: in function <BetterBags/core/events.lua:40>[string "@TomTom/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...Tom/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15> [string "@TomTom/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function `SendMessage' [string "@BetterBags/core/events.lua"]:148: in function <BetterBags/core/events.lua:147>
Locals: (temporary) = nil (temporary) = "string expected, got nil"
This is related to the BetterBags-Apperance plugin, which is not written by us -- disable that addon and reach out to the author.