Can't import profiles #658


  • Accepted
  • Fixed
Closed
Assigned to michaelsp
  • Forge_User_49769366 created this issue Apr 29, 2019

    What version of Grid2 are you using? last

     

    What game client version (windows or mac) and language are you using ? windows French

     

    What steps will reproduce the problem? Try to import any profile

      
    Did you try having Grid2 as the only enabled addon and everything else disabled? Yes

      

    Was it working in a previous version? If yes, which was the last good one? First time i try GRID2

      

    Hello, I just tried to use grid2 and importing a profile but when i try to accept, i got a lua error (grid updted, only addon, reset profile via script)

     

    Thanks !

     

    This is the error i get :


     

    Message: ...ns\Grid2Options\modules\general\GridExportImport.lua:163: attempt to call method 'AddCustomLayouts' (a nil value)
    Time: Mon Apr 29 13:28:28 2019
    Count: 2
    Stack: ...ns\Grid2Options\modules\general\GridExportImport.lua:163: attempt to call method 'AddCustomLayouts' (a nil value)
    ...ns\Grid2Options\modules\general\GridExportImport.lua:163: in function <...ns\Grid2Options\modules\general\GridExportImport.lua:141>
    ...ns\Grid2Options\modules\general\GridExportImport.lua:224: in function <...ns\Grid2Options\modules\general\GridExportImport.lua:223>

    Locals: sender = "Holypalaswe"
    data = <table> {
    Grid2Frame = <table> {
    }
    Grid2AoeHeals = <table> {
    }
    @Grid2Layout = <table> {
    }
    Grid2 = <table> {
    }
    @Grid2Options = <table> {
    }
    Grid2RaidDebuffs = <table> {
    }
    Grid2Layout = <table> {
    }
    }
    Hex = true
    importCustomLayouts = true
    profileName = "Holypalaswe2"
    Success = true
    db = <table> {
    defaults = <table> {
    }
    global = <table> {
    }
    callbacks = <table> {
    }
    profile = <table> {
    }
    RegisterCallback = <function> defined @Interface\AddOns\Grid2\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
    RegisterDefaults = <function> defined @Interface\AddOns\Grid2\Libs\AceDB-3.0\AceDB-3.0.lua:398
    parent = <table> {
    }
    UnregisterCallback = <function> defined @Interface\AddOns\Grid2\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
    ResetProfile = <function> defined @Interface\AddOns\Grid2\Libs\AceDB-3.0\AceDB-3.0.lua:584
    keys = <table> {
    }
    sv = <table> {
    }
    profiles = <table> {
    }
    UnregisterAllCallbacks = <function> defined @Interface\AddOns\Grid2\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:174
    }
    customLayouts = <table> {
    Holypalaswe-5man = <table> {
    }
    Holypalaswe-40man = <table> {
    }
    Holypalaswe-20man = <table> {
    }
    Holypalaswe-30man = <table> {
    }
    }
    (*temporary) = nil
    (*temporary) = <table> {
    ReloadLayout = <function> defined @Interface\AddOns\Grid2\GridLayout.lua:373
    SetDefaultModuleLibraries = <function> defined @Interface\AddOns\Grid2\Libs\AceAddon-3.0\AceAddon-3.0.lua:367
    PlaceHeaders = <function> defined @Interface\AddOns\Grid2\GridLayout.lua:334
    EnableModule = <function> defined @Interface\AddOns\Grid2\Libs\AceAddon-3.0\AceAddon-3.0.lua:332
    modules = <table> {
    }
    baseName = "Grid2"
    Grid_GroupTypeChanged = <function> defined @Interface\AddOns\Grid2\GridLayout.lua:234
    groupsUsed = <table> {
    }
    relativePoints = <table> {
    }
    UpdateColor = <function> defined @Interface\AddOns\Grid2\GridLayout.lua:608
    UpdateHeaders = <function> defined @Interface\AddOns\Grid2\GridLayout.lua:362
    UpdateTheme = <function> defined @Interface\AddOns\Grid2\GridLayout.lua:221
    AddHeader = <function> defined @Interface\AddOns\Grid2\GridLayout.lua:414
    groupsFilters = <table> {
    }
    SetDefaultModulePrototype = <function> defined @Interface\AddOns\Grid2\Libs\AceAddon-3.0\AceAddon-3.0.lua:409
    SavePosition = <function> defined @Interface\AddOns\Grid2\GridLayout.lua:627
    customDefaults = <table> {
    }
    defaultModuleState = true
    Grid_RosterUpdate = <function> defined @Interface\AddOns\Grid2\GridLayout.lua:241
    IsEnabled = <function> defined @Interface\AddOns\Grid2\Libs\AceAddon-3.0\AceAddon-3.0.lua:451
    UpdateTextures = <function> defined @Interface\AddOns\Grid2\GridLayout.lua:603
    DisableModule = <function> defined @Interface\AddOns\Grid2\Libs\AceAddon-3.0\AceAddon-3.0.lua:350
    RestorePosition = <function> defined @Interface\AddOns\Grid2\GridLayout.lua:654
    StopMoveFrame = <function> defined @Interface\AddOns\Grid2\GridLayout.lua:275
    OnModuleDisable = <function> defined @Interface\AddOns\Grid2\GridLayout.lua:209
    instMaxGroups = 1
    FrameLock = <function> defined @Interface\AddOns\Grid2\GridLayout.lua:285
    FixRoster = <function> defined @Interface\AddOns\Grid2\GridLayout.lua:259
    OnModuleEnable = <function> defined @Interface\AddOns\Grid2\GridLayout.lua:199
    db = <table> {
    }
    groupFilters = <table> {
    }
    SetEnabledState = <function> defined @Interface\AddOns\Grid2\Libs\AceAddon-3.0\AceAddon-3.0.lua:424
    enabledState = true

     

     

  • michaelsp self-assigned this issue Apr 30, 2019
  • michaelsp added a tag Accepted Apr 30, 2019
  • michaelsp posted a comment Apr 30, 2019

    Revision 879 must fix the issue (As workaround you can uncheck the "Include custom layouts" option to avoid the error in Grid2 previous versions).

  • michaelsp added a tag Started Apr 30, 2019
  • Forge_User_49769366 posted a comment May 2, 2019

    thanks i'll tru 879 then

  • Forge_User_49769366 posted a comment May 2, 2019

    With last alpha version 879, i don't manage to have profile from https://pastebin.com/raw/PWhPv9F6 

     

    following those instructions : https://docs.google.com/spreadsheets/d/1kFtHOAWOF_l-6DyQGoJEJvbzqUE3LhQQqDpE8m58Z8o/edit#gid=943403862

  • michaelsp posted a comment May 2, 2019

    Importing that profile is working fine here. What is not working ? any error ?

  • Forge_User_49769366 posted a comment May 2, 2019

    I have no errors when i import but i didnt manage to have the entire configuration working. (For example when i try to holy shock myself, the glimmer of light buff icon and highlight does not appear.) I only have a "basic" raid frame. (Sorry for my english)

  • michaelsp posted a comment May 2, 2019

    I think the import process was sucesfull. This is a different issue, maybe your game is not in english ? Glimmer of light buff (and another buffs in that profile) was not created using the spell number, this means the the buff can only work in english client, because Glimmer of light is not the correct buff name in another languages.


    Edited May 2, 2019
  • Forge_User_49769366 posted a comment May 3, 2019

    Yes i think this is maybe the problem. I'll try to switch to spell number for every thing when i come back from work. Have a nice day

  • michaelsp closed issue May 3, 2019
  • michaelsp added a tag Fixed May 3, 2019
  • michaelsp removed a tag Started May 3, 2019

To post a comment, please login or register a new account.