WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   nUI: Bug Reports (https://www.wowinterface.com/forums/forumdisplay.php?f=90)
-   -   Newest version and right clicking. (https://www.wowinterface.com/forums/showthread.php?t=35584)

rob5482 10-14-10 11:27 PM

Newest version and right clicking.
 
Just to let you know that although the inspection screen was not working, with the latest release you can not right click at all. No menu comes up, cant leave a party raid, set raid icons etc...

Great job BTW I know its gotta be difficult as hell.

xemm 10-14-10 11:35 PM

same issue :(

byteasc 10-14-10 11:41 PM

Yep, can't leave parties :/

Code:


Date: 2010-10-15 00:37:54
ID: 2
Error occured in: Global
Count: 14
Message: ..\AddOns\nUI\Units\nUI_UnitFrame.lua line 346:
  attempt to index global 'this' (a nil value)
Debug:
  [C]: ?
  nUI\Units\nUI_UnitFrame.lua:346: handler()
  ..\FrameXML\SecureTemplates.lua:540: SecureActionButton_OnClick()
  ..\FrameXML\SecureTemplates.lua:580:
      ..\FrameXML\SecureTemplates.lua:572


Zimu 10-14-10 11:43 PM

I get the following LUA error. Not sure if this will help you or not.

Quote:

Message: Interface\AddOns\nUI\Units\nUI_UnitFrame.lua:346: attempt to index global 'this' (a nil value)
Time: Thu Oct 14 22:38:21 2010
Count: 5
Stack: Interface\AddOns\nUI\Units\nUI_UnitFrame.lua:346: in function `handler'
Interface\FrameXML\SecureTemplates.lua:540: in function `SecureActionButton_OnClick'
Interface\FrameXML\SecureTemplates.lua:580: in function <Interface\FrameXML\SecureTemplates.lua:572>

Locals: popup = nUI_SoloUnit_Target_Popup {
0 = <userdata>
onUnitPopupUpdate = <function> defined @Interface\AddOns\nUI\Units\nUI_Unit.lua:353
initialize = <function> defined @Interface\AddOns\nUI\Units\nUI_Unit.lua:353
displayMode = "MENU"
class = nUI_SoloUnit_Target {
}
texture = nUI_SoloUnit_Target_PopupTexture {
}
}
anchor = nUI_SoloUnit_Target {
0 = <userdata>
applyFrameFader = <function> defined @Interface\AddOns\nUI\Units\nUI_Unit.lua:550
parent = nUI_UnitPanel_Player {
}
setUnitID = <function> defined @Interface\AddOns\nUI\Units\nUI_Unit.lua:761
newUnitInfo = <function> defined @Interface\AddOns\nUI\Units\nUI_Unit.lua:451
applySkin = <function> defined @Interface\AddOns\nUI\Units\nUI_Unit.lua:711
configText = <function> defined @Interface\AddOns\nUI\Units\nUI_UnitFrame.lua:384
skin = <table> {
}
anchor = <table> {
}
background = nUI_SoloUnit_Target_Background {
}
applyOptions = <function> defined @Interface\AddOns\nUI\Units\nUI_Unit.lua:620
options = <table> {
}
skinName = "nUI_SoloUnit_TargetSkin"
Faders = <table> {
}
popup = nUI_SoloUnit_Target_Popup {
}
cachedSetUnitID = <function> defined @Interface\AddOns\nUI\Units\nUI_UnitFrame.lua:633
height = 137.71201094437
Labels = <table> {
}
changeScale = <function> defined @Interface\AddOns\nUI\Units\nUI_Unit.lua:533
applyAnchor = <function> defined @Interface\AddOns\nUI\Units\nUI_Unit.lua:579
active = true
scale = 1
unit = "target"
clickable = false
anchor_pt = "TOPRIGHT"
setVisibility = <function> defined @Interface\AddOns\nUI\Units\nUI_Unit.lua:746
click_cast = true
alpah = 1
xOfs = 273.60001087189
relative_pt = "CENTER"
width = 201.60000801086
yOfs = 24.1680019207
unit_info = <table> {
}
relative_to = "$parent"
applyScale = <function> defined @Interface\AddOns\nUI\Units\nUI_Unit.lua:499
Elements = <table> {
}
refreshSkin = <function> defined @Interface\AddOns\nUI\Units\nUI_Unit.lua:734
setEnabled = <function> defined @Interface\AddOns\nUI\Units\nUI_Unit.lua:466
enabled = true
}
(*temporary) = nil
(*temporary) = "target"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'this' (a nil value)"
frame = nUI_SoloUnit_Target_Feedback {
0 = <userdata>
relative_to = "$parent"
parent = nUI_SoloUnit_Target {
}
setUnitID = <function> defined @Interface\AddOns\nUI\Units\nUI_UnitFrame.lua:633
newUnitInfo = <function> defined @Interface\AddOns\nUI\Units\nUI_UnitFeedback.lua:898
vInset = 0
Super = <table> {
}
configText = <function> defined @Interface\AddOns\nUI\Units\nUI_UnitFrame.lua:384
anchor = <table> {
}
background = nUI_SoloUnit_Target_Feedback_Background {
}
enabled = true
options = <table> {
}
text = nUI_SoloUnit_Target_FeedbackText {
}
height = 68.856005472183
Labels = <table> {
}
hScale = 0.48000001907349
applyAnchor = <function> defined @Interface\AddOns\nUI\Units\nUI_UnitFrame.lua:539
active = true
scale = 1
unit = "target"
clickable = true
texture = nUI_SoloUnit_Target_FeedbackTexture {
}
unit_info = <table> {
}
click_cast = true
yOfs = 0
xOfs = 0
relative_pt = "TOPRIGHT"
width = 201.60000801086
highlight = nUI_SoloUnit_Target_FeedbackHighlight {
}
hInset = 0
menu = <function> defined @Interface\AddOns\nUI\Units\nUI_UnitFrame.lua:337
applyScale = <function> defined @Interface\AddOns\nUI\Units\nUI_UnitFeedback.lua:945
anchor_pt = "TOPRIGHT"
vScale = 0.45600003623962
setEnabled = <function> defined @Interface\AddOns\nUI\Units\nUI_UnitFeedback.lua:918
applyOptions = <f
It appears to get clipped off at the end. Nothing I can do to help grab the missing portion. Also, this occurred when right clicking on a focused character to open an interaction menu(menu doesn't show as indicated by the OP)

Also, I noticed getting this several times, Both .03 and now .04 versions.

Quote:

Message: ...\AddOns\Blizzard_InspectUI\InspectPaperDollFrame.lua:23: Usage: UnitLevel("unit")
Time: Thu Oct 14 22:32:19 2010
Count: 1
Stack: [C]: in function `UnitLevel'
...\AddOns\Blizzard_InspectUI\InspectPaperDollFrame.lua:23: in function `InspectPaperDollFrame_SetLevel'
...\AddOns\Blizzard_InspectUI\InspectPaperDollFrame.lua:18: in function <...\AddOns\Blizzard_InspectUI\InspectPaperDollFrame.lua:8>

Locals: (*temporary) = nil
Let me know if you need any other testing or any other info from my setup. Only Addons are Nui+, Recount, Omen, MagicRunes, and DBM(all updated for for current version)

Thanks again for your work on this. I love the interface, and really can't even play without it(Tried the basic interface again when 4.0 dropped and hated it). Was so happy when I got your email.

byteasc 10-14-10 11:56 PM

Button Cooldown changes must be causing some sort-of taint.. Reverted those changes to .03 and no issues with the right click (outside of the buffs, obviously)

Starthistle 10-15-10 03:10 AM

Same problem, but I'm told (I've not tried it yet) that:

/script LeaveParty()

should do the trick for now.

Angery 10-15-10 03:49 AM

Add me to the list..

Daveo77 10-15-10 04:13 AM

Tried to leave a party and couldn't due to no right-click menu appearing

sodavan 10-15-10 04:15 AM

Yeah got the same problem.

Tuskar 10-15-10 05:19 AM

I have exactly the same problem. And got same lua error messages as Zimu :(

spiel2001 10-15-10 05:55 AM

I am aware of this... will get a fix into the next update.

whereswaldo 10-15-10 05:58 AM

A quick fix for this is to edit the module referenced in the error message (Interface\AddOns\nUI\Units\nUI_UnitFrame.lua) and replace "this" with "self"

Before

Code:

                                if popup then
                                               
                                        local anchor = frame.popup and frame or frame.parent;
                                        this.unit    = frame.unit;
                                        this.id      = id;
                                        this.name,
                                        this.server  = UnitName( frame.unit );
                                                               
                                        ToggleDropDownMenu( 1, nil, popup, anchor, anchor:GetWidth()/2, anchor:GetHeight()/2 );
                                       
                                end

After

Code:

                                if popup then
                                               
                                        local anchor = frame.popup and frame or frame.parent;
                                        self.unit    = frame.unit;
                                        self.id      = id;
                                        self.name,
                                        self.server  = UnitName( frame.unit );
                                                               
                                        ToggleDropDownMenu( 1, nil, popup, anchor, anchor:GetWidth()/2, anchor:GetHeight()/2 );
                                       
                                end


Zimu 10-15-10 09:58 AM

Quote:

Originally Posted by whereswaldo (Post 210558)
A quick fix for this is to edit the module referenced in the error message (Interface\AddOns\nUI\Units\nUI_UnitFrame.lua) and replace "this" with "self"

Before

Code:

                                if popup then
                                               
                                        local anchor = frame.popup and frame or frame.parent;
                                        this.unit    = frame.unit;
                                        this.id      = id;
                                        this.name,
                                        this.server  = UnitName( frame.unit );
                                                               
                                        ToggleDropDownMenu( 1, nil, popup, anchor, anchor:GetWidth()/2, anchor:GetHeight()/2 );
                                       
                                end

After

Code:

                                if popup then
                                               
                                        local anchor = frame.popup and frame or frame.parent;
                                        self.unit    = frame.unit;
                                        self.id      = id;
                                        self.name,
                                        self.server  = UnitName( frame.unit );
                                                               
                                        ToggleDropDownMenu( 1, nil, popup, anchor, anchor:GetWidth()/2, anchor:GetHeight()/2 );
                                       
                                end


Confirmed. Just tried this and right click is back for me. The other LUA I was getting though still happens. It seems to be a Blizzard Inspect window issue, but I don't know enough to really diagnose it.

Blanckaert 10-15-10 01:41 PM

**EDIT - the above fix worked, as a temp fix..... **

Yeah.. just got on a 'right-click' of a target...

Date: 2010-10-15 15:39:49
ID: 6
Error occured in: Global
Count: 1
Message: ..\AddOns\nUI\Units\nUI_UnitFrame.lua line 346:
attempt to index global 'this' (a nil value)
Debug:
[C]: ?
nUI\Units\nUI_UnitFrame.lua:346: handler()
..\FrameXML\SecureTemplates.lua:540: SecureActionButton_OnClick()
..\FrameXML\SecureTemplates.lua:580:
..\FrameXML\SecureTemplates.lua:572
AddOns:
BlizRuntimeLib_enUS v4.0.1.40000 <us>
(ck=699)

Elderkhan 10-16-10 03:26 PM

Thanks for the temp workaround.

spiel2001 10-17-10 07:34 AM

This fix will appear in the 5.07.05 (Development) update that I expect to have out later today or tonight... many thanks to Whereswaldo for running it down.


All times are GMT -6. The time now is 11:38 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI