mariachi
17-10-2005, 12:17 PM
Hiya!
I like the project and support it by using the addon. However, it seems that from 1.8 it breaks ingame causing an error at load time :
Interface\FrameXML\UIPanelTemplates.lua:7:attempt to index local `frame' (a nil value)
Although this apprently does not affect data collection it does however prevent me from logging nicely out of WoW as it also pops up when pushing logout or exit from the options menu. Deletion of the WTF folder did only help briefly, but the problem appeared quickly again.
Any advice?
Dracomage
17-10-2005, 04:53 PM
I had the same problem.
I however could not track down whcih UI mod was causing the problem.
So I deleted the Interface\FrameXML folder
So far everything is still working. No idea what that folder was used for...
Bevyan
17-10-2005, 05:23 PM
This error appears not only by load time but it appears by logoff or quit game and i wasn't able quit the game. This error occures after patch 1.8. Error is in the file CharacterProfiler.lua in the function Profile_AddTalents, when talents are collected. Variable TalentFrame is nil.
You can avoid this error when you look at talents before you quit game (press key N).
You can make also following corrections into file CharacterProfiler.lua:
1. Delete row 813 with text "PanelTemplates_SetTab(TalentFrame, x);"
2. Replace every appearence of text "PanelTemplates_GetSelectedTab(TalentFrame)" by text "x" in function Profile_AddTalents ... of course without quotes
I add original code of function and code after correction
Function Profile_AddTalents with error:
function Profile_AddTalents()
WNE_Profile_Print_Method_Trace( "e", "Profile_AddTalents" );
local lCharProfile = WNE_CurrentCharacter;
local numTabs = GetNumTalentTabs();
local name, iconTexture, tier, column, rank, maxRank;
local numTalents;
local tabname, texture, points, fileName;
lCharProfile["Talents"] = {};
for x=1, numTabs do
PanelTemplates_SetTab(TalentFrame, x);
numTalents = GetNumTalents(PanelTemplates_GetSelectedTab(TalentFrame));
tabname, texture, points, fileName = GetTalentTabInfo(PanelTemplates_GetSelectedTab(TalentFrame));
lCharProfile["Talents"][tabname] = {};
lCharProfile["Talents"][tabname]["PointsSpent"] = points;
lCharProfile["Talents"][tabname]["Background"] = "Interface\\TalentFrame\\" .. fileName;
lCharProfile["Talents"][tabname]["Order"] = x;
for i=1, numTalents do
name, iconTexture, tier, column, rank, maxRank = GetTalentInfo(PanelTemplates_GetSelectedTab(TalentFrame), i);
if (rank > 0 or WNE_CharProfile_TALENTS_Full) then
lCharProfile["Talents"][tabname][name] = { };
lCharProfile["Talents"][tabname][name]["Rank"] = rank .. ":" .. maxRank;
lCharProfile["Talents"][tabname][name]["Location"] = tier .. ":" .. column;
lCharProfile["Talents"][tabname][name]["Texture"] = iconTexture;
end
if ( WNE_CharProfile_TALENTS_Full ) then
-- double check
if ( not lCharProfile["Talents"][tabname][name] ) then
lCharProfile["Talents"][tabname][name] = {};
end
ProfileHiddenTooltip:SetTalent(PanelTemplates_GetSelectedTab(TalentFrame), i)
lCharProfile["Talents"][tabname][name]["Tooltip"] = strTooltip();
end
end
end
WNE_Profile_Print_Method_Trace( "e", "Profile_AddTalents" );
end
Corrected function:
function Profile_AddTalents()
WNE_Profile_Print_Method_Trace( "e", "Profile_AddTalents" );
local lCharProfile = WNE_CurrentCharacter;
local numTabs = GetNumTalentTabs();
local name, iconTexture, tier, column, rank, maxRank;
local numTalents;
local tabname, texture, points, fileName;
lCharProfile["Talents"] = {};
for x=1, numTabs do
numTalents = GetNumTalents(x);
tabname, texture, points, fileName = GetTalentTabInfo(x);
lCharProfile["Talents"][tabname] = {};
lCharProfile["Talents"][tabname]["PointsSpent"] = points;
lCharProfile["Talents"][tabname]["Background"] = "Interface\\TalentFrame\\" .. fileName;
lCharProfile["Talents"][tabname]["Order"] = x;
for i=1, numTalents do
name, iconTexture, tier, column, rank, maxRank = GetTalentInfo(x, i);
if (rank > 0 or WNE_CharProfile_TALENTS_Full) then
lCharProfile["Talents"][tabname][name] = { };
lCharProfile["Talents"][tabname][name]["Rank"] = rank .. ":" .. maxRank;
lCharProfile["Talents"][tabname][name]["Location"] = tier .. ":" .. column;
lCharProfile["Talents"][tabname][name]["Texture"] = iconTexture;
end
if ( WNE_CharProfile_TALENTS_Full ) then
-- double check
if ( not lCharProfile["Talents"][tabname][name] ) then
lCharProfile["Talents"][tabname][name] = {};
end
ProfileHiddenTooltip:SetTalent(x, i)
lCharProfile["Talents"][tabname][name]["Tooltip"] = strTooltip();
end
end
end
WNE_Profile_Print_Method_Trace( "e", "Profile_AddTalents" );
end
This works fine for me.
mariachi
17-10-2005, 06:35 PM
This error appears not only by load time but it appears by logoff or quit game and i wasn't able quit the game. This error occures after patch 1.8. Error is in the file CharacterProfiler.lua in the function Profile_AddTalents, when talents are collected. Variable TalentFrame is nil.
(cut!)
This works fine for me.
This error and fix is confirmed. There appears to be no apprent side effect and uploading still works fine.
Annunaki
18-10-2005, 09:17 AM
Hi,
Yes what Bevyan says is exactly how we solved the problem. Apparently some things changed with the 1.8 patch which caused problems when logging on and logging off of the game.
We are aware of this and it has been fixed for the 1.8.0.1. release. The reason why 1.8.0.1. hasn't been released yet is that it contains some new stuff which we are testing internally before releasing it to the public.
I can't give out too many details yet, but I can give you an idea of what we have done. The whole parsing / uploading process has been examined and debugged thouroughly ( the reason will become apparent when 1.8.0.1. goes lieve ). While doing this, I solved many issues I detected in that part of the application. So starting from 1.8.0.1. you will see some thing start to appear which should have been there for months ( resists on items, enchants on items, Made By stuff, ... ).
Regards,
Annunaki
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.