Library load-order dependency in DogulbonsLazyWritCreator - ESOUI
Thread Tools Display Modes
02/25/19, 02:27 PM   #1
BoarGules's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2017
Posts: 33
Library load-order dependency in DolgubonsLazyWritCreator

Today I upgraded DolgubonsLazyWritCreator to version

After that, at login or /reloadui I would get these instructions:

[20:25] Libraries not found. Please do the following, especially if you use Minion to manage your addons:
[20:25] 1. Open Minion and uninstall both the Writ Crafter and the RU Patch for the Writ Crafter, which may have been automatically installed by Minion
[20:25] - To uninstall, right click the addon in Minion, and choose uninstall
[20:25] 2. Then, reinstall the Writ Crafter, and reinstall the RU patch if desired.
Which instructions I faithfully followed, with and without intervening /reloadui commands and with and without intervening cold game restarts and even a Windows reboot, several times.

The source says the libraries that are not being found are one or more of LibStub, LibLazyCrafting, LibAddonMenu-2.0; but I have all of those installed and up to date.

Eventually I went back to version 2.5.5 and it worked. Comparing the two versions (2.5.5 and of DolgubonsLazyWritCreator.txt I noticed that the following library dependencies were commented out in the new version but not in the old:

; libs\LibStub\LibStub.lua
; libs\LibAddonMenu-2.0\LibAddonMenu-2.0.lua
; libs\LibLazyCrafting\LibLazyCrafting.lua
; libs\LibLazyCrafting\Enchanting.lua
; libs\LibLazyCrafting\Smithing.lua
; libs\LibFeedback\feedback.lua
On a hunch I took the semicolons out to make these lines match the versions in 2.5.5 and my problem went away.

I conclude that the version with the semicolons works if the libraries happen to have already been loaded by another add-on. But not in my case.

Last edited by BoarGules : 02/25/19 at 02:46 PM.
  Reply With Quote
02/25/19, 03:25 PM   #2
Baertram's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 3,291
You need to load the libraries as standalone libraries, installead seperately not coming with any addon.
Like download them from the links here and add them to your AddOns folder liek all other addons are handled:

Inside the addon which depen ont hem the txt file needs an entry "##DependsOn: LibStub LibAddonMenu-2.0" e.g.

And the folders you have downloaded as standalone libraries/addons need a txt file where the lib/addon is loaded from (which in your example was done via the Dolgubon addon but using internally shipped copies of the libraies in the "libs" subfolder -> embedded/bundled libraries).

If other addons include/bundle the same libraries and load them before your addon gets loaded everything is fine, right. But not if the lines are commented or someone forgot to add the ##DependsOn: tag in the txt file with the library/addon names it depends on.
  Reply With Quote
02/25/19, 06:26 PM   #3
Join Date: Feb 2019
Posts: 1
Same issue. Nothing I have done has managed to make it work again. Sucks because it is such a great add on!
  Reply With Quote
02/25/19, 08:12 PM   #4
AddOn Author - Click to view addons
Join Date: Jun 2016
Posts: 63
Inside the addon which depen ont hem the txt file needs an entry "##DependsOn: LibStub LibAddonMenu-2.0" e.g.
The ##DependsOn line is commented out so that you do not get any warning that you are missing the new library dependencies.

Once you install the new libraries LibLazyCrafting and LibFeedback (either with Minion or manually as you prefer), you should then check your enabled addons list to make sure that DogulbonsLazyWritCreator is still checked (mine had somehow gotten unchecked). Finally /reloadui
  Reply With Quote
02/25/19, 09:07 PM   #5
Dolgubon's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2016
Posts: 370
This issue should be fixed in the new version of the addon.
  Reply With Quote

ESOUI » AddOns » AddOn Help/Support » Library load-order dependency in DogulbonsLazyWritCreator

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off