Coder Social home page Coder Social logo

improvedaddonlist's People

Contributors

kittenball avatar

Stargazers

 avatar

Watchers

 avatar

improvedaddonlist's Issues

LUA error since 10.0.0 patch - nil 'entry' at 302

I just picked up this addon, I have so many addons that are still out of date and slowly being updated that I wanted more control over the loadout so was hoping this would help with my troubleshooting. However, when I log in I'm getting the error below. I tried protecting against nils in the function call (that and the other function that took an 'entry' parameter) which allowed the addon to load without error but I'm getting a new error when I try to save to a new layout, I'll report that separately. I'll poke around a bit more to see if I can make it functional but I'm guessing there's more wrong after the patch than I'll be able to fix.

I also have no idea why there'd be a nil result in the addon list, could be an in-game bug.

1x ...rface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:302: attempt to index local 'entry' (a nil value)
[string "@Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua"]:302: in function ShowMemoryUsage' [string "@Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua"]:295: in function <...rface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:282> [string "=[C]"]: in function AddonList_Update'
[string "@Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua"]:227: in function RefreshDropDownAndList' [string "@Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua"]:220: in function InitUI'
[string "@Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua"]:116: in function <...rface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:112>
[string "=(tail call)"]: ?

Locals:
self =

{
GetAllAddons = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:560
OnAddonTooltipUpdate = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:238
OnAddonListShow = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:231
OnConfigurationSelected = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:167
ResetAll = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:127
IsConfigurationGlobal = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:541
PLAYER_FLAGS_CHANGED = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:206
OnAddonListUpdate = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:282
OnInputDialogConfirm = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:414
CheckConfigurationCondition = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:393
CheckDistinct = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:536
ShowError = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:24
ShowConfigurationSwitchPromptDialog = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:468
DeleteConfiguration = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:385
ResetConfiguration = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:361
ExportAddonListWithBBSCode = defined @Interface/AddOns/ImprovedAddonList/Export.lua:14
GetPlayerInfos = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:224
LastUpdateMemoryUsageTime = 66563.265000
OnDropDownMenuInitialize = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:158
GetExportAddonData = defined @Interface/AddOns/ImprovedAddonList/Export.lua:147
CreateExportDialog = defined @Interface/AddOns/ImprovedAddonList/Export.lua:98
ExportAddonListWithMarkDown = defined @Interface/AddOns/ImprovedAddonList/Export.lua:61
Frame = Frame {
}
ExportAddonList = defined @Interface/AddOns/ImprovedAddonList/Export.lua:4
ShowOrHideInputDialog = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:394
ShowRemark = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:319
IsCurrentConfiguration = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:570
ADDON_LOADED = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:112
OnTipsButtonClick = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:339
GetEnabledAddons = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:547
GetConfiguration = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:594
IsConfigurationMeetCondition = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:376
ShowMemoryUsage = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:301
SaveConfiguration = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:344
PLAYER_LOGIN = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:174
GetConfigurationWithConditions = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:346
MustbeSaveToGlobal = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:287
GetClassAndSpecInfos = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:237
InitConditionContent = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:211
PLAYER_SPECIALIZATION_CHANGED = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:199
PLAYER_ENTERING_WORLD = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:195
ResetConditions = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:362
GetConfigurations = <f

LUA error since 10.0.0 patch - nil 'TitleText' at 404 (406 in mine)

After hopefully working around the nil 'entry' issue from the other report, I tried saving a new layout and got this error. In the original code it would be line 404 but it's 406 in mine due to the two lines I added to avoid nils in the other scenario.

For this one, commenting out the two .TitleText:SetText lines seems to work and just displays the dialog without the title, possibly TitleText requires explicit declaration now or something if it didn't before?

2x ...rface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:406: attempt to index field 'TitleText' (a nil value)
[string "@Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua"]:406: in function `ShowOrHideInputDialog'
[string "@Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua"]:383: in function <...rface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:373>

Locals:
self =

{
GetAllAddons = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:562
OnAddonTooltipUpdate = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:238
OnAddonListShow = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:231
OnConfigurationSelected = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:167
ResetAll = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:127
IsConfigurationGlobal = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:543
PLAYER_FLAGS_CHANGED = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:206
OnAddonListUpdate = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:282
OnInputDialogConfirm = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:416
CheckConfigurationCondition = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:393
CheckDistinct = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:538
ShowError = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:24
ShowConfigurationSwitchPromptDialog = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:468
DeleteConfiguration = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:387
ResetConfiguration = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:363
ExportAddonListWithBBSCode = defined @Interface/AddOns/ImprovedAddonList/Export.lua:14
GetPlayerInfos = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:224
LastUpdateMemoryUsageTime = 67065.744000
OnDropDownMenuInitialize = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:158
GetExportAddonData = defined @Interface/AddOns/ImprovedAddonList/Export.lua:147
CreateExportDialog = defined @Interface/AddOns/ImprovedAddonList/Export.lua:98
ExportAddonListWithMarkDown = defined @Interface/AddOns/ImprovedAddonList/Export.lua:61
Frame = Frame {
}
ExportAddonList = defined @Interface/AddOns/ImprovedAddonList/Export.lua:4
ShowOrHideInputDialog = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:396
ShowRemark = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:321
IsCurrentConfiguration = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:572
ADDON_LOADED = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:112
OnTipsButtonClick = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:341
GetEnabledAddons = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:549
GetConfiguration = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:596
IsConfigurationMeetCondition = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:376
ShowMemoryUsage = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:303
SaveConfiguration = defined @Interface/AddOns/ImprovedAddonList/ImprovedAddonList.lua:346
PLAYER_LOGIN = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:174
GetConfigurationWithConditions = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:346
MustbeSaveToGlobal = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:287
GetClassAndSpecInfos = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:237
InitConditionContent = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:211
PLAYER_SPECIALIZATION_CHANGED = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:199
PLAYER_ENTERING_WORLD = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:195
ResetConditions = defined @Interface/AddOns/ImprovedAddonList/Condition.lua:362
GetConfigurations = <f

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.