Bagnon

Bagnon

124M Downloads

Error when removing characters

Phanx opened this issue ยท 1 comments

commented

Using Bagnon 6.0.5 on EU live servers (patch 6.0.2).

I noticed that I'm now able to view the bags/banks of characters on connected realms, and as the list was quite long, decided to remove data for characters I don't actually play. The first few worked fine, but then I got this error, and data for the character was not removed.

1x ...s\Bagnon\libs\18LibItemCache-1.1-13\Caches\BagBrother.lua:137: attempt to concatenate local 'guild' (a nil value)
...s\Bagnon\libs\18LibItemCache-1.1-13\Caches\BagBrother.lua:137: in function <...s\Bagnon\libs\LibItemCache-1.1\Caches\BagBrother.lua:126>
(tail call): ?
...terface\Bagnon\libs\31LibItemCache-1.1-13\Core.lua:106: in function 'DeletePlayer'
...nterface\Bagnon\components\playerDropdown.lua:23: in function 'func'
FrameXML\UIDropDownMenu.lua:748: in function 'UIDropDownMenuButton_OnClick'
[string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>

Upon trying for a second time to remove the same character, this error occurred, and the character was still not removed.

1x ...s\Bagnon\libs\18LibItemCache-1.1-13\Caches\BagBrother.lua:128: attempt to index field '?' (a nil value)
...s\Bagnon\libs\18LibItemCache-1.1-13\Caches\BagBrother.lua:128: in function <...s\Bagnon\libs\LibItemCache-1.1\Caches\BagBrother.lua:126>
(tail call): ?
...terface\Bagnon\libs\31LibItemCache-1.1-13\Core.lua:106: in function 'DeletePlayer'
...nterface\Bagnon\components\playerDropdown.lua:23: in function 'func'
FrameXML\UIDropDownMenu.lua:748: in function 'UIDropDownMenuButton_OnClick'
[string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>

I'm not sure what was different about this character. Perhaps that it was the last one from the server it was on?

Afterward, I got no tooltip when mousing over the money frame on the bags, and the following error occurred instead:

5x ...s\Bagnon\libs\18LibItemCache-1.1-13\Caches\BagBrother.lua:113: attempt to index field '?' (a nil value)
...s\Bagnon\libs\18LibItemCache-1.1-13\Caches\BagBrother.lua:113: in function <...s\Bagnon\libs\LibItemCache-1.1\Caches\BagBrother.lua:112>
(tail call): ?
...terface\Bagnon\libs\31LibItemCache-1.1-13\Core.lua:64: in function 'GetPlayerMoney'
Bagnon\components\moneyFrame.lua:72: in function 'OnEnter'
Bagnon\components\moneyFrame.lua:25: in function <Bagnon\components\moneyFrame.lua:25>

After reloading the UI, the character was no longer listed.

commented

Figured out the cause. Yeah, happens when you start having few characters on some server.