WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   nUI: Bug Reports (https://www.wowinterface.com/forums/forumdisplay.php?f=90)
-   -   A bug in NAXX (https://www.wowinterface.com/forums/showthread.php?t=21435)

fireboy0526 03-25-09 09:06 PM

A bug in NAXX
 
Date: 2009-03-25 12:41:32
ID: -2
Error occured in: Global
Count: 1
Message: ..\AddOns\nUI\Bars\nUI_BagBar.lua line 137:
attempt to index field 'nUI: [ %s ] is not a valid bag bar visibility option... please choose from %s, %s or %s' (a nil value)
Debug:
[C]: ?
nUI\Bars\nUI_BagBar.lua:137: method()
...terface\AddOns\nUI\Integration\nUI_SlashCommands.lua:82: ?()
..\FrameXML\ChatFrame.lua:3210:
..\FrameXML\ChatFrame.lua:3163
[C]: ChatEdit_ParseText()
..\FrameXML\ChatFrame.lua:2930: ChatEdit_SendText()
..\FrameXML\ChatFrame.lua:2951: ChatEdit_OnEnterPressed()
[string "*:OnEnterPressed"]:1:
[string "*:OnEnterPressed"]:1
AddOns:
Swatter, v3.1.11 (<%codename%>)
AtlasLoot, vv5.03.03
AtlasLootBurningCrusade, vv5.03.03
AtlasLootCrafting, vv5.03.03
AtlasLootOriginalWoW, vv5.03.03
AtlasLootWorldEvents, vv5.03.03
AtlasLootWrathoftheLichKing, vv5.03.03
AtlasLootFu, vv5.03.03
AtlasLootReverse, v1.2
Babylonian, v5.1.DEV.130
Cartographer, v2.0
CartographerBattlegrounds, v2.0
CartographerCoordinates, v2.0
CartographerFoglight, v2.0
CartographerGroupColors, v2.0
CartographerGuildPositions, v2.0
CartographerInstanceLoot, v2.0
CartographerInstanceMaps, v2.0
CartographerInstanceNotes, v2.0
CartographerLookNFeel, v2.0
CartographerNotes, v2.0
CartographerPOI, v2.0
CartographerProfessions, v2.0
CartographerWaypoints, v2.0
CartographerZoneInfo, v2.0
Configator, v5.1.DEV.160
DBMCore, v
EventAlert, v4.0
Gatherer, v3.1.11
GathererHUD, v3.1.11
GathererDBWowhead, v1.0.2009-02-18
nUI, v5.01.012
nUIInfoPanelDualStats, v1.00.00
Omen, v3.0.6
Postal, v3.1.0
Prat30, v3.1.0b1
Prat30Libraries, v
RatingBuster, v
Recount, v
SlideBar, v3.1.11 (<%codename%>)
TankPoints, v
TargetingIcons, v1.0
XLoot, v0.9
(ck=47b)

Xrystal 03-26-09 03:05 AM

Hmm strange, I've been doing naxx for the last few months with nUI and no problems.

Which version of nUI were you using at the time ?

What were you doing before that happened ?

I'll have a little gander in the code and see if there's something that jumps out at me.

Was this on live or test realms ?

Xrystal 03-26-09 03:39 AM

Okay, figured it out if no-one else has yet :D

That message comes up when you type the command :

/nui bagbar ???

Where ??? should be one of the following :

on, off, mouseover

That message is a result of tests being made to ensure the correct information is being entered. Once this option is added to the GUI optional addon (if not already) that message shouldn't occur, assuming you have it installed.

At the same time bag scaling seems to have a similar problem. /nui bagscale 0 causes another error message to appear. Again, having the GUI option installed with stop this from happening too.

spiel2001 03-26-09 04:38 AM

Yeah -- I realize that I made this mistake in most of the "that's not a valid argument" messages I print in the slash command handler methods... bottom line was that I tested for "wrong" arguments, but forgot to trap "no" argument, which causes the "nil" problem because I'm trying to do a string format with a nil argument.

I'll get these fixed.

Petrah 03-26-09 05:19 AM

Quote:

Originally Posted by spiel2001 (Post 122512)
bottom line was that I tested for "wrong" arguments, but forgot to trap "no" argument, which causes the "nil" problem because I'm trying to do a string format with a nil argument.

/smiles and nods in agreement.. pretending she knows exactly what you're talking about.

/nods


lol Sorry, couldn't resist. :D

fireboy0526 03-26-09 10:03 AM

Quote:

Originally Posted by Xrystal (Post 122502)
Hmm strange, I've been doing naxx for the last few months with nUI and no problems.

Which version of nUI were you using at the time ?

What were you doing before that happened ?

I'll have a little gander in the code and see if there's something that jumps out at me.

Was this on live or test realms ?

This is the boss in armory where u have to control one of the soldiers. when ever i press dismiss it'll pop that error and won't do anything.

The version is the newest one.

spiel2001 03-26-09 10:12 AM

Any chance you have "dismiss" keybound to the bag bar?

The only way you get that message is if you're executing the '/nui bagbar' command with no argument. I can't imagine how that's possible to cause just by pressing dismiss.

fireboy0526 03-26-09 10:23 AM

Quote:

Originally Posted by spiel2001 (Post 122584)
Any chance you have "dismiss" keybound to the bag bar?

The only way you get that message is if you're executing the '/nui bagbar' command with no argument. I can't imagine how that's possible to cause just by pressing dismiss.

Very sorry about that. The following error should be the correct one:

Date: 2009-03-22 16:52:18
ID: -11
Error occured in: AddOn: nUI
Count: 5
Message: Error: AddOn nUI attempted to call a forbidden function (FocusUnit()) from a tainted execution path.
Debug:
[C]: FocusUnit()
..\FrameXML\UnitPopup.lua:1180: func()
..\FrameXML\UIDropDownMenu.lua:561: UIDropDownMenuButton_OnClick()
[string "*:OnClick"]:1:
[string "*:OnClick"]:1
AddOns:
Swatter, v3.1.11 (<%codename%>)
Babylonian, v5.1.DEV.130
Cartographer, v2.0
CartographerBattlegrounds, v2.0
CartographerCoordinates, v2.0
CartographerFoglight, v2.0
CartographerGroupColors, v2.0
CartographerGuildPositions, v2.0
CartographerInstanceLoot, v2.0
CartographerInstanceMaps, v2.0
CartographerInstanceNotes, v2.0
CartographerLookNFeel, v2.0
CartographerNotes, v2.0
CartographerPOI, v2.0
CartographerProfessions, v2.0
CartographerWaypoints, v2.0
CartographerZoneInfo, v2.0
Configator, v5.1.DEV.160
DBMBattlegrounds, v
DBMCore, v
DBMNaxx, v
DBMPartyWotLK, v
Gatherer, v3.1.11
GathererHUD, v3.1.11
GathererDBWowhead, v1.0.2009-02-18
nUI, v5.01.01
nUIInfoPanelDualStats, v1.00.00
Omen, v3.0.6
Postal, v3.1.0
Prat30, v3.0.5
Prat30Libraries, v
RatingBuster, v
Recount, v
SlideBar, v3.1.11 (<%codename%>)
TankPoints, v
TargetingIcons, v1.0
XLoot, v0.9
(ck=3a1)

spiel2001 03-26-09 10:44 AM

Ah ha!

Didn't read the known issues in the patch notes did you?

~evil grin~

-------------------------------------------------------------------------------------------
Known Bliz / nUI compatibility issues...
-------------------------------------------------------------------------------------------
  • Right clicking a unit frame and selecting "set focus" taints in combat == this is a known bug since WoW 3.0.2 and is beyond nUI's control. Hopefully Bliz will address it in the next patch (or two or three or twenty). You can target the desired focus and then type '/focus' to aquire a focus frame until Bliz resolves this issue.

Xrystal 03-27-09 04:14 AM

I haven't delved into that part of addons Scott but, is a message box type element in the WoW API that can be used for messages like these. Some of these messages are appearing as if the addon is at fault whereas instead you are just displaying what the problem was. Just a thought.


All times are GMT -6. The time now is 01:27 AM.

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