WeakAuras

WeakAuras

206M Downloads

5.12.7-11-gb70c074 Archivist & Modernize errors

Road-block opened this issue ยท 3 comments

commented

Is there an existing issue for this?

  • I have searched the existing open and closed issues.

Description

They are load time errors

WeakAuras Version

5.12.7-11-gb70c074 (alpha)

World of Warcraft Flavor

Classic

World of Warcraft Region

EU

Tested with only WeakAuras

I got this issue with only WeakAuras enabled

Lua Error

1x WeakAuras/Libs/Archivist/Archivist.lua:207: Store Type "ReadOnly" produced an store object already registered with Archivist instead of creating a new one.
[string "=[C]"]: in function `error'
[string "@WeakAuras/Libs/Archivist/Archivist.lua"]:53: in function `Assert'
[string "@WeakAuras/Libs/Archivist/Archivist.lua"]:207: in function `Create'
[string "@WeakAuras/ArchiveTypes/Repository.lua"]:27: in function `Set'
[string "@WeakAuras/ArchiveTypes/Repository.lua"]:68: in function `Set'
[string "@WeakAuras/History.lua"]:71: in function `SetMigrationSnapshot'
[string "@WeakAuras/WeakAuras.lua"]:3171: in function `Add'
[string "@WeakAuras/WeakAuras.lua"]:2636: in function `AddMany'
[string "@WeakAuras/WeakAuras.lua"]:1246: in function <WeakAuras/WeakAuras.lua:1214>

[string "@WeakAuras/WeakAuras.lua"]:1373: in function <WeakAuras/WeakAuras.lua:1321>

Locals:
self = Frame {
 0 = <userdata>
}
event = "PLAYER_LOGIN"
addon = nil
dbIsValid = true
takeNewSnapshots = true
ADDON_NAME = "WeakAuras"
db = <table> {
 dynamicIconCache = <table> {
 }
 editor_tab_spaces = 4
 editor_font_size = 12
 features = <table> {
 }
 displays = <table> {
 }
 login_squelch_time = 10
 lastArchiveClear = 1579453693
 minimap = <table> {
 }
 lastUpgrade = 1712581600
 dbVersion = 73
 migrationCutoff = 730
 registered = <table> {
 }
 historyCutoff = 730
 clearOldHistory = 30
 editor_theme = "Monokai"
}
Private = <table> {
 HandleGlowAction = <function> defined @WeakAuras/WeakAuras.lua:3604
 frame_strata_types = <table> {
 }
 DisplayToString = <function> defined @WeakAuras/Transmission.lua:357
 combat_event_type = <table> {
 }
 regions = <table> {
 }
 frameLevels = <table> {
 }
 CheckItemSlotCooldowns = <function> defined @WeakAuras/GenericTrigger.lua:3082
 InitializeEncounterAndZoneLists = <function> defined @WeakAuras/Types_Vanilla.lua:12
 IsEnvironmentInitialized = <function> defined @WeakAuras/AuraEnvironment.lua:188
 form_types = <table> {
 }
 CleanArchive = <function> defined @WeakAuras/History.lua:25
 UpdateProgressFrom = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:566
 RunConditions = <function> defined @WeakAuras/Conditions.lua:840
 tooltip_count = <table> {
 }
 SmoothStatusBarMixin = <table> {
 }
 pet_spec_types = <table> {
 }
 regionOptions = <table> {
 }
 get_zoneId_list = <function> defined @WeakAuras/Types_Vanilla.lua:151
 checkForSingleLoadCondition = <function> defined @WeakAuras/Prototypes.lua:1159
 author_option_classes = <table> {
 }
 grid_types = <table> {
 }
 non_transmissable_fields = <table> {
 }
 absorb_modes = <table> {
 }
 combatlog_spell_school_types_for_ui = <table> {
 }
 miss_types = <table> {
 }
 CancelDelayedTrigger = <function> defined @WeakAuras/GenericTrigger.lua:923
 centered_types_h = <table> {
 }
 ensurePRDFrame = <function> defined @WeakAuras/WeakAuras.lua:5407
 talent_types = <table> {
 }
 LoadFunction = <function> defined @WeakAuras/AuraEnvironment.lua:640
 reset_swing_spells = <table> {
 }
 spec_types_all = <table> {
 }
 player_target_events = <table> {
 }
 FinishLoadUnload = <function> defined @WeakAuras/WeakAuras.lua:2046
 subRegionTypes = <table> {
 }
 UnregisterAllEveryFrameUpdate = <function> defined @WeakAuras/GenericTrigger.lua:1851
 array_entry_name_types = <table> {
 }
 combatlog_spell_school_types = <table> {
 }
 StringToTable = <function> defined @WeakAuras/Transmission.lua:301
 RegisterLoadEvents = <function> defined @WeakAuras/WeakAuras.lua:1892
 GetReputationsSorted = <function> defined @WeakAuras/Types.lua:1669
 blend_types = <table> {
 }
 text_automatic_width = <table> {
 }
 EnforceSubregionExists = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:1123
 CheckSpellCooldown = <function> defined @WeakAuras/GenericTrigger.lua:2950
 custom_trigger_types = <table> {
 }
 group_types = <table> {
 }
 subRegionOptions = <table> {
 }
 GetProgressValueConstant = <function> defined @WeakAuras/WeakAuras.lua:3910
 text_rotate_types = <table> {
 }
 spec_types = <table> {
 }
 anim_ease_types = <table> {
 }
 item_slot_types = <table> {
 }
 multiUnitUnits = <table> {
 }
 anim_color_types = <table> {
 }
 loaded = <table> {
 }
 Convert = <function> defined @WeakAuras/WeakAuras.lua:2262
 sound_channel_types = <table> {
 }
 CheckCooldownReady = <function> defined @WeakAuras/GenericTrigger.lua:3140
 event_prototypes = <table> {
 }
 NeedToRepairDatabase = <function> defined @WeakAuras/WeakAuras.lua:2339
 AtlasList = <table> {
 }
 StopProfileSystem = <function> defined @WeakAuras/Init.lua:570
 classification_types = <table> {
 }

Reproduction Steps

Load the game

Last Good Version

No response

Screenshots

No response

Export String

No response

Bisector Report

No response

commented

Additional errors with updating previously working auras.

3x Lua error in aura 'Warrior Shouts Reminder': Modernize
WeakAuras Version: 5.12.7-11-gb70c074
Aura Version: 1.0.0
WeakAuras/Modernize.lua:2029: bad argument #1 to 'gsub' (string expected, got nil)
[string "=[C]"]: in function `gsub'
[string "@WeakAuras/Modernize.lua"]:2029: in function <WeakAuras/Modernize.lua:14>
[string "=[C]"]: in function `xpcall'
[string "@WeakAuras/WeakAuras.lua"]:2974: in function <WeakAuras/WeakAuras.lua:2965>
[string "=[C]"]: in function `xpcall'
[string "@WeakAuras/WeakAuras.lua"]:2620: in function `AddMany'
[string "@WeakAuras/WeakAuras.lua"]:1246: in function <WeakAuras/WeakAuras.lua:1214>

Locals:
(*temporary) = nil
(*temporary) = "(sub.%d.tick_placement)(%d)"
(*temporary) = "%1s.%2"
(*temporary) = "string expected, got nil"

shouts_reminder.txt

commented
3x Lua error in aura 'Chromaggus - Brood Affliction Black': Modernize
WeakAuras Version: 5.12.7-11-gb70c074
Aura Version: 1.3.2
WeakAuras/Modernize.lua:2029: bad argument #1 to 'gsub' (string expected, got nil)
[string "=[C]"]: in function `gsub'
[string "@WeakAuras/Modernize.lua"]:2029: in function <WeakAuras/Modernize.lua:14>
[string "=[C]"]: in function `xpcall'
[string "@WeakAuras/WeakAuras.lua"]:2974: in function <WeakAuras/WeakAuras.lua:2965>
[string "=[C]"]: in function `xpcall'
[string "@WeakAuras/WeakAuras.lua"]:2620: in function `AddMany'
[string "@WeakAuras/WeakAuras.lua"]:1246: in function <WeakAuras/WeakAuras.lua:1214>

Locals:
(*temporary) = nil
(*temporary) = "(sub.%d.tick_placement)(%d)"
(*temporary) = "%1s.%2"
(*temporary) = "string expected, got nil"

Part of a larger raiding pack but attaching the relevant child
brood_affliction_black.txt

commented

Note that the change might have not fixed the Archivst issue, if you stil encounter that please comment.