Comments (6)
So I got this too and was able to debug it a bit.
Icons:AnchorPartyFrames() is now getting called before PLAYER_LOGIN_EVENT in response to the hook on EditModeManagerFrame/OnSystemSettingChange (presumably new in 10.0.5) So the Diminish db isn't yet initialized.
I was able to workaround the bug by making a small modification:
Diminish.lua around line 274...
old:
Icons:AnchorPartyFrames()
new:
if NS.db then Icons:AnchorPartyFrames() end
I don't know the code well enough to know if this is a proper fix, but if its wrong it probably only affects detection of switching between party and raid style frames without a reload.
It works for me well enough, but your mileage may very. Hope this helps...
from diminish.
Hello! I'm getting this error too. I have Diminish attached to the nameplates.
7x Diminish/core/icons.lua:143: attempt to index field 'db' (a nil value)
[string "@Diminish/core/icons.lua"]:143: in function `AnchorPartyFrames'
[string "@Diminish/Diminish.lua"]:274: in function <Diminish/Diminish.lua:272>
[string "=[C]"]: in function `OnSystemSettingChange'
[string "@FrameXML/EditModeSystemTemplates.lua"]:1914: in function `UpdateSystemSettingOrientation'
[string "@FrameXML/EditModeSystemTemplates.lua"]:1934: in function `UpdateSystemSetting'
[string "@FrameXML/EditModeSystemTemplates.lua"]:277: in function `UpdateSystem'
[string "@FrameXML/EditModeSystemTemplates.lua"]:1886: in function `UpdateSystem'
[string "@FrameXML/EditModeManager.lua"]:1039: in function `UpdateSystem'
[string "@FrameXML/EditModeManager.lua"]:1027: in function <FrameXML/EditModeManager.lua:1026>
[string "=[C]"]: in function `secureexecuterange'
[string "@FrameXML/EditModeManager.lua"]:1029: in function `UpdateSystems'
[string "@FrameXML/EditModeManager.lua"]:899: in function `UpdateLayoutInfo'
[string "@FrameXML/EditModeManager.lua"]:238: in function <FrameXML/EditModeManager.lua:235>
Locals:
self = <table> {
from diminish.
Well, that removed the error that I get when I log in, but now I'm not sure the addon will work properly. Testing required 😅
from diminish.
Should be fixed now in v2.5.9.
from diminish.
Thanks!
from diminish.
ty
from diminish.
Related Issues (20)
- [Feature Request] static icons HOT 2
- [Bug]: Riposte isn't showing up. HOT 4
- [Suggestion] Sound Alert on DR expiring. HOT 1
- Tracking DR categories by default icon HOT 1
- [Bug]: Stun procs not showing in PVE HOT 1
- [Bug]: HOT 2
- [Bug]: Problem with the recent update (v2.5.0) HOT 6
- [Bug]: Opener stuns not showing. HOT 2
- [Bug]: blocks GLadiusEx HOT 3
- [Bug]: Party (Raid) Frames no longer work HOT 3
- Player DR's duplicating to party1 HOT 1
- "Unleashed Shield" should not be a Root-DR HOT 1
- Classic Era Support HOT 1
- [Bug]: Nameplate DRs inaccurate on WotLK Classic HOT 4
- Adding a spell cause it doesnt show? HOT 2
- Not tracking mortal coil and fear
- Missing Spell ID in DRs HOT 1
- [Bug]: No longer working on WotLK classic in TOGC patch HOT 2
- Can't move frames or test feature[Bug]: HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diminish.