Quantcast
View Bug Report
UI Error when trying to read a book
Bug #: 2073
File: Librarian Book Manager
Date: 09/23/17 10:31 AM
By: Lethann
Status: Confirmed (Working on Fix)
Code:
user:/AddOns/Librarian/Librarian.lua:516: attempt to index a nil value
stack traceback:
	user:/AddOns/Librarian/Librarian.lua:516: in function 'Librarian:ReadBook'
	user:/AddOns/Librarian/Librarian.lua:246: in function 'callback'
	EsoUI/Libraries/ZO_KeybindStrip/ZO_KeybindStrip.lua:615: in function 'ZO_KeybindStrip:TryHandlingKeybindDown'
	(tail call): ?
	(tail call): ?
I did a /librarian then tried to "Read" a book. This code popped up. Specific book was "Triumphs of a Monarch, Ch. 6"

Do not have any previous versions of the addon as I just installed it last night.

Reloaded ui then tried to click on a book and this popped up:

Code:
user:/AddOns/Librarian/Librarian.lua:516: attempt to index a nil value
stack traceback:
	user:/AddOns/Librarian/Librarian.lua:516: in function 'Librarian:ReadBook'
	user:/AddOns/Librarian/Librarian.lua:563: in function 'LibrarianRow_OnMouseUp'
	LibrarianFrameList1Row1_MouseUp:3: in function '(main chunk)'

RSS 2.0 Feed for Bug CommentsNotes Sort Options
By: mochihead - 09/27/17 01:03 AM
Exact same problems when trying to read a book in librarian.
By: KrilotKendov - 10/21/17 04:31 PM
Just downloaded the mod, love the sound of it too... shame about this problem though, for me is effecting every book. Really hope this is sorted soon would love to add this to my mods list.
By: unu-yakaio - 10/27/17 03:42 PM
If it helps anyone trying to fix the this, the problem is that the LoreReader is nil. Everything else seems to be there.

That about as far as I expect to get with this tonight.
By: unu-yakaio - 10/28/17 02:51 PM
Fix for "user:/AddOns/Librarian/Librarian.lua:516: attempt to index a nil value" is this:

Replace "LoreReader" with "LORE_READER" on the line mentioned in the error message.
By: calia1120 - 01/06/19 02:01 AM
this is a known one. there's a patched version in notes that I need to merge into the main code.