Thread Tools Display Modes
04-20-13, 02:09 AM   #1
jsr1976
A Deviate Faerie Dragon
 
jsr1976's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2006
Posts: 11
Nui Error #1

Hi Spiel2001,

I get this error could't you tell me how to solve it thanks.

Date: 2013-04-20 00:10:14
ID: -60
Error occured in: AddOn: nUI
Count: 1
Message: Note: AddOn nUI attempted to call a protected function (nUI_PartyUnit_Target_Aura2_Button1_HitBox:SetID()) during combat lockdown.
Debug:
[C]: SetID()
nUI\Units\nUI_UnitAura.lua:326:
nUI\Units\nUI_UnitAura.lua:312
Locals:
None
AddOns:
Swatter, v4.2.0 (<%codename%>)
WowheadLooter, v50008
NPCScan, v5.0.0.5
NPCScanOverlay, v5.0.0.3
Ace3, v
AckisRecipeList, v2.4.7
ACP, v3.4.2
AraBrokerGuildFriends, vr54
AraBrokerTradeskills, vr505.22
Archy, v1.8.41
AtlasLootLoader, vv7.05.03
AucAdvanced, v5.16.5396 (MousyMulgara)
AucFilterBasic, v5.16.5396 (MousyMulgara)
AucFilterOutlier, v5.16.5396.5347(/embedded)
AucMatchUndercut, v5.16.5396.5364(/embedded)
AucScanData, v5.16.5396 (MousyMulgara)
AucStatHistogram, v5.16.5396 (MousyMulgara)
AucStatiLevel, v5.16.5396 (MousyMulgara)
AucStatPurchased, v5.16.5396 (MousyMulgara)
AucStatSales, v5.16.5396.5376(/embedded)
AucStatSimple, v5.16.5396 (MousyMulgara)
AucStatStdDev, v5.16.5396 (MousyMulgara)
AucStatWOWEcon, v5.16.5396.5323(/embedded)
AucUtilAHWindowControl, v5.16.5396.5347(/embedded)
AucUtilAppraiser, v5.16.5396.5393(/embedded)
AucUtilAskPrice, v5.16.5396.5347(/embedded)
AucUtilAutoMagic, v5.16.5396.5392(/embedded)
AucUtilCompactUI, v5.16.5396.5367(/embedded)
AucUtilEasyBuyout, v5.16.5396.5347(/embedded)
AucUtilFixAH, v5.16.5396 (MousyMulgara)
AucUtilItemSuggest, v5.16.5396.5365(/embedded)
AucUtilPriceLevel, v5.16.5396.5365(/embedded)
AucUtilScanButton, v5.16.5396.5320(/embedded)
AucUtilScanFinish, v5.16.5396.5347(/embedded)
AucUtilScanProgress, v5.16.5396.4979(/embedded)
AucUtilScanStart, v5.16.5396.5347(/embedded)
AucUtilSearchUI, v5.16.5396.5373(/embedded)
AucUtilSimpleAuction, v5.16.5396.5388(/embedded)
AucUtilVendMarkup, v5.16.5396.4828(/embedded)
Babylonian, v5.1.DEV.332(/embedded)
BagBrother, v
Bagnon, v5.2.1
BankItems, v50003
BattlePetCount, v1.7.1
BeanCounter, v5.16.5396 (MousyMulgara)
BetterBattlePetTooltip, v5.2.0.39
BuyEmAll, v3.1.5
Configator, v5.1.DEV.344(/embedded)
Critline, v4.5.3
DBMCore, v
DebugLib, v5.1.DEV.337(/embedded)
EasyMail, v
Enchantrix, v5.16.5396 (MousyMulgara)
EnchantrixBarker, v5.16.5396 (MousyMulgara)
Factionizer, v5.02.00 13.04.10
FBBroker, v1.19h
FBMergeDatabase, v1.2l
FBOutfitDisplayFrame, v1.2l
FBTitan, v1.0.8
FBTrackingFrame, v1.2l
FishingBuddy, v1.2l
Gatherer, v4.2.0
Informant, v5.16.5396 (MousyMulgara)
ItemLevelDisplay, v1.1.0 r34
LibBabbleArtifacts30, vr11-release
LibBabbleBoss30, v
LibBabbleDigSites30, v5.2-release4
LibBabbleInventory30, v
LibBabbleItemSet30, v
LibBabbleSubZone30, v
LibExtraTip, v5.12.DEV.349(/embedded)
LibSharedMedia30, v3.0-77
MobInfo2, v5.0.4.0
MozzFullWorldMap, v5.02.00.00
NPCScanEx, v1.2.1
nUI, v5.07.30 (Plus)
nUIAuraButtons, v5.07.19
nUIConfigChatFrame, v40200.1
nUIConfigColors, v40300.1
nUIConfigGUI, v40200.1
nUIConfigHUD, v40200.1
nUIConfigLDB, v5.2.0.16733.01
nUIDragon, v5.07.19
nUIInfoPanelArchy, v1.04.00 (WoW 4.3)
nUIInfoPanelChat, v5.2.0.16733.01
nUIInfoPanelGuildChat, v5.2.0.16733.01
nUIInfoPanelProfessions, v007
nUIInfoPanelStats, v5.07.19
nUIInfoPanelWhispers, v5.2.0.16733.01
Overachiever, v0.71
OverachieverTabs, v0.71
OverachieverTrade, v0.71
PetJournalEnhanced, v2.8.2
QuestHubber, v
QuestHubberAzeroth, v
QuestHubberCataclysm, v
QuestHubberDaily, v
QuestHubberNorthrend, v
QuestHubberOutland, v
QuestHubberPandaria, v
Recount, v
Skada, v1.4-11
SkadaCC, v1.0
SkadaDamage, v1.0
SkadaDamageTaken, v1.0
SkadaDeaths, v1.0
SkadaDebuffs, v1.0
SkadaDispels, v1.0
SkadaEnemies, v1.0
SkadaHealing, v1.0
SkadaPower, v1.0
SkadaThreat, v1.0
SlideBar, v4.2.0 (<%codename%>)
Stubby, v5.16.5396 (MousyMulgara)
TipHelper, v5.12.DEV.343(/embedded)
Titan, v5.1.18.50200
TitanBag, v5.1.18.50200
TitanClock, v5.1.18.50200
TitanCurrency, v5.7
TitanEmote, v1.0.15.50001
TitanEquippedItemLevel, v1.1.3.40300
TitanGold, v5.1.18.50200
TitanLocation, v5.1.18.50200
TitanLootType, v5.1.18.50200
TitanMail, v5.2.0.0
TitanPerformance, v5.1.18.50200
TitanQuests, v3.0.8
TitanRepair, v5.1.18.50200
TitanReputation, v3.7.7
TitanSocial, v5.2r22
TitanVolume, v5.1.18.50200
TitanXP, v5.1.18.50200
TomTom, vv50200-1.0.2
TradeSkillDW, v1.88
XMagePortals, v5.2.0.16769.01
BlizRuntimeLib_esES v5.2.0.50200 <eu>
(ck=104c)
 
04-20-13, 03:25 AM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
I've had that error message pop up a few times. It seems to be intermittent but is due from the sounds of it as if there is a section of code that is trying to do something without checking if you are in combat first and you have hovered or clicked over an aura on the player/target/party member frame.
__________________
 
04-20-13, 03:38 AM   #3
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
The offending piece of code in nUI/Units/nUI_UnitAura.lua seem to be the following:

Lua Code:
  1. local function AuraTooltipEnter( self )
  2.  
  3.     local owner = self.hitBox and self or self:GetParent();
  4.    
  5.     local tooltipUpdate = function( self )
  6.         if GameTooltip:IsOwned( owner ) then
  7.             if owner.aura.is_weapon then GameTooltip:SetInventoryItem( owner.unit_id, owner.aura.id );
  8.             else GameTooltip:SetUnitAura( owner.unit_id, owner.aura.id, owner.aura.filter );
  9.             end
  10.         end
  11.     end
  12.  
  13.     if owner.aura and owner.active then
  14.  
  15.         self:SetID( owner.aura.id );
  16.  
  17.         GameTooltip:SetOwner( owner );
  18.         tooltipUpdate( owner );
  19.         GameTooltip:Show();
  20.  
  21. --      self:SetScript( "OnUpdate", tooltipUpdate );
  22.  
  23.     end
  24. end

If we change the SetID line to the following it will probably stop the error going away.

Lua Code:
  1. if not InCombatLockdown() then
  2.    self:SetID( owner.aura.id );
  3. end
__________________
 
04-21-13, 01:03 AM   #4
jsr1976
A Deviate Faerie Dragon
 
jsr1976's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2006
Posts: 11
So if i Understood right, i have to delete de part between lines 15 to 20 and change it to the lines 1 to 3 you write on the second box.

Thank you a lot Xrystal. If you need furthr help with spanish translation please let me know i will be pleased to help you and spiel2001

Last edited by jsr1976 : 04-21-13 at 01:13 AM.
 
04-21-13, 05:51 AM   #5
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
No, just that one line needs to be replaced with the 3 I put there.

If it then reports the same in combat error message on the lines underneath simply move the new end line down to beneath the block of 3 lines that show the tooltip.

So, first try it like this ..
Lua Code:
  1. if owner.aura and owner.active then
  2.    if not InCombatLockdown() then
  3.       self:SetID( owner.aura.id );
  4.    end
  5.    GameTooltip:SetOwner( owner );
  6.    tooltipUpdate( owner );
  7.    GameTooltip:Show();
  8.    -- self:SetScript( "OnUpdate", tooltipUpdate );
  9. end

And if it still errors out try it like this ...
Lua Code:
  1. if owner.aura and owner.active then
  2.    if not InCombatLockdown() then
  3.       self:SetID( owner.aura.id );
  4.       GameTooltip:SetOwner( owner );
  5.       tooltipUpdate( owner );
  6.       GameTooltip:Show();
  7.    end
  8.    -- self:SetScript( "OnUpdate", tooltipUpdate );
  9. end
__________________
 
04-23-13, 04:39 AM   #6
jsr1976
A Deviate Faerie Dragon
 
jsr1976's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2006
Posts: 11
Hi Xrystal now i get this errorcmaybe this one makes the swatter error

Date: 2013-04-23 10:35:44
ID: -3
Error occured in: Global
Count: 37
Message: ..\AddOns\nUI\Units\nUI_UnitAura.lua line 707:
script ran too long
Debug:
nUI\Units\nUI_UnitAura.lua:707:
nUI\Units\nUI_UnitAura.lua:695
nUI\Units\nUI_UnitAura.lua:1332: updateAuraInfo()
nUI\Units\nUI_UnitAura.lua:1021:
nUI\Units\nUI_UnitAura.lua:887
Locals:
unit_id = "player"
is_self = 1
filter = "HARMFUL"
aura_list = <table> {
1 = <table> {
}
}
(for index) = 34
(for limit) = 40
(for step) = 1
i = 34
(*temporary) = <table> {
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "script ran too long"
UnitDebuff = <function> defined =[C]:-1
GetTime = <function> defined =[C]:-1

AddOns:
Swatter, v5.16.5405 (MousyMulgara)
WowheadLooter, v50008
NPCScan, v5.0.0.5
NPCScanOverlay, v5.0.0.3
Ace3, v
AckisRecipeList, v2.4.7
ACP, v3.4.2
AraBrokerGuildFriends, vr54
AraBrokerTradeskills, vr505.22
Archy, v1.8.41
AucAdvanced, v5.16.5405 (MousyMulgara)
AucFilterBasic, v5.16.5405 (MousyMulgara)
AucFilterOutlier, v5.16.5405.5347(5.16/embedded)
AucMatchUndercut, v5.16.5405.5364(5.16/embedded)
AucScanData, v5.16.5405 (MousyMulgara)
AucStatHistogram, v5.16.5405 (MousyMulgara)
AucStatiLevel, v5.16.5405 (MousyMulgara)
AucStatPurchased, v5.16.5405 (MousyMulgara)
AucStatSales, v5.16.5405.5376(5.16/embedded)
AucStatSimple, v5.16.5405 (MousyMulgara)
AucStatStdDev, v5.16.5405 (MousyMulgara)
AucStatWOWEcon, v5.16.5405.5323(5.16/embedded)
AucUtilAHWindowControl, v5.16.5405.5347(5.16/embedded)
AucUtilAppraiser, v5.16.5405.5393(5.16/embedded)
AucUtilAskPrice, v5.16.5405.5347(5.16/embedded)
AucUtilAutoMagic, v5.16.5405.5392(5.16/embedded)
AucUtilCompactUI, v5.16.5405.5400(5.16/embedded)
AucUtilEasyBuyout, v5.16.5405.5347(5.16/embedded)
AucUtilFixAH, v5.16.5405 (MousyMulgara)
AucUtilItemSuggest, v5.16.5405.5365(5.16/embedded)
AucUtilPriceLevel, v5.16.5405.5365(5.16/embedded)
AucUtilScanButton, v5.16.5405.5403(5.16/embedded)
AucUtilScanFinish, v5.16.5405.5347(5.16/embedded)
AucUtilScanProgress, v5.16.5405.4979(5.16/embedded)
AucUtilScanStart, v5.16.5405.5347(5.16/embedded)
AucUtilSearchUI, v5.16.5405.5373(5.16/embedded)
AucUtilSimpleAuction, v5.16.5405.5388(5.16/embedded)
AucUtilVendMarkup, v5.16.5405.4828(5.16/embedded)
Babylonian, v5.1.DEV.332(/embedded)
BagBrother, v
Bagnon, v5.2.3
BankItems, v50003
BattlePetCount, v1.7.1
BeanCounter, v5.16.5405 (MousyMulgara)
BetterBattlePetTooltip, v5.2.0.39
BuyEmAll, v3.1.5
Configator, v5.1.DEV.344(/embedded)
Critline, v4.5.3
DBMCore, v
DBMPartyMoP, v
DebugLib, v5.1.DEV.337(/embedded)
EasyMail, v
Enchantrix, v5.16.5405 (MousyMulgara)
EnchantrixBarker, v5.16.5405 (MousyMulgara)
Exonumist, v5.2.0.32
Factionizer, v5.02.00 13.04.21
FBBroker, v1.19h
FBMergeDatabase, v1.2l
FBOutfitDisplayFrame, v1.2l
FBTitan, v1.0.8
FBTrackingFrame, v1.2l
FishingBuddy, v1.2l
Gatherer, v4.2.0
Informant, v5.16.5405 (MousyMulgara)
ItemLevelDisplay, v1.1.0 r34
LibBabbleArtifacts30, vr11-release
LibBabbleBoss30, v
LibBabbleDigSites30, v5.2-release4
LibBabbleInventory30, v
LibBabbleSubZone30, v
LibExtraTip, v5.12.DEV.350(/embedded)
LibSharedMedia30, v3.0-77
MobInfo2, v5.0.4.0
MozzFullWorldMap, v5.02.00.00
NPCScanEx, v1.2.1
nUI, v5.07.30 (Plus)
nUIAuraButtons, v5.07.19
nUIConfigChatFrame, v40200.1
nUIConfigColors, v40300.1
nUIConfigGUI, v40200.1
nUIConfigHUD, v40200.1
nUIConfigLDB, v5.2.0.16733.01
nUIDragon, v5.07.19
nUIInfoPanelArchy, v1.04.00 (WoW 4.3)
nUIInfoPanelChat, v5.2.0.16733.01
nUIInfoPanelGuildChat, v5.2.0.16733.01
nUIInfoPanelProfessions, v007
nUIInfoPanelStats, v5.07.19
nUIInfoPanelWhispers, v5.2.0.16733.01
Omen, v3.1.8
Overachiever, v0.71
OverachieverTabs, v0.71
OverachieverTrade, v0.71
PetJournalEnhanced, v2.8.2
QuestHubber, v
QuestHubberAzeroth, v
QuestHubberCataclysm, v
QuestHubberDaily, v
QuestHubberNorthrend, v
QuestHubberOutland, v
QuestHubberPandaria, v
Recount, v
SlideBar, v5.16.5405 (MousyMulgara)
Stubby, v5.16.5405 (MousyMulgara)
TipHelper, v5.12.DEV.343(/embedded)
Titan, v5.1.18.50200
TitanBag, v5.1.18.50200
TitanClock, v5.1.18.50200
TitanCurrency, v5.7
TitanEmote, v1.0.15.50001
TitanEquippedItemLevel, v1.1.3.40300
TitanGold, v5.1.18.50200
TitanLocation, v5.1.18.50200
TitanLootType, v5.1.18.50200
TitanMail, v5.2.0.0
TitanPerformance, v5.1.18.50200
TitanQuests, v3.0.8
TitanRepair, v5.1.18.50200
TitanReputation, v3.7.7
TitanSocial, v5.2r22
TitanVolume, v5.1.18.50200
TitanXP, v5.1.18.50200
TomTom, vv50200-1.0.2
TradeSkillDW, v1.88
XMagePortals, v5.2.0.16769.01
BlizRuntimeLib_esES v5.2.0.50200 <eu>
(ck=fc5)
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Customization » nUI: Plugin Support » Nui Error #1

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off