Profession Shopping List

Profession Shopping List

421k Downloads

Attempt to index Global "professionsframe" error

lilflea12 opened this issue ยท 1 comments

commented

AddOn version
11.1.7-001. Most current on curseforge

Have you tried to /reload, used /psl clear if it is recipe-related, and checked the issue occurs with only PSL enabled?
Yes

Have you taken a look at the addon's settings yet, to see if it's a feature that can be adjusted or disabled?
Yes

Describe the problem
Lau error pops up in my bugsack. not 100% sure when it came up. but was either after getting a ring enchant in the mail. or when i applied it to my ring.

17x ProfessionShoppingList/Core.lua:3637: attempt to index global 'ProfessionsFrame' (a nil value)
[ProfessionShoppingList/Core.lua]:3637: in function <ProfessionShoppingList/Core.lua:3636>

Locals:
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'ProfessionsFrame' (a nil value)"
app =

{
IconPSL = "|TInterface\AddOns\ProfessionShoppingList\assets\psl_icon.blp:0|t"
IconReady = "|TInterface\RaidFrame\ReadyCheck-Ready:0|t"
api =
{
}
locales =
{
}
Category =
{
}
NameLong = "|cffC69B6DProfession Shopping List|r"
SelectedRecipe =
{
}
NameShort = "|cffC69B6DPSL|r"
LockButton = Button {
}
Flag =
{
}
TooltipItemID = 213461
IconNotReady = "|TInterface\RaidFrame\ReadyCheck-NotReady:0|t"
Event = Frame {
}
ClearButton = Button {
}
Name = "Profession Shopping List"
IconLMB = "|TInterface\TutorialFrame\UI-Tutorial-Frame:12:12:0:0:512:512:10:65:228:283|t"
UnlockButton = Button {
}
IconRMB = "|TInterface\TutorialFrame\UI-Tutorial-Frame:12:12:0:0:512:512:10:65:330:385|t"
RepeatQuickOrderTooltip =
{
}
SimAddOns =
{
}
IconProfession =
{
}
QuickOrderErrors = 0
QuickOrderAttempts = 0
QuickOrderRecipeID = 0
Window = Frame {
}
slLegendaryRecipeIDs =
{
}
AuctionatorButton = pslOptionAuctionatorButton {
}
Rows =
{
}
IconWaiting = "|TInterface\RaidFrame\ReadyCheck-Waiting:0|t"
ReagentQuantities =
{
}
Hidden = Frame {
}
ProfessionKnowledge =
{
}
nyiRecipes =
{
}
IconArrow = "|TInterface\AddOns\ProfessionShoppingList\assets\UI-RaidFrame-Arrow-Cropped:0|t"
SettingsButton = Button {
}
}
L =
{
SETTINGS_COOLDOWNSWINDOW_TOOLTIP = "Open the tracking window on login when a cooldown is ready, in addition to the reminder via chat message."
SETTINGS_CATALYSTBUTTON_TITLE = "Show Catalyst Button"
ERROR_WARBANK = "Error: Can't create a Quick Order with items in the Warbank."
TRACK_NEW2 = "visible recipes for"
MILLING_MOP = "Misty Pigment: 25%, 50% from Fool's Cap
Shadow Pigment: 100%"
SETTINGS_REAGENTQUALITY_TITLE = "Minimum Reagent Quality"
SETTINGS_TOOLTIP = "|TInterface\TutorialFrame\UI-Tutorial-Frame:12:12:0:0:512:512:10:65:228:283|t|cffFFFFFF: Toggle the window.
|TInterface\TutorialFrame\UI-Tutorial-Frame:12:12:0:0:512:512:10:65:330:385|t: Open the settings."
RECIPE_UNLEARNED = "recipe not learned"
FALSE = "false"
MILLING_TBC = "Ebon Pigment: 25%
Nether Pigment: 100%"
READY = "Ready"
SETTINGS_CLOSEWHENDONE_TITLE = "Close Window When Done"
REGION = "Region"
SETTINGS_INCLUDE = "Include"
SETTINGS_PERSONALRECIPES_TITLE = "Track Recipes per Character"
MILLING_SL = "Tranquil Pigment: Nightshade
Luminous Pigment: Death Blossom, Rising Glory, Vigil's Torch
Umbral Pigment: Death's Blossom, Marrowroot, Widowbloom"
SETTINGS_PERSONALWINDOWS_TITLE = "Window Position per Character"
SETTINGS_CLEANBAG_TOOLTIP = "Let |cffC69B6DPSL|r enforce cleanup sorting direction.

  • Default means |cffC69B6DPSL|r won't touch the game's default behavior.
  • The other options let |cffC69B6DPSL|r enforce that particular setting."
    DEBUG_ENABLED = "Debug mode enabled."
    SETTINGS_PERSONALRECIPES_TOOLTIP = "Track recipes per character, instead of account wide."
    SETTINGS_ORIBOSEXCHANGEFIX_TOOLTIP = "Let |cffC69B6DPSL|r simplify and fix the tooltip provided by the Oribos Exchange AddOn:
  • Round to the nearest gold.
  • Fix recipe prices.
  • Fix profession window prices.
  • Show battle pet prices inside the existing tooltip."
    RECHARGED = "Fully recharged"
    SETTINGS_SLASH_TOGGLE = "Toggle the tracking window."
    ADDED_RECIPES1 = "Added"
    WINDOW_BUTTON_LOCK = "Lock the window."
    NOLASTORDER = "No last Quick Order found."
    WINDOW_HEADER_REAGENTS = "Reagents"
    MILLING_WOD = "Cerulean Pigment: 100%"
    BUTTON_LIGHTFORGE = "|TInterface\TutorialFrame\UI-Tutorial-Frame:12:12:0:0:512:512:10:65:228:283|t: Cast"
    MINUTES = "m"
    RECRAFT_TOOLTIP = "Select an item with a cached recipe to track it.
    To cache a recipe, open the profession the recipe belongs to on any character
    or view the item as a regular crafting order."
    SETTINGS_HEADER_TWEAKS = "Tweaks"
    SETTI
commented

@lilflea12 It probably happened when applying the enchant, the game considers that as casting a spell and that triggered PSL's code for when a known recipe is cast, and it got confused because there's no profession window open. This is fixed in the next release. :)