Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in 10.1 #9

Open
kayti-wow opened this issue May 3, 2023 · 2 comments
Open

Error in 10.1 #9

kayti-wow opened this issue May 3, 2023 · 2 comments

Comments

@kayti-wow
Copy link

[string "@BlizzBuffsFacade/BlizzBuffsFacade.lua"]:33: in function <BlizzBuffsFacade/BlizzBuffsFacade.lua:13>
[string "@BlizzBuffsFacade/BlizzBuffsFacade.lua"]:72: in function <BlizzBuffsFacade/BlizzBuffsFacade.lua:71>
[string "=[C]"]: in function `UpdateAuraButtons'
[string "@FrameXML/BuffFrame.lua"]:200: in function `Update'
[string "@FrameXML/BuffFrame.lua"]:484: in function `Update'
[string "@FrameXML/BuffFrame.lua"]:176: in function <FrameXML/BuffFrame.lua:174>

Locals:
frames = <table> {
 1 = Button {
 }
 2 = Button {
 }
 3 = Button {
 }
 4 = Button {
 }
 5 = Button {
 }
 6 = Button {
 }
 7 = Button {
 }
 8 = Button {
 }
 9 = Button {
 }
 10 = Button {
 }
 11 = Button {
 }
 12 = Button {
 }
 13 = Button {
 }
 14 = Button {
 }
 15 = Button {
 }
 16 = Button {
 }
 17 = Frame {
 }
 18 = Frame {
 }
}
(for index) = 17
(for limit) = 18
(for step) = 1
i = 17
frame = Frame {
 0 = <userdata>
 SkinnedIcon = Texture {
 }
 SetUnit = <function> defined @FrameXML/BuffFrame.lua:952
 auraIndex = 1
 Duration = Frame {
 }
 Icon = Frame {
 }
 isAuraAnchor = true
}
skinWrapper = Frame {
 0 = <userdata>
}
(*temporary) = <function> defined =[C]:-1
(*temporary) = Texture {
 0 = <userdata>
}
(*temporary) = nil
(*temporary) = Frame {
 0 = <userdata>
}
(*temporary) = "attempt to call method 'GetTexture' (a nil value)"
skinned = <table> {
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
  = 1
}
group = <table> {
 Callbacks = <table> {
 }
 db = <table> {
 }
 Parent = <table> {
 }
 Buttons = <table> {
 }
 Addon = "Blizzard Buffs"
 ID = "Blizzard Buffs_Debuffs"
 Group = "Debuffs"
}```
@zedbg
Copy link

zedbg commented May 4, 2023

Same here -
14x BlizzBuffsFacade/BlizzBuffsFacade.lua:33: attempt to call method 'GetTexture' (a nil value)
[string "@BlizzBuffsFacade/BlizzBuffsFacade.lua"]:33: in function <BlizzBuffsFacade/BlizzBuffsFacade.lua:13>
[string "@BlizzBuffsFacade/BlizzBuffsFacade.lua"]:72: in function <BlizzBuffsFacade/BlizzBuffsFacade.lua:71>
[string "=[C]"]: in function UpdateAuraButtons' [string "@FrameXML/BuffFrame.lua"]:200: in function Update'
[string "@FrameXML/BuffFrame.lua"]:484: in function `Update'
[string "@FrameXML/BuffFrame.lua"]:176: in function <FrameXML/BuffFrame.lua:174>

Locals:
frames =

{
1 = Button {
}
2 = Button {
}
3 = Button {
}
4 = Button {
}
5 = Button {
}
6 = Button {
}
7 = Button {
}
8 = Button {
}
9 = Button {
}
10 = Button {
}
11 = Button {
}
12 = Button {
}
13 = Button {
}
14 = Button {
}
15 = Button {
}
16 = Button {
}
17 = Frame {
}
18 = Frame {
}
}
(for index) = 17
(for limit) = 18
(for step) = 1
i = 17
frame = Frame {
0 =
SkinnedIcon = Texture {
}
SetUnit = defined @FrameXML/BuffFrame.lua:952
auraIndex = 1
Duration = Frame {
}
Icon = Frame {
}
isAuraAnchor = true
}
skinWrapper = Frame {
0 =
}
(*temporary) = defined =[C]:-1
(*temporary) = Texture {
0 =
}
(*temporary) = nil
(*temporary) = Frame {
0 =
}
(*temporary) = "attempt to call method 'GetTexture' (a nil value)"
skinned =
{
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
= 1
}
group =
{
Callbacks =
{
}
db =
{
}
Parent =
{
}
Buttons =
{
}
Addon = "Blizzard Buffs"
ID = "Blizzard Buffs_Debuffs"
Group = "Debuffs"
}

@MiliChang
Copy link
Contributor

open BlizzBuffsFacade.lua and find line 16,
edit it from if not skinned[frame] then to if not skinned[frame] and frame.Icon.GetTexture then

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants