Kiatra / BlizzMove

World of Warcraft add-on to make the default windows movable via drag & drop.
23 stars 9 forks source link

Error on opening Collections panel #86

Open solitha opened 2 years ago

solitha commented 2 years ago
1x BlizzMove\BlizzMove-v3.2.13.lua:959: Action[SetPoint] failed because[Cannot anchor to a region dependent on it]: attempted from: <unnamed>:SetPoint.
[string "=[C]"]: in function `SetPoint'
[string "@BlizzMove\BlizzMove-v3.2.13.lua"]:959: in function `?'
[string "@TomTom\libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:119: in function <...Tom\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@TomTom\libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:29: in function <...Tom\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
[string "@TomTom\libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:64: in function `Fire'
[string "@TomTom\libs\AceEvent-3.0\AceEvent-3.0-4.lua"]:120: in function <...aceTomTom\libs\AceEvent-3.0\AceEvent-3.0.lua:119>
[string "=[C]"]: in function `LoadAddOn'
[string "@FrameXML\UIParent.lua"]:544: in function `UIParentLoadAddOn'
[string "@FrameXML\UIParent.lua"]:710: in function `CollectionsJournal_LoadUI'
[string "@FrameXML\UIParent.lua"]:1157: in function `SetCollectionsJournalShown'
[string "@FrameXML\UIParent.lua"]:1151: in function `ToggleCollectionsJournal'
[string "TOGGLECOLLECTIONS"]:1: in function <[string "TOGGLECOLLECTIONS"]:1>
Numynum commented 2 years ago

I've never seen that error myself, but some of the changes in the latest version might fix this let me know if it does or doesn't

if it's not fixed, then try disable all other addons first, and see if the error is still there

solitha commented 2 years ago

Hmm. It's slightly different now, although I'm not sure how different that is.

I can't seem to reproduce it reliably for testing versus other addons.

1x BlizzMove\BlizzMove-v3.3.0.lua:1030: Action[SetPoint] failed because[Cannot anchor to a region dependent on it]: attempted from: <unnamed>:SetPoint. [string "=[C]"]: in functionSetPoint' [string "@BlizzMove\BlizzMove-v3.3.0.lua"]:1030: in function `?' [string "@TomTom\libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:119: in function <...Tom\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:119>

[string "@TomTom\libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:29: in function <...Tom\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:25> [string "@TomTom\libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:64: in function Fire' [string "@TomTom\libs\AceEvent-3.0\AceEvent-3.0-4.lua"]:120: in function <...aceTomTom\libs\AceEvent-3.0\AceEvent-3.0.lua:119> [string "=[C]"]: in functionLoadAddOn' [string "@FrameXML\UIParent.lua"]:544: in function UIParentLoadAddOn' [string "@FrameXML\UIParent.lua"]:710: in functionCollectionsJournal_LoadUI' [string "@FrameXML\UIParent.lua"]:1157: in function SetCollectionsJournalShown' [string "@FrameXML\UIParent.lua"]:1151: in functionToggleCollectionsJournal'

Numynum commented 2 years ago

seems to be similar to https://github.com/Kiatra/BlizzMove/issues/87 can you tell me when you type /dump CollectionsJournal:IsUserPlaced() in chat, does it say true or false?

solitha commented 2 years ago

Huh. If I actually open the collections, it says false (whether or not the error is thrown). But when I used it before opening anything...

1x [string "return CollectionsJournal:IsUserPlaced()"]:1: attempt to index global 'CollectionsJournal' (a nil value)
[string "return CollectionsJournal:IsUserPlaced()"]:1: in function `func'
[string "@SharedXML\Dump.lua"]:396: in function `DevTools_DumpCommand'
[string "@FrameXML\ChatFrame.lua"]:2411: in function `?'
[string "@FrameXML\ChatFrame.lua"]:5185: in function `ChatEdit_ParseText'
[string "@FrameXML\ChatFrame.lua"]:4849: in function `ChatEdit_SendText'
[string "@FrameXML\ChatFrame.lua"]:4885: in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>

Locals:
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'CollectionsJournal' (a nil value)"

I've also noted the same or similar error (as the original post) coming up when I click item/achievement links in the chat box.

zaCade commented 2 years ago

Just wanted to mention that the error you posted in previous comment is harmless, that simply happens because the frame only gets loaded on demand, so if you run the command given before opening it once it doesnt exist.