Bagnon

Bagnon

126M Downloads

Error when choosing 'Character Specific Settings'

bloodstrike opened this issue · 1 comments

commented

Which software were you running?

  • Addon version name: Bagnon 10.1.8
  • Client used: WotLK Classic 3.4.2

Have you read the changelog?
Mark if read. yes

Please describe the bug.
When choosing 'character specific settings' (tuning on or off) in Bagnon options, an error is thrown and the setting is not saved after logging out. Bugsack error log below

Please describe how to reproduce it.

  1. Go to Bagnon Options
  2. Click on Character Specific Settings
  3. See error

Error Logs are Important!
Type /console scriptErrors 1 in the chat and reload the game. If an error window appears when reproducing the bug, please write here the first message (labelled 1/Many) that appeared. ⚠️ By default, the last error message is shown, not the first! You need to navigate back to the first error.

1x BagBrother/core/api/owners.lua:124: attempt to index global 'owner' (a nil value)
[string "@BagBrother/core/api/owners.lua"]:124: in function SetProfile' [string "@BagBrother/config/panels/generalOptions.lua"]:47: in function SetProfile'
[string "@BagBrother/config/panels/generalOptions.lua"]:32: in function ToggleGlobals' [string "@BagBrother/config/panels/generalOptions.lua"]:27: in function method'
[string "@BagBrother/libs/Sushi-3.1-5/classes/core/Callable.lua"]:53: in function `FireCalls'
[string "@BagBrother/libs/Sushi-3.1-5/classes/buttons/Clickable.lua"]:39: in function <...Brother/libs/Sushi-3.1/classes/buttons/Clickable.lua:34>

Locals:
self =

{
profile =
{
}
name = "Zeebanker"
address = "Zeebanker-Mankrik"
id = "Zeebanker"
offline = false
cache =
{
}
realm = "Mankrik"
}
profile =
{
vault =
{
}
inventory =
{
}
guild =
{
}
bank =
{
}
}
(*temporary) = defined @BagBrother/core/api/settings.lua:155
(*temporary) =
{
UnregisterSignal = defined @BagBrother/libs/WildAddon-1.0/WildAddon-1.0.lua:78
GetProfile = defined @BagBrother/core/api/settings.lua:155
SetProfile = defined @BagBrother/core/api/settings.lua:150
RegisterSignal = defined @BagBrother/libs/WildAddon-1.0/WildAddon-1.0.lua:74
NewModule = defined @BagBrother/libs/WildAddon-1.0/WildAddon-1.0.lua:68
UnregisterAllEvents = defined @AllTheThings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:164
RegisterEvent = defined @AllTheThings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:80
UnregisterAllMessages = defined @AllTheThings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:164
OnEnable = defined @BagBrother/core/api/settings.lua:97
RegisterMessage = defined @AllTheThings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:80
SendSignal = defined @BagBrother/libs/WildAddon-1.0/WildAddon-1.0.lua:82
UnregisterMessage = defined @AllTheThings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:143
SendMessage = defined @AllTheThings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:49
UnregisterEvent = defined @AllTheThings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:143
Tag = "BAGNON_"
}
(*temporary) = nil
(*temporary) = "Zeebanker"
(*temporary) =
{
vault =
{
}
inventory =
{
}
guild =
{
}
bank =
{
}
}
(*temporary) = "attempt to index global 'owner' (a nil value)"
Addon =
{
IsKeyring = defined @BagBrother/libs/LibItemCache-2.0/LibItemCache-2.0.lua:420
FrameTemplate = "BackdropTemplate"
IsRetail = false
GetOwnerID = defined @BagBrother/libs/LibItemCache-2.0/LibItemCache-2.0.lua:300
InventoryBags =
{
}
Currency =
{
}
InBank = defined @BagBrother/libs/LibItemCache-2.0/LibItemCache-2.0.lua:397
ItemGroup =
{
}
GeneralOptions = Frame {
}
ContainerItemGroup =
{
}
player =
{
}
RestoreItemData = defined @BagBrother/libs/LibItemCache-2.0/LibItemCache-2.0.lua:334
Frame =
{
}
OptionsToggle =
{
}
Bag =
{
}
IsBank = defined @BagBrother/libs/LibItemCache-2.0/LibItemCache-2.0.lua:424
RegisterMessage = defined @AllTheThings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:80
UnregisterMessage = defined @AllTheThings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:143
IsBagCached = defined @BagBrother/libs/LibItemCache-2.0/LibItemCache-2.0.lua:321
CurrencyTooltipCounts =
{
}
Base =
{
}
UnregisterSignal = defined @BagBrother/libs/WildAddon-1.0/WildAddon-1.0.lua:78
GetOwnerAddress = defined @BagBrother/libs/LibItemCache-2.0/LibItemCache-2.0.lua:305
RegisterEvent = defined @AllTheThings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:80
sets =
{
}
OnEnable = defined @BagBrother/core/core.lua:35
Name = "Bagnon"
IterateOwners = defined @BagBrother/libs/LibItemCache-2.0/LibItemCache-2.0.lua:135
InGuild = defined @BagBrother/libs/LibItemCache-2.0/LibItemCach

commented

I'm getting the same error.
I'm reloading my UI right after and it saves the setting for me. A bit annoying to do this for each char, but at least this way it is saved ;)