Bagnon Plugin errors after Bagnon update
Originally reported on CurseForge by thrumbar: https://www.curseforge.com/wow/addons/can-i-mog-it/issues/215
What steps will reproduce the problem?
Logging in with this app and bagnon installed
What did you expect? What do you see instead?
Attach a screenshot of the Debug tooltip (/cimi debug).
What was the item name?
What was the level and class of the character you were on?
What version are you using?
Do you have an error log?
1x CanIMogIt\Plugins\bagnon-8.2.21.lua:38: Usage: hooksecurefunc([table,] "function", hookfunc) [C]: in function `hooksecurefunc' CanIMogIt\Plugins\bagnon-8.2.21.lua:38: in main chunk Locals: (*temporary) = <table> { UpdateOnBarHighlightMarksBySpell = <function> defined @FrameXML\ActionButton.lua:74 ERR_OUT_OF_CHI = "Not enough chi" DH_HAVOC_CORE_ABILITY_2 = "Strong melee attack that consumes Fury. If it critical strikes, some Fury is refunded." MultiCastActionButton6Cooldown = MultiCastActionButton6Cooldown { } MerchantItem9ItemButtonStock = MerchantItem9ItemButtonStock { } GetTrainerServiceTypeFilter = <function> defined =[C]:-1 UNIT_NAMES_COMBATLOG_TOOLTIP = "Color unit names." SetTrainerServiceTypeFilter = <function> defined =[C]:-1 LE_GAME_ERR_CHAT_RAID_RESTRICTED_TRIAL = 739 SPELL_FAILED_CUSTOM_ERROR_71 = "This partygoer wants to dance with you." LE_GAME_ERR_PET_SPELL_TARGETS_DEAD = 399 ERROR_CLUB_TICKET_COUNT_AT_MAX_COMMUNITY = "Can't create any more invite links for this community." RecruitAFriendFrame = RecruitAFriendFrame { } CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture = CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture { } TutorialFrameLeft19 = TutorialFrameLeft19 { } MultiCastActionButton2Cooldown = MultiCastActionButton2Cooldown { } ERR_TRADE_EQUIPPED_BAG = "You can't trade equipped bags." PVP_RANK_6_1 = "Corporal" MultiBarLeftButton7 = MultiBarLeftButton7 { } AudioOptionsVoicePanelOutputDeviceDropdownButtonHighlightTexture = AudioOptionsVoicePanelOutputDeviceDropdownButtonHighlightTexture { } VideoOptionsFrameCategoryFrameButton17ToggleHighlightTexture = VideoOptionsFrameCategoryFrameButton17ToggleHighlightTexture { } MerchantItem1AltCurrencyFrameItem1Text = MerchantItem1AltCurrencyFrameItem1Text { } OPTION_TOOLTIP_ACTION_BUTTON_USE_KEY_DOWN = "Action button keybinds will respond on key down, rather than on key up." BINDING_NAME_NAMEPLATES = "Show Enemy Name Plates" CHAT_HEADER_SUFFIX = ": " MultiBarBottomRightButton8Shine5 = MultiBarBottomRightButton8Shine5 { } MAIL_LETTER_TOOLTIP = "Click to make a permanent copy of this letter." UnitFrameManaBar_UnregisterDefaultEvents = <function> defined @FrameXML\UnitFrame.lua:778 PaperDollTitlesPaneButton10BgTop = PaperDollTitlesPaneButton10BgTop { } ERR_NOAMMO_S = "%s" CHAT_CONFIG_OTHER_COMBAT = <table> { } FCFDockOverflowButton_OnClick = <function> defined @FrameXML\FloatingChatFrame.lua:2379 TutorialFrameRight19 = TutorialFrameRight19 { } ChatFrame6EditBoxFocusMid = ChatFrame6EditBoxFocusMid { } BN_UNABLE_TO_RESOLVE_NAME = "Unable to whisper '%s'. Blizzard services may be unavailable." LE_GAME_ERR_RECRUIT_A_FRIEND_FAILED = 949 CompactRaidFrameManagerDisplayFrameHiddenModeToggleTopRight = CompactRaidFrameManagerDisplayFrameHiddenModeToggleTopRight { } LFGTeleport = <function> defined =[C]:-1 LE_GAME_ERR_ONLY_ONE_QUIVER = 32 INT_SPELL_DURATION_HOURS = "%d |4hour:hrs;" SLASH_LibQTip1 = "/qtip" ToggleEncounterJournal = <function> defined @FrameXML\UIParent.lua:944 LOSS_OF_CONTROL_DISPLAY_FEAR = "Feared" Graphics_QualityText = Graphics_QualityText { } TalentMicroButtonAlertShadowTopLeft = TalentMicroButtonAlertShadowTopLeft { } OverrideActionBarButton6Shine11 = OverrideActionBarButton6Shine11 { } ROGUE_COMBAT_CORE_ABILITY_4 = "Melee attack that spends Combo Points." JoinSkirmish = <function> defined =[C]:-1 FriendsFriendsScrollFrameButton14 = FriendsFriendsScrollFrameButton14 { } Advanced_GraphicsAPIDropDownButtonHighlightTexture = Advanced_GraphicsAPIDropDownButtonHighlightTexture { } MultiBarRightButton7Shine9 = MultiBarRightButton7Shine9 { } BankFrameItem17SearchOverlay = BankFrameItem17SearchOverlay { } LFGListSearchPanelScrollFrameButton10BottomRight = LFGListSearchPanelScrollFrameButton10BottomRight { } DMG_LCD = "DMG" RaidGraphics_EnvironmentalDetailSlider = RaidGraphics_EnvironmentalDetailSlider { } Is64BitClient = <function> defined =[C]:-1 SecureCmdItemParse = <function> defined @FrameXML\ChatFrame.lua:1145 SLASH_STOPATTACK1 = "/stopattack" MultiCastActionButton4HotKey = MultiCastActionButton4HotKey { } CompactRaidFrameManagerDisplayFrameFilterOp
Are you using a bag/bank/ui addon? What is it called? What version?
Please provide any additional information below.
AmiYuy
Judging by the reports of errors on Bagnon's issues, I'm going to say that this is their problem and I recommend that you let us know if it is still happening in a version or two.
Also, what version of Bagnon are you using? We need to know that to see whether it is fixed or not.
Thank you.
thrumbar
Unsing the latest release of Bagnon 8.2.23 and still getting the error. Both have the latest Curse release..
Edit: Bagnon closed ticket as invalid
Bagnon 8.2.23
CanIMogIt 8.2.5.v120
1x CanIMogIt\Plugins\bagnon-8.2.21.lua:38: Usage: hooksecurefunc([table,] "function", hookfunc) [C]: in function `hooksecurefunc' CanIMogIt\Plugins\bagnon-8.2.21.lua:38: in main chunk Locals: (*temporary) = <table> { UpdateOnBarHighlightMarksBySpell = <function> defined @FrameXML\ActionButton.lua:74 ERR_OUT_OF_CHI = "Not enough chi" DH_HAVOC_CORE_ABILITY_2 = "Strong melee attack that consumes Fury. If it critical strikes, some Fury is refunded." MultiCastActionButton6Cooldown = MultiCastActionButton6Cooldown { } MerchantItem9ItemButtonStock = MerchantItem9ItemButtonStock { } GetTrainerServiceTypeFilter = <function> defined =[C]:-1 UNIT_NAMES_COMBATLOG_TOOLTIP = "Color unit names." SetTrainerServiceTypeFilter = <function> defined =[C]:-1 LE_GAME_ERR_CHAT_RAID_RESTRICTED_TRIAL = 739 SPELL_FAILED_CUSTOM_ERROR_71 = "This partygoer wants to dance with you." LE_GAME_ERR_PET_SPELL_TARGETS_DEAD = 399 ERROR_CLUB_TICKET_COUNT_AT_MAX_COMMUNITY = "Can't create any more invite links for this community." RecruitAFriendFrame = RecruitAFriendFrame { } CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture = CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture { } TutorialFrameLeft19 = TutorialFrameLeft19 { } MultiCastActionButton2Cooldown = MultiCastActionButton2Cooldown { } ERR_TRADE_EQUIPPED_BAG = "You can't trade equipped bags." PVP_RANK_6_1 = "Corporal" MultiBarLeftButton7 = MultiBarLeftButton7 { } AudioOptionsVoicePanelOutputDeviceDropdownButtonHighlightTexture = AudioOptionsVoicePanelOutputDeviceDropdownButtonHighlightTexture { } VideoOptionsFrameCategoryFrameButton17ToggleHighlightTexture = VideoOptionsFrameCategoryFrameButton17ToggleHighlightTexture { } MerchantItem1AltCurrencyFrameItem1Text = MerchantItem1AltCurrencyFrameItem1Text { } OPTION_TOOLTIP_ACTION_BUTTON_USE_KEY_DOWN = "Action button keybinds will respond on key down, rather than on key up." BINDING_NAME_NAMEPLATES = "Show Enemy Name Plates" CHAT_HEADER_SUFFIX = ": " MultiBarBottomRightButton8Shine5 = MultiBarBottomRightButton8Shine5 { } MAIL_LETTER_TOOLTIP = "Click to make a permanent copy of this letter." UnitFrameManaBar_UnregisterDefaultEvents = <function> defined @FrameXML\UnitFrame.lua:778 PaperDollTitlesPaneButton10BgTop = PaperDollTitlesPaneButton10BgTop { } ERR_NOAMMO_S = "%s" CHAT_CONFIG_OTHER_COMBAT = <table> { } FCFDockOverflowButton_OnClick = <function> defined @FrameXML\FloatingChatFrame.lua:2379 TutorialFrameRight19 = TutorialFrameRight19 { } ChatFrame6EditBoxFocusMid = ChatFrame6EditBoxFocusMid { } BN_UNABLE_TO_RESOLVE_NAME = "Unable to whisper '%s'. Blizzard services may be unavailable." LE_GAME_ERR_RECRUIT_A_FRIEND_FAILED = 949 CompactRaidFrameManagerDisplayFrameHiddenModeToggleTopRight = CompactRaidFrameManagerDisplayFrameHiddenModeToggleTopRight { } LFGTeleport = <function> defined =[C]:-1 LE_GAME_ERR_ONLY_ONE_QUIVER = 32 INT_SPELL_DURATION_HOURS = "%d |4hour:hrs;" SLASH_LibQTip1 = "/qtip" ToggleEncounterJournal = <function> defined @FrameXML\UIParent.lua:944 LOSS_OF_CONTROL_DISPLAY_FEAR = "Feared" Graphics_QualityText = Graphics_QualityText { } TalentMicroButtonAlertShadowTopLeft = TalentMicroButtonAlertShadowTopLeft { } OverrideActionBarButton6Shine11 = OverrideActionBarButton6Shine11 { } ROGUE_COMBAT_CORE_ABILITY_4 = "Melee attack that spends Combo Points." JoinSkirmish = <function> defined =[C]:-1 FriendsFriendsScrollFrameButton14 = FriendsFriendsScrollFrameButton14 { } Advanced_GraphicsAPIDropDownButtonHighlightTexture = Advanced_GraphicsAPIDropDownButtonHighlightTexture { } MultiBarRightButton7Shine9 = MultiBarRightButton7Shine9 { } BankFrameItem17SearchOverlay = BankFrameItem17SearchOverlay { } LFGListSearchPanelScrollFrameButton10BottomRight = LFGListSearchPanelScrollFrameButton10BottomRight { } DMG_LCD = "DMG" RaidGraphics_EnvironmentalDetailSlider = RaidGraphics_EnvironmentalDetailSlider { } Is64BitClient = <function> defined =[C]:-1 SecureCmdItemParse = <function> defined @FrameXML\ChatFrame.lua:1145 SLASH_STOPATTACK1 = "/stopattack" MultiCastActionButton4HotKey = MultiCastActionButton4HotKey { } CompactRaidFrameManagerDisplayFrameFilterOp
schtenk
I may have found a solution to this!
it seems that they have changed the names on a few things in the new update.
"Bagnon,Itemslot" on row 38 in bagnon.lua should now be "Bagnon.Item"
"Bagnon:UpdateFrames()" on row 39 in bagnon,lua should now be "Bagnon.Frames:Update()"
if my tests are correct these changes should fix the issues,
zeenk
In which folder is that lua file located schtenk? can't find it :|
I've noticed after the recent bagnon update the CanIMogIt icons stay in the bag even if the item is vendored or moved to a different bag slot. Is there any way to fix that? https://imgur.com/a/UnRGGcd
schtenk
the file is in "Interface\AddOns\CanIMogIt\Plugins", the changes will most likely fix that too since that problem probably comes from the "update" function no longer firing which the changes fix.
AmiYuy
Thank you schtenk!
We had family stuff all day yesterday, but we'll test it out today to make sure everything works and then push the fix.