Error when moving map
Mythos opened this issue ยท 5 comments
When I move the map around, it will throw an error at some point and rendering the map completely unusable.
Date: 2019-09-07 12:16:55
ID: 3
Error occured in: Global
Count: 1
Message: ..\AddOns\Mapster\Coords.lua line 150:
attempt to perform arithmetic on local 'left' (a nil value)
Debug:
Mapster\Coords.lua:150:
Mapster\Coords.lua:144
Mapster\Coords.lua:162:
Mapster\Coords.lua:161
Locals:
left = nil
top = nil
width = 1002.000061
height = 668
scale = 0.667785
x = 531.200012
y = 631.466675
(*temporary) = 795.466206
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to perform arithmetic on local 'left' (a nil value)"
WorldMapScrollChild = <unnamed> {
0 = <userdata>
TiledBackground = <unnamed> {
}
}
GetCursorPosition = <function> defined =[C]:-1
AddOns:
Swatter, v8.2.6377 (SwimmingSeadragon)
WowheadLooter, v80200
ACP, v3.5.6
AddOnSkins, v4.24
AdiBags, vv1.9.17
AdiBagsBoEBoA, vv1.5
AdiBagsBound, vv1.1
AdiBagsConfig, vv1.9.17
AdiBagsGarrison, vv1.6
AdiBagsHearthstones, v8.2-release2
AdiBagsLegion, vv1.6
AdiBagsLegionFilters, v1.6.9
AdiBagsOutfitter, vv1.5.4
AlreadyKnown, v1.20
Altoholic, vr191
AucAdvanced, v8.2.6338 (SwimmingSeadragon)
AucFilterBasic, v8.2.6364 (SwimmingSeadragon)
AucScanData, v8.2.6365 (SwimmingSeadragon)
AucStatHistogram, v8.2.6366 (SwimmingSeadragon)
AucStatiLevel, v8.2.6370 (SwimmingSeadragon)
AucStatPurchased, v8.2.6367 (SwimmingSeadragon)
AucStatSimple, v8.2.6368 (SwimmingSeadragon)
AucStatStdDev, v8.2.6369 (SwimmingSeadragon)
AucUtilFixAH, v8.2.6371 (SwimmingSeadragon)
BeanCounter, v8.2.6381 (SwimmingSeadragon)
Clique, vv80200-1.2.2
DataStore, vr66
DataStoreAchievements, vr48
DataStoreAgenda, vr30
DataStoreAuctions, vr51
DataStoreCharacters, vr44
DataStoreContainers, vr60
DataStoreCrafts, vr83
DataStoreCurrencies, vr39
DataStoreGarrisons, vr25
DataStoreInventory, vr54
DataStoreMails, vr53
DataStorePets, vr45
DataStoreQuests, vr47
DataStoreReputations, vr44
DataStoreSpells, vr33
DataStoreStats, vr32
DataStoreTalents, vr62
DBMArchaeology, v
DBMCore, v8.2.16-3-g4b793a9
DBMDefaultSkin, v
DBMInterrupts, v8.1.0
DBMSpellTimers, v
DBMStatusBarTimers, v
Elephant, v3.7.8
ElvUI, v11.22
ElvUIChatTweaks, v8.0.16
ElvUIChatTweaksExtra, v
ElvUICurrenciesDatatext, v4.00
ElvUICustomTweaks, v1.49
ElvUIDTBars2, v8.1.5.0015
ElvUIExtraDataTexts, v2.01
ElvUILocPlus, v2.44
ElvUIMicrobar, v1.86
ElvUIProfDataTexts, v4.01
ElvUISLE, v3.57
ElvUITooltipIcon, v1.5
ElvUIVisualAuraTimers, v1.61
Enchantrix, v8.2.6373 (SwimmingSeadragon)
EnhancedConfig, v1.11
ExtVendor, v1.8.5
FollowerLocationInfo, v1.5.5-release
GatherMate2, v1.45
GuildTracker, v8.0.1-1
HandyNotes, vv1.5.6
HandyNotesDirections, v1
HandyNotesLegionClassOrderHalls, vv1.31
HandyNotesTravelGuide, vv2.1.0
Informant, v8.2.6374 (SwimmingSeadragon)
LFRAdvanced, v8.2.0.31229
LibSharedMedia30, v3.0-112
lsToasts, v80200.06
Mapster, v1.8.4
MasterPlanA, vA
MikScrollingBattleText, v5.7.150
MogIt, v3.9.0
MogItArtifact, v3.9.0
MogItCloth, v3.9.0
MogItOneHanded, v3.9.0
MogItOther, v3.9.0
MogItRanged, v3.9.0
MogItTwoHanded, v3.9.0
Molinari, v80200.63-Release
Outfitter, v5.22.1
Ovale, v8.0.0.0
Overachiever, v1.0.7
OverachieverCache, v1.0.7
OverachieverTrade, v1.0.7
Pawn, v2.2.46
Postal, vv3.6.0
RepHelper, v8.2.0.2-release
Scrap, v8.2.0
ScrapOptions, v8.2.0
ScrapSpotlight, v8.2.0
SimpleRareElite, v1.29
Skada, v1.7.6
Skillet, v4.09
SquareMinimapButtons, v3.42
Stubby, v8.2.6376 (SwimmingSeadragon)
TransmogTokens, v1.4.9
WIM, v3.7.33
WorldQuestTracker, v
XLoot, v8.1-1
XLootFrame, v8.1-1
XLootGroup, v8.1-1
XLootMaster, v8.1-1
ZygorGuidesViewer, v7.0
BlizRuntimeLib_deDE v8.2.0.80200 <none>
(ck=be9)
The error should not have any consequences on how the map works, but I've added a check to avoid it either way.
Hey there, thanks for the fast reply!
Unfortunately I forgot that this error always occurs with a second error:
Date: 2019-09-07 13:41:50
ID: 1
Error occured in: Global
Count: 496
Message: ...lizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua line 749:
attempt to perform arithmetic on a nil value
Debug:
...lizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:749:
...lizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:748
(tail call): ?
(tail call): ?
...ard_SharedMapDataProviders\QuestBlobDataProvider.lua:182: UpdateTooltip()
...ard_SharedMapDataProviders\QuestBlobDataProvider.lua:119:
...ard_SharedMapDataProviders\QuestBlobDataProvider.lua:113
Locals:
self = <unnamed> {
0 = <userdata>
MarkCanvasDirty = <function> defined @Interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:384
GetMinZoomViewRect = <function> defined @Interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:547
GetNormalizedHorizontalScroll = <function> defined @Interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:703
SetPanTarget = <function> defined @Interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:580
DenormalizeVerticalSize = <function> defined @Interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:728
IsAtMaxZoom = <function> defined @Interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:647
AccumulateMouseDeltas = <function> defined @Interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:248
currentScale = 0.695609
ScalingMode = <function> defined @Interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:293
GetMap = <function> defined @Interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:659
IsZoomingIn = <function> defined @Interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:639
currentScrollY = 0.500359
ZoomOut = <function> defined =[C]:-1
ShouldZoomInstantly = <function> defined @Interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:539
SetScalingMode = <function> defined @Interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:289
targetScale = 0.695609
GetNormalizedCursorPosition = <function> defined @Interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:753
TryPanOrZoomOnClick = <function> defined @Interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:87
shouldPanOnClick = false
SetZoomTarget = <function> defined @Interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:585
normalizedPanXLerpAmount = 0.150000
NormalizeUIPosition = <function> defined @Interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:748
OnMouseUp = <function> defined @Interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:105
MarkAreaTriggersDirty = <function> defined @Interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:376
CalculateViewRect = <function> defined @Interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:551
ResetZoom = <function> defined @Interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:613
NormalizeHorizontalSize = <function> defined @Interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:716
SetNormalizedHorizontalScroll = <function> defined @Interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:698
OnLoad = <function> defined @Interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:7
Child = <unnamed> {
}
zoomLevels = <table> {
}
SetShouldPanOnClick = <function> defined @Interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:527
FindBestLocationForClick = <function> defined @Interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:58
areaTriggersDirty = false
currentScrollX = 0.500000
scrollXExtentsMin = 0.500000
zoomAmountPerMouseWheelDelta = 0.075000
SetCanvasSize = <function> defined @Interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:217
normalizedZoomLerpAmount = 0.150000
scrollYExtentsMin = 0.500359
GetScaleForMaxZoom = <function> defined @Interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:663
viewRect = <table> {
}
CalculateLerpScaling = <function> defined @Interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:264
GetCanvasScale = <function> defined @Interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:682
OnMouseDown = <function> defined @Interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:26
ShouldZoomInOnClick = <function> defined @Interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:515
mouseWheelZoomMode = 2
should
AddOns:
Swatter, v8.2.6377 (SwimmingSeadragon)
WowheadLooter, v80200
ACP, v3.5.6
AddOnSkins, v4.24
AdiBags, vv1.9.17 build 0.10
AdiBagsConfig, vv1.9.17 build 0.10
AlreadyKnown, v1.20
Altoholic, vr191
AucAdvanced, v8.2.6338 (SwimmingSeadragon)
AucFilterBasic, v8.2.6364 (SwimmingSeadragon)
AucScanData, v8.2.6365 (SwimmingSeadragon)
AucStatHistogram, v8.2.6366 (SwimmingSeadragon)
AucStatiLevel, v8.2.6370 (SwimmingSeadragon)
AucStatPurchased, v8.2.6367 (SwimmingSeadragon)
AucStatSimple, v8.2.6368 (SwimmingSeadragon)
AucStatStdDev, v8.2.6369 (SwimmingSeadragon)
AucUtilFixAH, v8.2.6371 (SwimmingSeadragon)
BeanCounter, v8.2.6381 (SwimmingSeadragon)
Clique, vv80200-1.2.2
DataStore, vr66
DataStoreAchievements, vr48
DataStoreAgenda, vr30
DataStoreAuctions, vr51
DataStoreCharacters, vr44
DataStoreContainers, vr60
DataStoreCrafts, vr83
DataStoreCurrencies, vr39
DataStoreGarrisons, vr25
DataStoreInventory, vr54
DataStoreMails, vr53
DataStorePets, vr45
DataStoreQuests, vr47
DataStoreReputations, vr44
DataStoreSpells, vr33
DataStoreStats, vr32
DataStoreTalents, vr62
DBMArchaeology, v
DBMCore, v8.2.16-3-g4b793a9
DBMDefaultSkin, v
DBMInterrupts, v8.1.0
DBMSpellTimers, v
DBMStatusBarTimers, v
Elephant, v3.7.8
ElvUI, v11.22
ElvUIChatTweaks, v8.0.16
ElvUIChatTweaksExtra, v
ElvUICurrenciesDatatext, v4.00
ElvUICustomTweaks, v1.49
ElvUIDTBars2, v8.1.5.0015
ElvUIExtraDataTexts, v2.01
ElvUILocPlus, v2.44
ElvUIMicrobar, v1.86
ElvUIProfDataTexts, v4.01
ElvUISLE, v3.57
ElvUITooltipIcon, v1.5
ElvUIVisualAuraTimers, v1.61
Enchantrix, v8.2.6373 (SwimmingSeadragon)
EnhancedConfig, v1.11
ExtVendor, v1.8.5
FollowerLocationInfo, v1.5.5-release
GatherMate2, v1.45
GuildTracker, v8.0.1-1
HandyNotes, vv1.5.6
HandyNotesDirections, v1
HandyNotesLegionClassOrderHalls, vv1.31
HandyNotesTravelGuide, vv2.1.0
Informant, v8.2.6374 (SwimmingSeadragon)
LFRAdvanced, v8.2.0.31229
LibSharedMedia30, v3.0-112
lsToasts, v80200.06
Mapster, v1.8.4
MasterPlanA, vA
MikScrollingBattleText, v5.7.150
MogIt, v3.9.0
MogItArtifact, v3.9.0
MogItCloth, v3.9.0
MogItOneHanded, v3.9.0
MogItOther, v3.9.0
MogItRanged, v3.9.0
MogItTwoHanded, v3.9.0
Molinari, v80200.63-Release
Outfitter, v5.22.1
Ovale, v8.0.0.0
Overachiever, v1.0.7
OverachieverCache, v1.0.7
OverachieverTrade, v1.0.7
Pawn, v2.2.46
Postal, vv3.6.0
RepHelper, v8.2.0.2-release
Scrap, v8.2.0
ScrapOptions, v8.2.0
ScrapSpotlight, v8.2.0
SimpleRareElite, v1.29
Skada, v1.7.6
Skillet, v4.09
SquareMinimapButtons, v3.42
Stubby, v8.2.6376 (SwimmingSeadragon)
TransmogTokens, v1.4.9
WIM, v3.7.33
WorldQuestTracker, v
XLoot, v8.1-1
XLootFrame, v8.1-1
XLootGroup, v8.1-1
XLootMaster, v8.1-1
ZygorGuidesViewer, v7.0
BlizRuntimeLib_deDE v8.2.0.80200 <none>
(ck=b42)
When I disable Mapster both won't occur.
I guess this one is responsible for the map being unusable until reload.
Also this error occured:
Date: 2019-09-07 13:46:11
ID: 2
Error occured in: Global
Count: 1
Message: ...lizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua line 624:
<unnamed>:SetScale(): Scale must be > 0
Debug:
[C]: SetScale()
...lizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:624: InstantPanAndZoom()
...lizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:614: ResetZoom()
...lizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:423: OnCanvasSizeChanged()
...ace\AddOns\Blizzard_MapCanvas\Blizzard_MapCanvas.lua:42: OnFrameSizeChanged()
...rface\AddOns\Blizzard_WorldMap\Blizzard_WorldMap.lua:324: UpdateSpacerFrameAnchoring()
..\FrameXML\QuestLogOwnerMixin.lua:136: SetDisplayState()
..\FrameXML\QuestLogOwnerMixin.lua:41: HandleUserActionToggleSelf()
...rface\AddOns\Blizzard_WorldMap\Blizzard_WorldMap.lua:413:
...rface\AddOns\Blizzard_WorldMap\Blizzard_WorldMap.lua:412
[C]: ?
[C]: ToggleWorldMap()
[string "TOGGLEWORLDMAP"]:1:
[string "TOGGLEWORLDMAP"]:1
Locals:
(*temporary) = <unnamed> {
0 = <userdata>
TiledBackground = <unnamed> {
}
}
(*temporary) = 0
AddOns:
Swatter, v8.2.6377 (SwimmingSeadragon)
WowheadLooter, v80200
ACP, v3.5.6
AddOnSkins, v4.24
AdiBags, vv1.9.17 build 0.10
AlreadyKnown, v1.20
Altoholic, vr191
AucAdvanced, v8.2.6338 (SwimmingSeadragon)
AucFilterBasic, v8.2.6364 (SwimmingSeadragon)
AucStatHistogram, v8.2.6366 (SwimmingSeadragon)
AucStatiLevel, v8.2.6370 (SwimmingSeadragon)
AucStatPurchased, v8.2.6367 (SwimmingSeadragon)
AucStatSimple, v8.2.6368 (SwimmingSeadragon)
AucStatStdDev, v8.2.6369 (SwimmingSeadragon)
AucUtilFixAH, v8.2.6371 (SwimmingSeadragon)
BeanCounter, v8.2.6381 (SwimmingSeadragon)
Clique, vv80200-1.2.2
DataStore, vr66
DataStoreAchievements, vr48
DataStoreAgenda, vr30
DataStoreAuctions, vr51
DataStoreCharacters, vr44
DataStoreContainers, vr60
DataStoreCrafts, vr83
DataStoreCurrencies, vr39
DataStoreGarrisons, vr25
DataStoreInventory, vr54
DataStoreMails, vr53
DataStorePets, vr45
DataStoreQuests, vr47
DataStoreReputations, vr44
DataStoreSpells, vr33
DataStoreStats, vr32
DataStoreTalents, vr62
DBMArchaeology, v
DBMCore, v8.2.16-3-g4b793a9
DBMDefaultSkin, v
DBMInterrupts, v8.1.0
DBMSpellTimers, v
DBMStatusBarTimers, v
Elephant, v3.7.8
ElvUI, v11.22
ElvUIChatTweaks, v8.0.16
ElvUIChatTweaksExtra, v
ElvUICurrenciesDatatext, v4.00
ElvUICustomTweaks, v1.49
ElvUIDTBars2, v8.1.5.0015
ElvUIExtraDataTexts, v2.01
ElvUILocPlus, v2.44
ElvUIMicrobar, v1.86
ElvUIProfDataTexts, v4.01
ElvUISLE, v3.57
ElvUITooltipIcon, v1.5
ElvUIVisualAuraTimers, v1.61
Enchantrix, v8.2.6373 (SwimmingSeadragon)
EnhancedConfig, v1.11
ExtVendor, v1.8.5
FollowerLocationInfo, v1.5.5-release
GatherMate2, v1.45
GatherMate2Data, vv32.0
GuildTracker, v8.0.1-1
HandyNotes, vv1.5.6
HandyNotesDirections, v1
HandyNotesLegionClassOrderHalls, vv1.31
HandyNotesTravelGuide, vv2.1.0
Informant, v8.2.6374 (SwimmingSeadragon)
LFRAdvanced, v8.2.0.31229
LibSharedMedia30, v3.0-112
lsToasts, v80200.06
Mapster, v1.8.4
MasterPlanA, vA
MikScrollingBattleText, v5.7.150
MogIt, v3.9.0
MogItArtifact, v3.9.0
MogItCloth, v3.9.0
MogItOneHanded, v3.9.0
MogItOther, v3.9.0
MogItRanged, v3.9.0
MogItTwoHanded, v3.9.0
Molinari, v80200.63-Release
Outfitter, v5.22.1
Ovale, v8.0.0.0
Overachiever, v1.0.7
OverachieverCache, v1.0.7
OverachieverTrade, v1.0.7
Pawn, v2.2.46
Postal, vv3.6.0
RepHelper, v8.2.0.2-release
Scrap, v8.2.0
ScrapOptions, v8.2.0
ScrapSpotlight, v8.2.0
SimpleRareElite, v1.29
Skada, v1.7.6
Skillet, v4.09
SquareMinimapButtons, v3.42
Stubby, v8.2.6376 (SwimmingSeadragon)
TransmogTokens, v1.4.9
WIM, v3.7.33
WorldQuestTracker, v
XLoot, v8.1-1
XLootFrame, v8.1-1
XLootGroup, v8.1-1
XLootMaster, v8.1-1
ZygorGuidesViewer, v7.0
BlizRuntimeLib_deDE v8.2.0.80200 <none>
(ck=b0a)
These errors are entirely in Blizzards Map code, and I've never seen them before, nevermind what I do with the map. When a Frame is being moved it can still report its position typically.