alaTradeSkill

alaTradeSkill

453k Downloads

[Cata Classic] 240627-2 does not load at all.

Road-block opened this issue ยท 8 comments

commented
2x alaTradeSkill/init.lua:38: attempt to index local '__ala_meta__' (a nil value)
[string "@alaTradeSkill/init.lua"]:38: in main chunk

Locals:
__addon = "alaTradeSkill"
__private = <table> {
 MT = <table> {
 }
 VT = <table> {
 }
 CT = <table> {
 }
 DT = <table> {
 }
}
MT = <table> {
}
CT = <table> {
}
VT = <table> {
}
DT = <table> {
}
setfenv = <function> defined =[C]:-1
loadstring = <function> defined =[C]:-1
pcall = <function> defined =[C]:-1
xpcall = <function> defined =[C]:-1
geterrorhandler = <function> defined =[C]:-1
hooksecurefunc = <function> defined =[C]:-1
print = <function> defined @Blizzard_FrameXML/RestrictedInfrastructure.lua:123
date = <function> defined =[C]:-1
type = <function> defined =[C]:-1
tostring = <function> defined =[C]:-1
select = <function> defined =[C]:-1
setmetatable = <function> defined =[C]:-1
rawset = <function> defined =[C]:-1
next = <function> defined =[C]:-1
unpack = <function> defined =[C]:-1
tconcat = <function> defined =[C]:-1
strupper = <function> defined =[C]:-1
strsub = <function> defined =[C]:-1
strrep = <function> defined =[C]:-1
format = <function> defined =[C]:-1
IsLoggedIn = <function> defined =[C]:-1
SendChatMessage = <function> defined =[C]:-1
GetSpellInfo = <function> defined =[C]:-1
GetSpellCooldown = <function> defined =[C]:-1
IsAddOnLoaded = <function> defined =[C]:-1
CreateFrame = <function> defined =[C]:-1
GetTime = <function> defined =[C]:-1
_G = <table> {
 UpdateOnBarHighlightMarksBySpell = <function> defined @Blizzard_ActionBar/Classic/ActionButton.lua:70
 ERR_OUT_OF_CHI = "Not enough chi"
 DH_HAVOC_CORE_ABILITY_2 = "Strong melee attack that consumes Fury. If it critical strikes, some Fury is refunded."
 MultiCastActionButton6Cooldown = MultiCastActionButton6Cooldown {
 }
 SettingsSliderOptionsMixin = <table> {
 }
 GetTrainerServiceTypeFilter = <function> defined =[C]:-1
 UNIT_NAMES_COMBATLOG_TOOLTIP = "Color unit names."
 UNIT_NAMEPLATES_TYPE_TOOLTIP_3 = "This method avoids overlapping nameplates by spreading them out horizontally and vertically."
 SetTrainerServiceTypeFilter = <function> defined =[C]:-1
 LE_GAME_ERR_CHAT_RAID_RESTRICTED_TRIAL = 796
 SPELL_FAILED_CUSTOM_ERROR_71 = "This partygoer wants to dance with you."
 LE_GAME_ERR_PET_SPELL_TARGETS_DEAD = 412
 ERROR_CLUB_TICKET_COUNT_AT_MAX_COMMUNITY = "Can't create any more invite links for this group."
 CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture = CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture {
 }
 MultiCastActionButton2Cooldown = MultiCastActionButton2Cooldown {
 }
 ERR_TRADE_EQUIPPED_BAG = "You can't trade equipped bags."
 PVP_RANK_6_1 = "Corporal"
 MultiBarLeftButton7 = MultiBarLeftButton7 {
 }
 InterfaceOptionsNamesPanelUnitNameplatesShowAll = InterfaceOptionsNamesPanelUnitNameplatesShowAll {
 }
 VideoOptionsFrameDefaults = VideoOptionsFrameDefaults {
 }
 MerchantItem1AltCurrencyFrameItem1Text = MerchantItem1AltCurrencyFrameItem1Text {
 }
 OPTION_TOOLTIP_ACTION_BUTTON_USE_KEY_DOWN = "Action button keybinds will respond on key down, rather than on key up."
 BINDING_NAME_NAMEPLATES = "Show Enemy Name Plates"
 INSTANCE_UNAVAILABLE_OTHER_TEMPORARILY_DISABLED = "%s cannot enter. This instance is temporarily disabled."
 MultiBarBottomRightButton8Shine5 = MultiBarBottomRightButton8Shine5 {
 }
 MAIL_LETTER_TOOLTIP = "Click to make a permanent
copy of this letter."
 UnitFrameManaBar_UnregisterDefaultEvents = <function> defined @Blizzard_UnitFrame/Classic/UnitFrame.lua:776
 CALENDAR_RAID_RESET_DESCRIPTION = "%1$s resets at %2$s."
 CHAT_CONFIG_OTHER_COMBAT = <table> {
 }
 CONSOLIDATED_BUFFS_PER_ROW = 4
 MoneyFrame_OnEvent = <function> defined @Blizzard_MoneyFrame/Classic/MoneyFrame.lua:232
 BN_UNABLE_TO_RESOLVE_NAME = "Unable to whisper '%s'. Blizzard services may be unavailable."
 CinematicFrameRaidBossEmoteFrame = CinematicFrameRaidBossEmoteFrame {
 }
 CompactRaidFrameManagerDisplayFrameHiddenModeToggleTopRight = CompactRaidFrameManagerDisplayFrameHiddenModeToggleTopRight {
 }
 LFGTeleport = <function> defined =[C]:-1
 LE_GAME_ERR_ONLY_ONE_QUIVER = 33
 INT_SPELL_DURATION_HOURS = "%d |4hour:hrs;"
 SLASH_LibQTip1 =
commented

10 more errors follow in other files but I don't think there's much point posting them.
I'm guessing that __ala_meta__ is pretty important and not having it causes all the other errors.

commented

Same issue here in Classic SoD.

commented

@Road-block Didn't work, just gives a different set of errors.

The easiest way to have a working version is to revert to the previous one.
If you're using Curseforge App, find the addon in your list click it, click versions tab > install the previous one.

If you insist on having the latest fixed

  1. Download from source https://github.com/alexqu0822/alaTradeSkill/archive/refs/heads/master.zip
  2. Extract the contents of the alaTradeskill-master folder in the .zip into your AddOns\alaTradeSkill\ folder answering Yes to overwrite all.
  3. Do the edit above.
commented

Reverting to the previous version was the first thing I tried last night but it wouldn't show up in the list of installed AddOns. Tried reverting again just now and its working.

commented

Same issue here in Classic SoD.

You can revert to previous version that still works, or you can fix this version locally with a simple edit.

I'm going to guess that the global in question is also used in one of his other addons or a UI and that's why he didn't notice he broke alaTradeSkill.

Would be nice if the addon was tested standalone before a new package is posted for everyone to download.

The fix for this version is opening Init.lua and adding a new line above local __ala_meta__ = _G.__ala_meta__;
that reads

_G.__ala_meta__ = _G.__ala_meta__ or { };

Save the file and restart the game.

commented

@Road-block Didn't work, just gives a different set of errors.

commented

Latest curseforge package fixed this ๐Ÿ‘๐Ÿป

commented

something was wrong with my network, so I cannont update the latest files on curse.
Here git version runs ok.