Thread Tools Display Modes
03-25-09, 09:06 PM   #1
fireboy0526
Premium Member
Premium Member
Join Date: Mar 2009
Posts: 5
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)
 
03-26-09, 03:05 AM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
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 ?

Last edited by Xrystal : 03-26-09 at 03:08 AM.
 
03-26-09, 03:39 AM   #3
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
Okay, figured it out if no-one else has yet

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.

Last edited by Xrystal : 03-26-09 at 03:48 AM.
 
03-26-09, 04:38 AM   #4
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
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.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
03-26-09, 05:19 AM   #5
Petrah
A Pyroguard Emberseer
 
Petrah's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2008
Posts: 2,988
Originally Posted by spiel2001 View Post
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.
__________________
♪~ ( ) I My Sonos!
AddOn Authors: If your addon spams the chat box with "Addon v8.3.4.5.3 now loaded!", please add an option to disable it!
 
03-26-09, 10:03 AM   #6
fireboy0526
Premium Member
Premium Member
Join Date: Mar 2009
Posts: 5
Originally Posted by Xrystal View Post
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.
 
03-26-09, 10:12 AM   #7
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
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.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
03-26-09, 10:23 AM   #8
fireboy0526
Premium Member
Premium Member
Join Date: Mar 2009
Posts: 5
Originally Posted by spiel2001 View Post
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)
 
03-26-09, 10:44 AM   #9
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
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.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
03-27-09, 04:14 AM   #10
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
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.
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Bug Reports » A bug in NAXX

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