Bagnon

Bagnon

122M Downloads

Script Ran Too Long

alaindesjardins opened this issue ยท 4 comments

commented

When I hit B to open bags, I get this error:

Date: 2013-05-02 01:02:07
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\Bagnon\components\item.lua line 26:
script ran too long
Debug:
Bagnon\components\item.lua:26:
Bagnon\components\item.lua:18
(tail call): ?
Bagnon\components\itemFrame.lua:252: AddItemSlot()
Bagnon\components\itemFrame.lua:336: ReloadAllItemSlots()
Bagnon\components\itemFrame.lua:192: UpdateEverything()
Bagnon\components\itemFrame.lua:486: SetFrameID()
Bagnon\components\itemFrame.lua:35: New()
Bagnon\components\frame.lua:678: CreateItemFrame()
Bagnon\components\frame.lua:688: PlaceItemFrame()
Bagnon\components\frame.lua:409: Layout()
Bagnon\components\frame.lua:196: UpdateLook()
Bagnon\components\frame.lua:161: OnShow()
Bagnon\components\inventory.lua:11:
Bagnon\components\inventory.lua:10

..\FrameXML\UIParent.lua:2690: UIFrameFade()
..\FrameXML\UIParent.lua:2711: UIFrameFadeIn()
Bagnon\components\frame.lua:242: FadeInFrame()
Bagnon\components\frame.lua:71: ?()
...der\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147:
...der\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147
[string "safecall Dispatcher[2]"]:4:
[string "safecall Dispatcher[2]"]:4

[string "safecall Dispatcher[2]"]:13: ?()
...der\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: SendCallback()
Bagnon\settings\frameSettings.lua:51: SendMessage()
Bagnon\settings\frameSettings.lua:69: Show()
Bagnon\main.lua:103:
Bagnon\main.lua:97
(tail call): ?
Bagnon\main.lua:171: ToggleBackpack()

  [string "TOGGLEBACKPACK"]:1

Locals:
self = {
0 =
OnEnter = defined @interface\AddOns\Bagnon\components\item.lua:227
SetItem = defined @interface\AddOns\Bagnon\components\item.lua:277
Free = defined @interface\AddOns\Bagnon\components\item.lua:109
SetFrameID = defined @interface\AddOns\Bagnon\components\item.lua:484
UpdateCooldown = defined @interface\AddOns\Bagnon\components\item.lua:390
Bind = defined @interface\AddOns\Bagnon\core\classy.lua:18
SetSlotColor = defined @interface\AddOns\Bagnon\components\item.lua:309
OnDragStart = defined @interface\AddOns\Bagnon\components\item.lua:190
SetLocked = defined @interface\AddOns\Bagnon\components\item.lua:325
GetBagColor = defined @interface\AddOns\Bagnon\components\item.lua:576
HighlightQuestItems = defined @interface\AddOns\Bagnon\components\item.lua:535
UpdateTooltip = defined @interface\AddOns\Bagnon\components\item.lua:408
ITEM_SLOT_UPDATE_COOLDOWN = defined @interface\AddOns\Bagnon\components\item.lua:129
HandleEvent = defined @interface\AddOns\Bagnon\components\item.lua:172
Create = defined @interface\AddOns\Bagnon\components\item.lua:36
IsLocked = defined @interface\AddOns\Bagnon\components\item.lua:333
GetFrameID = defined @interface\AddOns\Bagnon\components\item.lua:491
GetEmptyItemIcon = defined @interface\AddOns\Bagnon\components\item.lua:292
IsQuestItem = defined @interface\AddOns\Bagnon\components\item.lua:555
SetBorderQuality = defined @interface\AddOns\Bagnon_Scrap\Bagnon_Scrap.lua:42
IsBank = defined @interface\AddOns\Bagnon\components\item.lua:515
RegisterMessage = defined @interface\AddOns\Bagnon\core\classy.lua:22
UnregisterMessage = defined @interface\AddOns\Bagnon\core\classy.lua:30
Update = defined @interface\AddOns\Bagnon\components\item.lua:254
GetSettings = defined @interface\AddOns\Bagnon\components\item.lua:495
UpdateSearch = defined @interface\AddOns\Bagnon\components\item.lua:433
ITEM_HIGHLIGHT_UPDATE = defined @interface\AddOns\Bagnon\components\item.lua:163
EQUIPMENT_SETS_CHANGED = defined @interface\AddOns\Bagnon\components\item.lua:159
GetHighlightAlpha = defined @interface\AddOns\Bagnon\components\item.lua:547
TEXT_SEARCH_UPDATE = defined @interface\AddOns\Bagnon\components\item.lua:133
GetNextItemSlotID = defined @interface\AddOns\Bagnon\components\item.lua:101
GetBlizzardItemSlot = defined @interface\AddOns\Bagnon\components\item.lua:73
OnPreClick = defined @interface\AddOns\Bagnon\components\item.lua:194
IsSlot = defined @interface\AddOns\Bagnon\components\item.lua:507
ITEM_LOCK_CHANGED = defined @interface\AddOns\Bagnon\components\item.lua:125
OnModifiedClick = defined @interface\AddOns\Bagnon\components\item.lua:220
FlashSearch = defined @interface\AddOns\Bagnon\components\item.lua:472
UpdateSlotColor = defined @interface\AddOns\Bagnon\components\item.lua:301
ShowTooltip = defined @interface\AddOns\Bagnon\components\item.lua:412
OnClick = defined @interface\AddOns\Bagnon\components\item.lua:205
New = defined @interface\AddOns\Bagnon\components\item.lua:18
unused =

{
}
GetDummyBag = defined @interface\AddOns\Bagnon\components\item.lua:649
GetPlayer = defined @interface\AddOns\Bagnon\components\item.lua:499
SetBorderColor = defined @interface\AddOns\Bagnon\components\item.lua:382
IsCached = defined @interface\AddOns\Bagnon\components\item.lua:511
QUEST_LOG_CHANGED = defined @interface\AddOns\Bagnon\components\item.lua:155
ConstructNewItemSlot = defined @interface\AddOns\Bagnon\components\item.lua:69
GetDummyItemSlot = defined @interface\AddOns\Bagnon\components\item.lua:588
Co
AddOns:
InspectFix, v4.4
Swatter, v5.16.5405 (MousyMulgara)
AddonChatMessageHider, v1.11
NPCScan, v5.0.0.5
NPCScanOverlay, v5.0.0.3
AtlasLootLoader, vv7.05.03
AucAdvanced, v5.16.5405 (MousyMulgara)
AucFilterBasic, v5.16.5405 (MousyMulgara)
AucFilterOutlier, v5.16.5405.5347(5.16/embedded)
AucMatchUndercut, v5.16.5405.5364(5.16/embedded)
AucStatHistogram, v5.16.5405 (MousyMulgara)
AucStatiLevel, v5.16.5405 (MousyMulgara)
AucStatPurchased, v5.16.5405 (MousyMulgara)
AucStatSales, v5.16.5405.5376(5.16/embedded)
AucStatSimple, v5.16.5405 (MousyMulgara)
AucStatStdDev, v5.16.5405 (MousyMulgara)
AucStatWOWEcon, v5.16.5405.5323(5.16/embedded)
AucUtilAHWindowControl, v5.16.5405.5347(5.16/embedded)
AucUtilAppraiser, v5.16.5405.5393(5.16/embedded)
AucUtilAskPrice, v5.16.5405.5347(5.16/embedded)
AucUtilAutoMagic, v5.16.5405.5392(5.16/embedded)
AucUtilCompactUI, v5.16.5405.5400(5.16/embedded)
AucUtilEasyBuyout, v5.16.5405.5347(5.16/embedded)
AucUtilFixAH, v5.16.5405 (MousyMulgara)
AucUtilItemSuggest, v5.16.5405.5365(5.16/embedded)
AucUtilPriceLevel, v5.16.5405.5365(5.16/embedded)
AucUtilScanButton, v5.16.5405.5403(5.16/embedded)
AucUtilScanFinish, v5.16.5405.5347(5.16/embedded)
AucUtilScanProgress, v5.16.5405.4979(5.16/embedded)
AucUtilScanStart, v5.16.5405.5347(5.16/embedded)
AucUtilSearchUI, v5.16.5405.5373(5.16/embedded)
AucUtilSimpleAuction, v5.16.5405.5388(5.16/embedded)
AucUtilVendMarkup, v5.16.5405.4828(5.16/embedded)
Aurora, v4.5.2
Babylonian, v5.1.DEV.332(/embedded)
BagBrother, v
Bagnon, v5.2.4
BagnonAccountSearch, v1.7.0
BagnonScrap, v
Bartender4, v4.5.9
BattlegroundTargets, v50200-3
Chatter, v1.4.4
Configator, v5.1.DEV.344(/embedded)
Critline, v4.5.3
DBMCore, v
DBMThroneofThunder, v
DebugLib, v5.1.DEV.337(/embedded)
epgp, v5.9.12
epgplootmaster, v0.6.32
epgplootmasterml, v0.6.32
ErrorFilter, v2.8
GatherMate2, v1.25.4
GladiatorlosSA, v2.0
HealersHaveToDie, v2.1.3
LibExtraTip, v5.12.DEV.350(/embedded)
LoseControl, v5.2
MatureLanguageFilterFix, v
MikScrollingBattleText, v5.7.128
MogIt, v3.1.3
Omen, v3.1.8
Overachiever, v0.71
PitBull4, vv4.0.0-beta44
PitBull4AltPowerBar, vv4.0.0-beta44
PitBull4Aura, vv4.0.0-beta44
PitBull4Background, vv4.0.0-beta44
PitBull4BattlePet, vv4.0.0-beta44
PitBull4CastBar, vv4.0.0-beta44
PitBull4CastBarLatency, vv4.0.0-beta44
PitBull4CombatIcon, vv4.0.0-beta44
PitBull4HealthBar, vv4.0.0-beta44
PitBull4HideBlizzard, vv4.0.0-beta44
PitBull4LeaderIcon, vv4.0.0-beta44
PitBull4LuaTexts, vv4.0.0-beta44
PitBull4MasterLooterIcon, vv4.0.0-beta44
PitBull4PowerBar, vv4.0.0-beta44
PitBull4RaidTargetIcon, vv4.0.0-beta44
PitBull4RestIcon, vv4.0.0-beta44
PitBull4RoleIcon, vv4.0.0-beta44
Raven, v
Recount, v
Reforgerade, v0.1 r48
Scrap, v12.4
SexyMap, v2.4.5
SharedMediaAdditionalFonts, v1.0.14
Stubby, v5.16.5405 (MousyMulgara)
SuccessfulInterruptAnnouncer, v1.6
TidyPlates, v6.9.8
TidyPlatesGraphite, v
TidyPlatesGrey, v
TidyPlatesNeon, v
TidyPlatesQuatre, v
TidyPlatesHub, v
TidyPlatesWidgets, v
TipHelper, v5.12.DEV.343(/embedded)
Tipsy, v$project-version$
TomTom, vv50200-1.0.2
WeakAuras, v1.4.7.9
BlizRuntimeLib_enUS v5.2.0.50200
(ck=cce)

commented

I believe this issue is caused when I changed my backpacks to Royal Satchels 28 slot bags from Illusionary Bags 26 slot bags.

Line 26 of item.lua reads: item:Show()

I love this addon and it makes my life easier. It is crashing so much lately I cannot even use it. Thank you!

commented

So what do I do about this problem? Any suggestions? When I view my bank without being at the bank, most of the items are missing. Is this all related?

commented

I read about the lua restrictions for scripts and decided to try and minimize what bagnon does. I unticked the Bagnon Scrap from addon list, along with Guild Bank and Void Storage. Also, I removed the button to view the bank without being at the bank since viewing the bank that way was broken.

Now when I open and close my bags using B, it pops up instant, whereas before, there was a slight delay. Opening and closing bags in combat no longer causes the script ran too long (atleast I could not reproduce it on the training dummy).

I hope this helps anyone else running into this problem. I use Bagnon religiously and cannot live without it. Thanks!

commented

Getting this with other errors, too. Possibly related to the "fade" junk?