Thread Tools Display Modes
04-28-11, 10:09 PM   #1
colista
A Defias Bandit
Join Date: Apr 2011
Posts: 2
Problems since new patch came out

I've recently been having LUA error's popping up since the recent patch tuesday 4/26/2011. I use spartanui - with oUF, love the target frames, but I run druid and a shammy and everytime I shapeshift, or pop treants i get this error. Can anyone give me any ideas on how to fix the problem? I really want to keep oUF

Code:
Message: Interface\AddOns\oUF\elements\happiness.lua:22: attempt to call global 'GetPetHappiness' (a nil value)
Time: 04/28/11 21:59:11
Count: 1
Stack: Interface\AddOns\oUF\elements\happiness.lua:22: in function `func'
Interface\AddOns\oUF\ouf.lua:316: in function <Interface\AddOns\oUF\ouf.lua:311>
[C]: in function `Show'
Interface\FrameXML\SecureStateDriver.lua:83: in function <Interface\FrameXML\SecureStateDriver.lua:73>
Interface\FrameXML\SecureStateDriver.lua:137: in function <Interface\FrameXML\SecureStateDriver.lua:119>

Locals: self = SUI_PetFrame {
 0 = <userdata>
 UNIT_PORTRAIT_UPDATE = <function> defined @Interface\AddOns\oUF\elements\portraits.lua:18
 __tags = <table> {
 }
 PostUpdateAura = <function> defined @Interface\AddOns\SpartanUI_PlayerFrames\global\Framework.lua:80
 SUI_ClassIcon = <unnamed> {
 }
 Happiness = <unnamed> {
 }
 UNIT_PET = <table> {
 }
 UNIT_MAXHEALTH = <function> defined @Interface\AddOns\oUF\elements\health.lua:60
 __elements = <table> {
 }
 UNIT_MAXENERGY = <function> defined @Interface\AddOns\oUF\elements\power.lua:63
 Castbar = <unnamed> {
 }
 UNIT_DISPLAYPOWER = <function> defined @Interface\AddOns\oUF\elements\power.lua:63
 UNIT_HAPPINESS = <table> {
 }
 OverrideUpdateThreat = <function> defined @Interface\AddOns\SpartanUI_PlayerFrames\global\Framework.lua:30
 Health = <unnamed> {
 }
 UNIT_MAXRUNIC_POWER = <function> defined @Interface\AddOns\oUF\elements\power.lua:63
 UNIT_HEALTH = <function> defined @Interface\AddOns\oUF\elements\health.lua:60
 SetAuraPosition = <function> defined @Interface\AddOns\oUF\elements\aura.lua:196
 RAID_TARGET_UPDATE = <function> defined @Interface\AddOns\oUF\elements\ricons.lua:21
 UNIT_MAXFOCUS = <function> defined @Interface\AddOns\oUF\elements\power.lua:63
 UNIT_SPELLCAST_CHANNEL_START = <function> defined @Interface\AddOns\oUF\elements\castbar.lua:153
 Level = <unnamed> {
 }
 Portrait = <unnamed> {
 }
 UNIT_SPELLCAST_CHANNEL_STOP = <function> defined @Interface\AddOns\oUF\elements\castbar.lua:215
 UNIT_SPELLCAST_CHANNEL_INTERRUPTED = <function> defined @Interface\AddOns\oUF\elements\castbar.lua:97
 UNIT_SPELLCAST_CHANNEL_UPDATE = <function> defined @Interface\AddOns\oUF\elements\castbar.lua:192
 UNIT_SPELLCAST_START = <function> defined @Interface\AddOns\oUF\elements\castbar.lua:39
 Auras = <unnamed> {
 }
 UNIT_SPELLCAST_DELAYED = <function> defined @Interface\AddOns\oUF\elements\castbar.lua:115
 UNIT_MAXRAGE = <function> defined @Interface\AddOns\oUF\elements\power.lua:63
 UNIT_SPELLCAST_INTERRUPTED = <function> defined @Interface\AddOns\oUF\elements\castbar.lua:97
 UNIT_SPELLCAST_STOP = <function> defined @Interface\AddOns\oUF\elements\castbar.lua:135
 UNIT_SPELLCAST_FAILED = <function> defined @Interface\AddOns\oUF\elements\castbar.lua:79
 PvP = <unnamed> {
 }
 PostChannelStart = <function> defined @Interface\AddOns\SpartanUI_PlayerFrames\global\Framework.lua:77
 UNIT_THREAT_SITUATION_UPDATE = <function> defined @Interface\AddOns\oUF\elements\threat.lua:26
 PARTY_MEMBERS_CHANGED = <function> defined @Interface\AddOns\SpartanUI_PlayerFrames\global\Features.lua:18
 Threat = <unnamed> {
 }
 PLAYER_TARGET_CHANGED = <function> defined @Interface\AddOns\SpartanUI_PlayerFrames\global\Features.lua:18
 UNIT_AURA = <function> defined @Interface\AddOns\oUF\elements\aura.lua:235
 menu = <function> defined @Interface\AddOns\SpartanUI_PlayerFrames\global\Framework.lua:24
 unit = "pet"
 UNIT_FACTION = <table> {
 }
 PostUpdateHealth = <function> defined @Interface\AddOns\SpartanUI_PlayerFrames\global\Framework.lua:49
 PostUpdatePower = <function> defined @Interface\AddOns\SpartanUI_PlayerFrames\global\Framework.lua:64
 style = "Spartan_PlayerFrames"
 Name = <unnamed> {
 }
 UNIT_MAXMANA = <function> defined @Interface\AddOns\oUF\elements\power.lua:63
 Power = <unnamed> {
 }
 RaidIcon = <unnamed> {
 }
 PostCastStart = <function> defined @Interface\AddOns\SpartanUI_PlayerFrames\global\Framework.lua:74
 UNIT_MODEL_CHANGED = <function> defined @Interface\AddOns\oUF\element

Last edited by voodoodad : 04-29-11 at 01:23 AM. Reason: Added [CODE] tags for improved readability
  Reply With Quote
04-28-11, 10:31 PM   #2
Mischback
A Cobalt Mageweaver
 
Mischback's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 221
Remove all happiness-stuff from your UF, it's not there anymore. Pets are always happy.
__________________
  Reply With Quote
04-28-11, 11:31 PM   #3
haste
Featured Artist
 
haste's Avatar
Premium Member
Featured
Join Date: Dec 2005
Posts: 1,027
Update oUF. You are running 1.5.8 or earlier.
__________________
「貴方は1人じゃないよ」
  Reply With Quote
04-30-11, 10:00 PM   #4
Artisha
A Kobold Labourer
Join Date: Apr 2010
Posts: 1
how to update oUF!

Hi
I am using SpartanUI 2.6.1(Original one) and have same problem as Colista pasted plus another error which i will link.
I fixed "Interface\AddOns\oUF\elements\happiness.lua:22" error by doing what Mischback told to do ( i removed happiness.lua from oUF > Elements folder).
Other error which i linked in the bottom, i couldn't find any fix for it, so please help.
btw SpartanUi install OUF+Bartender4 itself and when i tried to update oUF individually(by replacing old one with 1.5.10 in addon folder) i got a new lua error from SpartanUI. How should i update it correctly? tell me if you know please or just give me a fix for error below

Message: Interface\AddOns\oUF\elements\portraits.lua:19: Usage: UnitIsUnit("unit", "otherUnit")
Time: 04/30/11 11:24:23
Count: 3
Stack: [C]: in function `UnitIsUnit'
Interface\AddOns\oUF\elements\portraits.lua:19: in function <Interface\AddOns\oUF\elements\portraits.lua:18>
(tail call): ?

Locals: (*temporary) = "targettarget"
(*temporary) = nil
  Reply With Quote
05-01-11, 02:46 AM   #5
haste
Featured Artist
 
haste's Avatar
Premium Member
Featured
Join Date: Dec 2005
Posts: 1,027
The line numbers in your error indicate that you haven't updated oUF correctly. Looking at the line numbers in the error it's a oUF version between 1.3.24 and 1.3.22, which are from December 2009.

Just updating oUF won't make a layout work in this case. There's too many API changes since then. The layout itself needs to be updated as well.
__________________
「貴方は1人じゃないよ」
  Reply With Quote
05-10-11, 09:22 AM   #6
colista
A Defias Bandit
Join Date: Apr 2011
Posts: 2

I forgot to mention... I get the same problem with the portraits... I use spartanui and it automatically has ouf loaded in, my boyfriend uses the same spartanui through the curse client and he doesnt get the errors which is really confusing.. I've tried turning addons on and off to see if they are conflicting but still haven't figured it out. I dont get how to update it if spartanui isn't going to accept the changes? I really like the frames from ouf and spartanui but the error is really annoying. (BTW the deleting happiness.lua worked, tyvm )
  Reply With Quote
05-10-11, 12:18 PM   #7
haste
Featured Artist
 
haste's Avatar
Premium Member
Featured
Join Date: Dec 2005
Posts: 1,027
This is really an issue with SpartanUI _not_ being maintained and not oUF. _Just_ updating oUF won't fix all your issues, an seeing how old the SpartanUI oUF layout is, it will probably break horribly in several ways.
__________________
「貴方は1人じゃないよ」
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Problems since new patch came out


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