BonusRollPreview

BonusRollPreview

666k Downloads

attempt to index global 'BonusRollPreviewDB' (a nil value)

class2u opened this issue ยท 3 comments

commented
  • What version are you using?
    80100.47-Release

  • Can the issue be reproduced, and if so, how?
    Delete BonusRollPreview.lua in SavedVariables folder and then start WoW.

The content of BonusRollPreview.lua in SavedVariables folder has only one line:
BonusRollPreviewDB = nil

  • If there was an error message, please include it.

1x BonusRollPreview\BonusRollPreview-80100.47-Release.lua:121: attempt to index global 'BonusRollPreviewDB' (a nil value)
BonusRollPreview\BonusRollPreview-80100.47-Release.lua:121: in function <BonusRollPreview\BonusRollPreview.lua:54>

Locals:
self = BonusRollPreview {
UpdateHandlePosition = defined @BonusRollPreview\BonusRollPreview.lua:244
buttons =

{
}
StartEncounter = defined @BonusRollPreview\BonusRollPreview.lua:125
OnLoad = defined @BonusRollPreview\BonusRollPreview.lua:37
RegisterSafeEvent = defined @BonusRollPreview\BonusRollPreview.lua:225
0 =
UpdateItemFilter = defined @BonusRollPreview\BonusRollPreview.lua:215
OnEvent = defined @BonusRollPreview\BonusRollPreview.lua:54
ToggleLock = defined @BonusRollPreview\BonusRollPreview.lua:286
UpdatePosition = defined @BonusRollPreview\BonusRollPreview.lua:275
UpdateItems = defined @BonusRollPreview\BonusRollPreview.lua:133
DisableScrolling = defined @BonusRollPreview\BonusRollPreview.lua:305
Toggle = defined @BonusRollPreview\BonusRollPreview.lua:312
EnableScrolling = defined @BonusRollPreview\BonusRollPreview.lua:291
UnregisterSafeEvent = defined @BonusRollPreview\BonusRollPreview.lua:235
ScrollFrame = {
}
}
event = "PLAYER_LOGIN"
(*temporary) = defined =[C]:-1
(*temporary) = BonusRollPreviewAnchor {
0 =
}
(*temporary) = defined =[C]:-1
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'BonusRollPreviewDB' (a nil value)"
tSize = defined @BonusRollPreview\BonusRollPreview.lua:26
query =
{
}
LE_SPELL_CONFIRMATION_PROMPT_TYPE_BONUS_ROLL = 1
ignoredSpells =
{
240052 = true
240042 = true
232109 = true
240048 = true
}
EJ =
{
GetJournalInfoForSpellConfirmation = defined @BonusRollPreview\libs\EJ_Ext\EJ_Ext.lua:183
}

commented

Thanks, I'll take a look at it.

commented

Can't seem to replicate this issue, so let's narrow it down.

  1. How did you install this addon? (and from where)
  2. Have you set to un-embed libraries?
    • Check if Wasabi is present within the libs subdirectory of BonusRollPreview.
commented

I reinstalled and it works fine now.

I just found out that this is my fault. I try to localize the name of option panel via adding code in Options.lua cause this error:
Options.name = L['BonusRollPreview']

Thank you for your attention and sorry for this.