Cant Open bags
Ohealsno opened this issue ยท 8 comments
When I try to open bags with bagnon I get following error after the 4.0.6 patch
Date: 2011-02-08 10:04:55
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\Bagnon\components\item.lua line 550:
bad argument #2 to 'format' (string expected, got nil)
Debug:
Bagnon\components\item.lua:550: in main chunk
AddOns:
Swatter, v3.2.3 (<%codename%>)
Ace3, v
AceGUI30SharedMediaWidgets, v4.0.0
AckisRecipeList, v2.2.0-beta1-32-g4083198
ACP, v3.3.13
Altoholic, v4.0.005
Archy, v1.6.3
AtlasLoot, vv6.02.00
AtlasLootCataclysm, vv6.02.00
AtlasLootCrafting, vv6.02.00
Auctionator, v2.8.8
AutoBar, vv4.0.3.13
Bagnon, v2.15.2
BagnonForever, v1.1.2
DataStore, v4.0.001
DataStoreCharacters, v4.0.001
DewdropLib, v
LibSharedMedia30, v3.0-62
BlizRuntimeLib_enUS v4.0.6.40000
(ck=1e8)
I'm also experiencing this issue with the following dumps:
[ Opening Bags ]
2x Bagnon-2.15.2\components\item.lua:27: attempt to call method 'GetDummyBag' (a nil value)
(tail call): ?:
Bagnon-2.15.2\components\itemFrame.lua:247: in function AddItemSlot' Bagnon-2.15.2\components\itemFrame.lua:331: in function
ReloadAllItemSlots'
Bagnon-2.15.2\components\itemFrame.lua:189: in function UpdateEverything' Bagnon-2.15.2\components\itemFrame.lua:442: in function
SetFrameID'
Bagnon-2.15.2\components\itemFrame.lua:37: in function New' Bagnon-2.15.2\components\frame.lua:719: in function
CreateItemFrame'
Bagnon-2.15.2\components\frame.lua:729: in function PlaceItemFrame' Bagnon-2.15.2\components\frame.lua:451: in function
Layout'
Bagnon-2.15.2\components\frame.lua:243: in function UpdateLook' Bagnon-2.15.2\components\frame.lua:193: in function <Bagnon\components\frame.lua:189> <in C code>: in function
Show'
Bagnon-2.15.2\components\frame.lua:77: in function action' Bagnon-2.15.2\utility\ears.lua:29: in function
SendMessage'
Bagnon-2.15.2\components\frameSettings.lua:51: in function SendMessage' Bagnon-2.15.2\components\frameSettings.lua:69: in function
Show'
Bagnon-2.15.2\components\frameSettings.lua:89: in function Toggle' Bagnon-2.15.2\main.lua:131: in function
ToggleFrame'
Bagnon-2.15.2\main.lua:215: in function `OpenAllBags'
:"OPENALLBAGS":1: in function <[string "OPENALLBAGS"]:1>
Locals:
(_temporary) = "down"
(_temporary) = 1
(_temporary) = -1
(_temporary) = 0
(*temporary) = defined =[C]:-1
[ Opening Bank ]
1x Bagnon-2.15.2\components\item.lua:27: attempt to call method 'GetDummyBag' (a nil value)
(tail call): ?:
Bagnon-2.15.2\components\itemFrame.lua:247: in function AddItemSlot' Bagnon-2.15.2\components\itemFrame.lua:331: in function
ReloadAllItemSlots'
Bagnon-2.15.2\components\itemFrame.lua:189: in function UpdateEverything' Bagnon-2.15.2\components\itemFrame.lua:75: in function
action'
Bagnon-2.15.2\utility\ears.lua:29: in function SendMessage' Bagnon-2.15.2\utility\itemEvents.lua:255: in function
?'
Bagnon-2.15.2\utility\itemEvents.lua:70: in function <Bagnon\utility\itemEvents.lua:68>
Locals:
(_temporary) = "BANKFRAME_OPENED"
(_temporary) = "BANKFRAME_OPENED"
(*temporary) = defined =[C]:-1
Funnily enough, I already fixed this. Its just that I fixed it enough time ago that I forgot about it :P
I get the following on game load as well:
Date: 2011-02-08 14:01:48 ID: 1 Error occured in: Global Count: 1 Message: ..\AddOns\Bagnon\components\item.lua line 550: bad argument #2 to 'format' (string expected, got nil) Debug: Bagnon\components\item.lua:550: in main chunk
I'm using a different error handler than the commenters above. here is my error handler message.
Date: 2011-02-08 14:05:56 ID: 6 Error occured in: Global Count: 1 Message: ..\AddOns\Bagnon\components\item.lua line 27: attempt to call method 'GetDummyBag' (a nil value) Debug: Bagnon\components\item.lua:27: Bagnon\components\item.lua:24 (tail call): ? Bagnon\components\itemFrame.lua:247: AddItemSlot() Bagnon\components\itemFrame.lua:331: ReloadAllItemSlots() Bagnon\components\itemFrame.lua:189: UpdateEverything() Bagnon\components\itemFrame.lua:442: SetFrameID() Bagnon\components\itemFrame.lua:37: New() Bagnon\components\frame.lua:719: CreateItemFrame() Bagnon\components\frame.lua:729: PlaceItemFrame() Bagnon\components\frame.lua:451: Layout() Bagnon\components\frame.lua:243: UpdateLook() Bagnon\components\frame.lua:193: Bagnon\components\frame.lua:189 Bagnon\components\frame.lua:77: action() Bagnon\utility\ears.lua:29: SendMessage() Bagnon\components\frameSettings.lua:51: SendMessage() Bagnon\components\frameSettings.lua:69: Show() Bagnon\components\frameSettings.lua:89: Toggle() Bagnon\main.lua:131: ToggleFrame() Bagnon\main.lua:171: ToggleBackpack() ..\FrameXML\MainMenuBarBagButtons.lua:54: BackpackButton_OnClick() [string "*:OnClick"]:1 AddOns:Removed
It'll be fixed sometime around 5:15 EST. Here's the actual fix in question:
https://github.com/Tuller/Bagnon/commit/db34f3e8d878fe26dd66c370296a7c5f20a164dc
getting same "can't open bags" with dump
Date: 2011-02-08 14:37:40
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\Bagnon\components\item.lua line 550:
bad argument #2 to 'format' (string expected, got nil)
Debug:
Bagnon\components\item.lua:550: in main chunk
AddOns:
Swatter, v3.2.3 (<%codename%>)
ACP, v3.3.8
AtlasLoot, vv6.01.02
AtlasLootBurningCrusade, vv6.01.02
AtlasLootCataclysm, vv6.01.02
AtlasLootClassicWoW, vv6.01.02
AtlasLootCrafting, vv6.01.02
AtlasLootWorldEvents, vv6.01.02
AtlasLootWrathoftheLichKing, vv6.01.02
Atramedes, v1
Bagnon, v2.15.2
BagnonForever, v1.1.2
BlizRuntimeLib_enUS v4.0.6.40000
(ck=179)