Neuron

Neuron

98.2k Downloads

Profile Switching

Xurkon opened this issue ยท 4 comments

commented

When switching profiles this bug report pops up, forgive the excess amount of addons I use as it may or may not be part of the problem. Also would love to see a feature to switch profiles based on spec change and the ability to lock buttons keybinds specific to the spec so I can have different layouts and keybinds for each spec.

Date: 2018-02-16 21:39:35
ID: 2
Error occured in: Global
Count: 1
Message: ..\AddOns\Neuron\Neuron.lua line 2156:
   attempt to call global 'StatusProfileUpdate' (a nil value)
Debug:
   (tail call): ?
   Neuron\Neuron.lua:2156: ?()
   ...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:145:
      ...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:145
   [string "safecall Dispatcher[3]"]:4:
      [string "safecall Dispatcher[3]"]:4
   [C]: ?
   [string "safecall Dispatcher[3]"]:13: ?()
   ...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:90: Fire()
   Ace3\AceDB-3.0\AceDB-3.0.lua:466: SetProfile()
   ...ce\AddOns\Ace3\AceDBOptions-3.0\AceDBOptions-3.0.lua:275:
      ...ce\AddOns\Ace3\AceDBOptions-3.0\AceDBOptions-3.0.lua:274
   (tail call): ?
   [C]: ?
   [string "safecall Dispatcher[3]"]:9:
      [string "safecall Dispatcher[3]"]:5
   (tail call): ?
   ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:813:
      ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:639
   (tail call): ?
   [C]: ?
   [string "safecall Dispatcher[3]"]:9:
      [string "safecall Dispatcher[3]"]:5
   (tail call): ?
   Ace3\AceGUI-3.0\AceGUI-3.0.lua:314: Fire()
   ...ns\Ace3\AceGUI-3.0\widgets\AceGUIWidget-DropDown.lua:442:
      ...ns\Ace3\AceGUI-3.0\widgets\AceGUIWidget-DropDown.lua:433
   (tail call): ?
   [C]: ?
   [string "safecall Dispatcher[3]"]:9:
      [string "safecall Dispatcher[3]"]:5
   (tail call): ?
   Ace3\AceGUI-3.0\AceGUI-3.0.lua:314: Fire()
   ...3\AceGUI-3.0\widgets\AceGUIWidget-DropDown-Items.lua:351:
      ...3\AceGUI-3.0\widgets\AceGUIWidget-DropDown-Items.lua:341
Locals:
None
AddOns:
  LibUIDropDownMenu, vv1.07.7030024931
  Swatter, v7.3.1 (<%codename%>)
  NPCScanOverlay, v7.3.0.1
  AccountantClassic, vr287
  Ace3, v
  AckisRecipeList, v7.3.0.1
  AckisRecipeListQuickScan, v7.3.0.1
  ACP, vr250 
  AdvancedInterfaceOptions, v1.2.2
  AethysCache, v7.3.2.03
  AethysCore, v7.3.2.03
  AethysRotation, v7.3.2.03
  Altoholic, vr183
  ArkInventory, v30741
  ArkInventoryRules, v10003
  ArtifactPowerUser, v3.1
  Auctionator, v4.0.19
  BigWigs, vv88-3-ga74c0ee
  CanIMogIt, v7.3.2v1.6
  CecileRecipeTooltip, v1.1.2.release
  CecileRecipeTooltipAlchemy, v1.1.2.release
  CecileRecipeTooltipBlacksmithing, v1.1.2.release
  CecileRecipeTooltipCooking, v1.1.2.release
  CecileRecipeTooltipEnchanting, v1.1.2.release
  CecileRecipeTooltipEngineering, v1.1.2.release
  CecileRecipeTooltipFirstAid, v1.1.2.release
  CecileRecipeTooltipInscription, v1.1.2.release
  CecileRecipeTooltipJewelcrafting, v1.1.2.release
  CecileRecipeTooltipLeatherworking, v1.1.2.release
  CecileRecipeTooltipTailoring, v1.1.2.release
  ClassOrderHallsComplete, v1.29
  Collectinator, v7.2.5.1-4-g9c51544
  CollectionShop, v2.06
  DataStore, vr64
  DataStoreAchievements, vr46
  DataStoreAgenda, vr26
  DataStoreAuctions, vr49
  DataStoreCharacters, vr41
  DataStoreContainers, vr57
  DataStoreCrafts, vr78
  DataStoreCurrencies, vr36
  DataStoreGarrisons, vr22
  DataStoreInventory, vr51
  DataStoreMails, vr50
  DataStorePets, vr43
  DataStoreQuests, vr43
  DataStoreReputations, vr41
  DataStoreSpells, vr31
  DataStoreStats, vr30
  DataStoreTalents, vr60
  DejaCharacterStats, v735b100
  Dejunk, v7.3.16
  Details, v
  DetailsChartViewer, v
  DetailsDeathGraphs, v
  DetailsDmgRank, v
  DetailsDpsTuning, v
  DetailsEncounterDetails, v
  DetailsRaidCheck, v
  DetailsRaidInfoEmeraldNightmare, v
  DetailsRaidInfoNighthold, v
  DetailsRaidInfoTombOfSargeras, v
  DetailsRaidInfoTrialOfValor, v
  DetailsRaidPowerBars, v
  DetailsStreamer, v
  DetailsTargetCaller, v
  DetailsTimeAttack, v
  DetailsTimeLine, v
  DetailsTinyThreat, v
  DetailsVanguard, v
  EasyObliterate, v30
  EasyDeleteConfirm, v
  EasyLoot, v3.3.1
  EskaQuestTracker, v1.6.16
  ExRT, v3910
  FarmHud, v7.2-release2
  FasterLoot, v2.00
  FishingBuddy, v1.8.1 Beta 4
  GatherMate2, v1.41-1-g387a32f
  GladiatorlosSA2, v1.17
  GotAnswers, v1.2.3
  GreenWall, v1.9.0
  GTFO, v4.44.3
  HandyNotes, vv1.4.15
  HandyNotesAncientShrines, v2.0
  HandyNotesArgus, vv0.07
  HandyNotesAzerothsTopTunes, vv1.2.1
  HandyNotesBrokenShore, vv1.23
  HandyNotesDraenorTreasures, v1.20a
  HandyNotesDungeonLocations, v1.27
  HandyNotesEverShiftingMirror, v1.0.3
  HandyNotesFieldPhotographer, v7.3.5.0
  HandyNotesHallowsEnd, vv1.2.8
  HandyNotesHigherDimensionalLearning, v1
  HandyNotesHigherLearning, v7.1.0.0
  HandyNotesLegionClassOrderHalls, vv1.25
  HandyNotesLegionInstanceWorldQuests, vv1.11
  HandyNotesLegionMagePortals, v1.1
  HandyNotesLegionTownPortals, v0.0.1
  HandyNotesLegionTreasures, v1
  HandyNotesLongForgottenHippogryph, v1
  HandyNotesLorewalkers, v1
  HandyNotesLostAndFound, v1
  HandyNotesLunarFestival, vv1.4.4-3-gdbba26e
  HandyNotesPandariaTreasures, v1.06
  HandyNotesPetDailies, v
  HandyNotesSummerFestival, vv1.4.1
  HandyNotesSuramarShalAranTelemancy, vv1.15
  HandyNotesSuramarTelemancy, v1
  HandyNotesTimelessIsleChests, v1.18
  HandyNotesTimelessTreasures, v1.0.7
  HandyNotesTravelGuide, vv1.7
  HandyNotesTreasureHunter, v1
  HandyNotesWellRead, v7.3.5.0
  HandyNotesWitheredChests, v1.2
  KuiMedia, v
  KuiNameplates, v
  KuiNameplatesCore, v
  LegendaryProgressTracker, v0.3.12
  LegionInvasionTimer, vv7.3.0
  LegionWardrobe, v29
  LFRAdvanced, v7.3.2.25549
  LibBabbleSubZone30, v
  LibDFramework10, v
  LibExtraTip, v5.12.DEV.435(/embedded)
  LootAppraiser, v2017.v1.7.1
  LootWonAlertHiderMover, v1.14.02-1-gce70948
  Mapster, v1.7.6
  MasterPlanA, vA
  MBB, v
  MikScrollingBattleText, v5.7.148
  MogIt, v3.8.4
  MogItCloth, v3.8.4
  MogItOneHanded, v3.8.4
  MogItOther, v3.8.4
  MogItRanged, v3.8.4
  MogItSetTransmog, v1.5.2
  MogItTwoHanded, v3.8.4
  mOnArsWardrobeHelper, v1.17.1
  Neuron, v0.9.17
  NeuronBag, v0.9.17
  NeuronMenu, v0.9.17
  NeuronPet, v0.9.17
  NomiCakes, v7.3.0.1
  NPCScan, v7.3.5.2
  Overachiever, v0.99.10
  Pawn, v2.2.18
  PetFarmHelper, v7.3.0
  PhoenixStyle, v
  PhoenixStyleLoaderCata, v
  PLoop, vv190
  Postal, vr404
  Prat30, vr1082      
  Prat30Libraries, v
  ProfilesActionBars, vv2.15.73
  QOLBloodTrader, v
  Quartz, v3.3.6
  Rarity, v1.0
  RarityOptions, v
  Raven, v
  Rematch, v4.7.11
  RematchTSMPetValues, v0.1.6
  RematchCelestialTournament, v0.9.5
  Routes, vv1.5.7a
  Scorpio, vv016
  ServerHop, v7.3.0.1
  SexyMap, vv7.3.0
  SmartQuestTracker, v2.0.11
  TheUndermineJournal, v5.4.20180210
  TipTac, v17.10.10
  TipTacItemRef, v17.10.10
  TipTacTalents, v17.10.10
  TomTom, vv70300-1.0.0
  TradeSkillInfo, vv2.4.1
  TradeSkillMaster, vv3.6.40
  TradeSkillMasterAccounting, vv3.0.20
  TradeSkillMasterAppHelper, vv3.0.4
  TradeSkillMasterAuctionDB, vv3.1.18
  TradeSkillMasterAuctioning, vv3.0.16
  TradeSkillMasterCrafting, vv3.2.5
  TradeSkillMasterDestroying, vv3.1.7
  TradeSkillMasterMailing, vv3.0.18
  TradeSkillMasterShopping, vv3.4.7
  TradeSkillMasterVendoring, vv3.0.7
  TradeSkillMasterWarehousing, vv3.0.8
  TransmogHeadsUp, v1.6
  TransmogTokens, v1.4.8
  WardrobeAchiever, v2.0.1
  WeakAuras, v2.5.6-21-g86d2bda
  WeakAurasVoice, v1.0.1
  WorldQuestAssistant, v0.4.2
  WorldQuestsList, v50
  WorldQuestTab, v7.3.02e
  WorldQuestTracker, v
  WQGroupie, v1.2
  ZPerl, v5.4.6
  ZPerlArcaneBar, v
  ZPerlParty, v
  ZPerlPartyPet, v
  ZPerlPlayer, v
  ZPerlPlayerBuffs, v
  ZPerlPlayerPet, v
  ZPerlTarget, v
  ZPerlTargetTarget, v
  ZygorGuidesViewer, v6.1
  BlizRuntimeLib_enUS v7.3.5.70300 <none>
  (ck=166d)

commented

Awesome, thanks for the command....

commented

Not sure if I should create a new post for this or not but it's related. Since we don't have this feature yet, it would be helpful to have the ability to switch profiles and reload via a command that I could macro, this way I'm not missing queue's if I have to switch from tank to heals and vice versa.

commented

You can always use this, I think it will work but I'm at work so I can't test it atm:

/run ((LibStub("AceAddon-3.0"):GetAddon("Neuron")).db):SetProfile("ProfileName")

I'll look at this bug tonight to see if I can replicate it

commented

Are you still having this issue? "StatusProfileUpdate" is a function that was removed quite a while ago, which is odd that you're having a lua error resulting from that. Do you have the most up-to-date version of Neuron? Did you install through curse or manually?