WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   oUF (Otravi Unit Frames) (https://www.wowinterface.com/forums/forumdisplay.php?f=87)
-   -   RightClicked another player and got this Lua error (https://www.wowinterface.com/forums/showthread.php?t=56460)

zork 07-27-18 10:13 AM

RightClicked another player and got this Lua error
 
https://imgur.com/a/OgxGMtf
https://imgur.com/a/88sYbtA

Lua Code:
  1. Message: Interface\FrameXML\UnitPopup.lua:1251: bad argument #1 to 'IsPlayerUsingVoice' (Usage: local isUsingVoice = C_VoiceChat.IsPlayerUsingVoice(playerLocation))
  2. Time: Fri Jul 27 18:11:22 2018
  3. Count: 1
  4. Stack: Interface\FrameXML\UnitPopup.lua:1251: bad argument #1 to 'IsPlayerUsingVoice' (Usage: local isUsingVoice = C_VoiceChat.IsPlayerUsingVoice(playerLocation))
  5. [C]: in function `IsPlayerUsingVoice'
  6. Interface\FrameXML\UnitPopup.lua:1251: in function `UnitPopup_HideButtons'
  7. Interface\FrameXML\UnitPopup.lua:306: in function `UnitPopup_ShowMenu'
  8. Interface\FrameXML\SecureTemplates.lua:237: in function `initFunction'
  9. Interface\FrameXML\UIDropDownMenu.lua:77: in function `UIDropDownMenu_Initialize'
  10. Interface\FrameXML\UIDropDownMenu.lua:1085: in function `ToggleDropDownMenu'
  11. Interface\FrameXML\SecureTemplates.lua:308: in function `handler'
  12. Interface\FrameXML\SecureTemplates.lua:623: in function `SecureActionButton_OnClick'
  13. Interface\FrameXML\SecureTemplates.lua:663: in function <Interface\FrameXML\SecureTemplates.lua:655>
  14.  
  15. Locals: (*temporary) = <table> {
  16.  IsBattleNetGUID = <function> defined @Interface\FrameXML\ObjectAPI\PlayerLocation.lua:63
  17.  SetGUID = <function> defined @Interface\FrameXML\ObjectAPI\PlayerLocation.lua:47
  18.  IsCommunityData = <function> defined @Interface\FrameXML\ObjectAPI\PlayerLocation.lua:129
  19.  IsBattlefieldScoreIndex = <function> defined @Interface\FrameXML\ObjectAPI\PlayerLocation.lua:99
  20.  SetUnit = <function> defined @Interface\FrameXML\ObjectAPI\PlayerLocation.lua:71
  21.  IsGUID = <function> defined @Interface\FrameXML\ObjectAPI\PlayerLocation.lua:59
  22.  unit = "targettarget"
  23.  IsChatLineID = <function> defined @Interface\FrameXML\ObjectAPI\PlayerLocation.lua:87
  24.  Clear = <function> defined @Interface\FrameXML\ObjectAPI\PlayerLocation.lua:144
  25.  IsValid = <function> defined @Interface\FrameXML\ObjectAPI\PlayerLocation.lua:51
  26.  SetVoiceID = <function> defined @Interface\FrameXML\ObjectAPI\PlayerLocation.lua:107
  27.  IsVoiceID = <function> defined @Interface\FrameXML\ObjectAPI\PlayerLocation.lua:113
  28.  GetBattlefieldScoreIndex = <function> defined @Interface\FrameXML\ObjectAPI\PlayerLocation.lua:103
  29.  IsUnit = <function> defined @Interface\FrameXML\ObjectAPI\PlayerLocation.lua:75
  30.  SetCommunityInvitation = <function> defined @Interface\FrameXML\ObjectAPI\PlayerLocation.lua:133
  31.  GetVoiceID = <function> defined @Interface\FrameXML\ObjectAPI\PlayerLocation.lua:117
  32.  IsCommunityInvitation = <function> defined @Interface\FrameXML\ObjectAPI\PlayerLocation.lua:139
  33.  GetChatLineID = <function> defined @Interface\FrameXML\ObjectAPI\PlayerLocation.lua:91
  34.  ClearAndSetField = <function> defined @Interface\FrameXML\ObjectAPI\PlayerLocation.lua:158
  35.  GetGUID = <function> defined @Interface\FrameXML\ObjectAPI\PlayerLocation.lua:67
  36.  GetUnit = <function> defined @Interface\FrameXML\ObjectAPI\PlayerLocation.lua:79
  37.  SetChatLineID = <function> defined @Interface\FrameXML\ObjectAPI\PlayerLocation.lua:83
  38.  SetBattlefieldScoreIndex = <function> defined @Interface\FrameXML\ObjectAPI\PlayerLocation.lua:95
  39.  SetCommunityData = <function> defined @Interface\FrameXML\ObjectAPI\PlayerLocation.lua:121
  40. }

Is that something with the default UI? It has some wierd !Voice Chat dropdown button.

I could get it by right clicking on my ToT in combat.

Does not happen all the time...GRMPF

*edit* Only seem to happen when right clicking a target of target unit.

lightspark 07-27-18 02:32 PM

It's a Blizz's bug.

Unit popups are kinda broken atm, esp for UF addons... I've already reported few unit popups' bugs.

Got a reply from our fav Blizz dev:
Quote:

03:33:51 TheDanW > ls-: thanks for the research, a fix for the guid stuff will be coming soon, the units being "invalid" are trickier to solve

zork 07-27-18 05:24 PM

Thank you. :)


All times are GMT -6. The time now is 02:15 PM.

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