Keystone Percentage Helper

Keystone Percentage Helper

588 Downloads

[Bug] /kph not working

TemporalSpleen opened this issue ยท 9 comments

commented

I cannot get the gui to show with the slash command. Tried disabling all other addons in case there was a conflict and same results.

BugSack shows the following

8x ...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:7: Cannot find a library instance of "AceGUI-3.0".
[C]: in function 'error'
[BugSack/Libs/LibStub/LibStub.lua]:38: in function 'LibStub'
[KeystonePercentageHelper/Libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua]:7: in main chunk

Locals:
(*temporary) = "Cannot find a library instance of "AceGUI-3.0"."

and

8x ...aceKeystonePercentageHelper/locales/enUS.lua:4: Cannot find a library instance of "AceLocale-3.0".
[C]: in function 'error'
[BugSack/Libs/LibStub/LibStub.lua]:38: in function 'GetLibrary'
[KeystonePercentageHelper/locales/enUS.lua]:4: in main chunk

Locals:
(*temporary) = "Cannot find a library instance of "AceLocale-3.0"."

with similar bugs repeated for different localisation lua files

commented

Awesome, I'll push that emergency fix to curseforge, thank you a lot for the valuable help !

commented

That seems to have fixed it! No more bugs showing, the slash command works, and everything else with the addon seems to be working perfectly. Thanks for the quick fix!

commented

Heya, sorry for the issue, can you try and download this zip file and replace KPH with this zip and tell me if you still have errors ?

KeystonePercentageHelper-1.3-fix2.zip

Thank you.

commented

Hey, thanks for the quick reply. Tried with the replacement files, same issue but different error:

1x KeystonePercentageHelper/core.lua:8: Usage: EmbedLibrary(addon, libname, silent, offset): 'libname' - Cannot find a library instance of "AceConsole-3.0".
[C]: ?
[KeystonePercentageHelper/Libs/AceAddon-3.0-13/AceAddon-3.0.lua]:185: in function 'EmbedLibrary'
[KeystonePercentageHelper/Libs/AceAddon-3.0-13/AceAddon-3.0.lua]:167: in function 'EmbedLibraries'
[KeystonePercentageHelper/Libs/AceAddon-3.0-13/AceAddon-3.0.lua]:134: in function 'NewAddon'
[KeystonePercentageHelper/core.lua]:8: in main chunk

Locals:
(*temporary) = "Usage: EmbedLibrary(addon, libname, silent, offset): 'libname' - Cannot find a library instance of "AceConsole-3.0"."

commented

That's the way, try this Zip and tell me :

KeystonePercentageHelper-1.3-fix2.zip

commented

New error:

1x KeystonePercentageHelper/core.lua:8: Usage: EmbedLibrary(addon, libname, silent, offset): 'libname' - Cannot find a library instance of "AceEvent-3.0".
[C]: ?
[KeystonePercentageHelper/Libs/AceAddon-3.0-13/AceAddon-3.0.lua]:185: in function 'EmbedLibrary'
[KeystonePercentageHelper/Libs/AceAddon-3.0-13/AceAddon-3.0.lua]:167: in function 'EmbedLibraries'
[KeystonePercentageHelper/Libs/AceAddon-3.0-13/AceAddon-3.0.lua]:134: in function 'NewAddon'
[KeystonePercentageHelper/core.lua]:8: in main chunk

Locals:
(*temporary) = "Usage: EmbedLibrary(addon, libname, silent, offset): 'libname' - Cannot find a library instance of "AceEvent-3.0"."

commented

Ok we might be seeing the end of the tunnel, sorry I'm not home so can't do proper testing so I'm using you as a tester for an emergency fix haha

KeystonePercentageHelper-1.3-fix2.zip

commented

That's no worries, I've got a lot of use out of the old weakaura version so happy to help.

Bit of a long one this time, I assume the relevant bit is at the start but here's the full thing anyway.

3x KeystonePercentageHelper/options.lua:252: attempt to index global 'AceGUIWidgetLSMlists' (a nil value)
[KeystonePercentageHelper/options.lua]:252: in function 'GetFontOptions'
[KeystonePercentageHelper/core.lua]:191: in function <KeystonePercentageHelper/core.lua:29>
[C]: ?
[Accountant/Libs/AceAddon-3.0-13/AceAddon-3.0.lua]:66: in function <Accountant/Libs/AceAddon-3.0/AceAddon-3.0.lua:61>
[Accountant/Libs/AceAddon-3.0-13/AceAddon-3.0.lua]:494: in function 'InitializeAddon'
[Accountant/Libs/AceAddon-3.0-13/AceAddon-3.0.lua]:619: in function <Accountant/Libs/AceAddon-3.0/AceAddon-3.0.lua:611>

Locals:
self =

{
BFA_DEFAULTS =
{
}
modules =
{
}
baseName = "KeystonePercentageHelper"
CATACLYSM_DUNGEON_IDS =
{
}
SL_DUNGEON_IDS =
{
}
LEGION_DUNGEON_IDS =
{
}
BFA_DUNGEON_IDS =
{
}
defaultModuleState = true
SEASON_START_DATES =
{
}
BFA_DUNGEONS =
{
}
db =
{
}
TWW_2_DUNGEONS =
{
}
enabledState = true
LEGION_DUNGEONS =
{
}
anchorFrame = KeystonePercentageHelperAnchorFrame {
}
displayFrame = KeystonePercentageHelperFrame {
}
CATACLYSM_DUNGEONS =
{
}
Changelog =
{
}
TWW_DEFAULTS =
{
}
changelogOptions =
{
}
defaultModuleLibraries =
{
}
currentSection = 1
CATACLYSM_DEFAULTS =
{
}
SL_DUNGEONS =
{
}
TWW_1_DUNGEONS =
{
}
name = "KeystonePercentageHelper"
orderedModules =
{
}
LSM =
{
}
LEGION_DEFAULTS =
{
}
TWW_DUNGEON_IDS =
{
}
constants =
{
}
currentDungeonID = 0
TWW_DUNGEONS =
{
}
DUNGEONS =
{
}
L =
{
}
SL_DEFAULTS =
{
}
defaults =
{
}
overlayFrame = KeystonePercentageHelperOverlay {
}
}
self =
{
BFA_DEFAULTS =
{
}
modules =
{
}
baseName = "KeystonePercentageHelper"
CATACLYSM_DUNGEON_IDS =
{
}
SL_DUNGEON_IDS =
{
}
LEGION_DUNGEON_IDS =
{
}
BFA_DUNGEON_IDS =
{
}
defaultModuleState = true
SEASON_START_DATES =
{
}
BFA_DUNGEONS =
{
}
db =
{
}
TWW_2_DUNGEONS =
{
}
enabledState = true
LEGION_DUNGEONS =
{
}
anchorFrame = KeystonePercentageHelperAnchorFrame {
}
displayFrame = KeystonePercentageHelperFrame {
}
CATACLYSM_DUNGEONS =
{
}
Changelog =
{
}
TWW_DEFAULTS =
{
}
changelogOptions =
{
}
defaultModuleLibraries =
{
}
currentSection = 1
CATACLYSM_DEFAULTS =
{
}
SL_DUNGEONS =
{
}
TWW_1_DUNGEONS =
{
}
name = "KeystonePercentageHelper"
orderedModules =
{
}
LSM =
{
}
LEGION_DEFAULTS =
{
}
TWW_DUNGEON_IDS =
{
}
constants =
{
}
currentDungeonID = 0
TWW_DUNGEONS =
{
}
DUNGEONS =
{
}
L =
{
}
SL_DEFAULTS =
{
}
defaults =
{
}
overlayFrame = KeystonePercentageHelperOverlay {
}
}
(*temporary) =
{
type = "group"
name = "Font"
order = 5.500000
inline = true
}
(*temporary) =
{
}
(*temporary) =
{
type = "select"
name = "Font"
order = 1
dialogControl = "LSM30_Font"
}
(*temporary) = nil
(*temporary) = "attempt to index global 'AceGUIWidgetLSMlists' (a nil value)"
KeystonePercentageHelper =
{
BFA_DEFAULTS =
{
}
modules =
{
}
baseName = "KeystonePercentageHelper"
CATACLYSM_DUNGEON_IDS =
{
}
SL_DUNGEON_IDS =
{
}
LEGION_DUNGEON_IDS =
{
}
BFA_DUNGEON_IDS =
{
}
defaultModuleState = true
SEASON_START_DATES =
{
}
BFA_DUNGEONS =
{
}
db =
{
}
TWW_2_DUNGEONS =
{
}
enabledState = true
LEGION_DUNGEONS =
{
}
anchorFrame = KeystonePercentageHelperAnchorFrame {
}
displayFrame = KeystonePercentageHelperFrame {
}
CATACLYSM_DUNGEONS =
{
}
Changelog =
{
}
TWW_DEFAULTS =
{
}
changelogOptions =
{
}
defaultModuleLibraries =
{
}
currentSection = 1
CATACLYSM_DEFAULTS =
{
}
SL_DUNGEONS =
{
}
TWW_1_DUNGEONS =
{
}
name = "KeystonePercentageHelper"
orderedModules =
{
}
LSM =
{
}
LEGION_DEFAULTS =
{
}
TWW_DUNGEON_IDS =
{
}
constants =
{
}
currentDungeonID = 0
TWW_DUNGEONS =
{
}
DUNGEONS =
{
}
L =
{
}
SL_DEFAULTS =
{
}
defaults =
{
}
overlayFrame = KeystonePercentageHelperOverlay {
}
}
L =
{
DFC_BOSS2 = "Blazikon"
EXPANSION_LEGION = "Legion"
EXPORT_DUNGEON = "Export Dungeon"
ToP_BOSS2 = "Gorechop"
OFG_BOSS2 = "Demolition Duo"
COL

commented

We are progressing, thanks a lot for the help !

KeystonePercentageHelper-1.3-fix2.zip