SilverDragon - Rare Scanner

SilverDragon - Rare Scanner

20M Downloads

Multiple errors in startup

Quazzarr opened this issue ยท 6 comments

commented

The last few days I've had multiple errors when starting WoW - 9 erros from Silverdragon, 1 for each module. The one for BfA looks like this:
1x ...faceSilverDragon_BattleForAzeroth\module.lua:3: Usage: NewModule(name, [prototype, [lib, lib, lib, ...]): 'name' - Module 'Data_BattleForAzeroth' already exists.
[string "=[C]"]: ?
[string "@!KalielsTracker\Libs\AceAddon-3.0\AceAddon-3.0-13.lua"]:239: in function `NewModule'
[string "@SilverDragon_BattleForAzeroth\module.lua"]:3: in main chunk

Locals:
(*temporary) = "Usage: NewModule(name, [prototype, [lib, lib, lib, ...]): 'name' - Module 'Data_BattleForAzeroth' already exists."

The 8 other modules have the exact same error.

commented

You're on the alpha builds?

Since the last release I changed how it's packaging things so it no longer splits off all the data modules into their own subfolders. What you're seeing is consistent with whatever packager you're using not cleaning up after itself when updating the add-on.

...since that's probably a fairly common situation to be in, I suppose I'll want to make certain I do something that'll stop vestigial top-level folders from causing problems before I do a proper release.

commented

Yes, I'm on Alpha build. I tried switching back to Release build, but that didnt make any difference, guess the cleanup is still required. I'm using CurseForge client - guess I will wait for you to do something ;)

commented

Okay, a new alpha build should show up in a few minutes. Give it a try when it's out.

commented

Works like a charm! ;)

commented

Excellent!

commented

(You should feel free to delete the SilverDragon_[expansion] folders in your addons directory now.)