Journalator hangs on opening
sjtyejopemlzn opened this issue · 10 comments
Brief Description of Bug
Slash command '/jnr' produces no response. Clicked on the Journalator minimap icon to access add-on. Journalator hangs on opening, no functionality available. Progress bar is shown, but no progress occurs.
Steps to Reproduce
Click Journalator minimap icon.
Loaded Addons
Auctionator 10.1.7
Journalator 1.43
BugGrabber 10.1.0
BugSack 10.1.2
Back Trace (LUA Error Output)
1x ...aceJournalator/Source/Archiving/GetRange.lua:11: bad argument #1 to 'ipairs' (table expected, got nil)
[string "=[C]"]: in function ipairs' [string "@Journalator/Source/Archiving/GetRange.lua"]:11: in function
GetRange'
[string "@Journalator_Display/Source/GetCharactersAndRealms.lua"]:15: in function GetCharactersAndRealms' [string "@Journalator_Display/Source/Display/FiltersContainer.lua"]:49: in function
UpdateRealmsAndCharacters'
[string "@Journalator_Display/Source/Display/FiltersContainer.lua"]:40: in function <...rnalator_Display/Source/Display/FiltersContainer.lua:39>
[string "=[C]"]: in function SetShown' [string "@Journalator_Display/Source/Initialize.lua"]:9: in function
ToggleView'
[string "@Journalator_Display/Source/MinimapIcon.lua"]:39: in function `OnClick'
[string "@BugSack/Libs/LibDBIcon-1.0-51/LibDBIcon-1.0.lua"]:170: in function <BugSack/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:168>
Locals:
(*temporary) = nil
(*temporary) = "table expected, got nil"
= defined =[C]:-1
6x ...aceJournalator/Source/Archiving/LoadUpTo.lua:64: attempt to compare nil with number
[string "@Journalator/Source/Archiving/LoadUpTo.lua"]:64: in function IsLoadedUpTo' [string "@Journalator_Display/Source/MinimapIcon.lua"]:46: in function
OnTooltipShow'
[string "@BugSack/Libs/LibDBIcon-1.0-51/LibDBIcon-1.0.lua"]:73: in function <BugSack/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:59>
Locals:
minTime = 1685631599
(*temporary) = nil
(*temporary) = "attempt to compare nil with number"
frame = nil
The email replies don't seem to include any attachments or screenshots. Can you try adding the attachments and screenshots to using the Github interface for the issue?
Can you do the following chat commands and report the output for each one? One of these should output a different value to what I'd expect.
/dump JOURNALATOR_LOGS
/dump JOURNALATOR_ARCHIVE_TIMES
/dump Journalator.State.MinTimeLoaded
/dump time()
Any updates on supplying the saved variables file?
Can you also try disabling all other add-ons (other than Journalator and Auctionator) and see if it's still broken?
Can you attach your Journalator saved variables file (found at Wow directory\_retail_\WTF\some numbers\SavedVariables\Journalator.lua
)?
Okay, here are the screenshots I've been trying to send to you:
Saved variable file:
Four /dump commands:
JOURNALATOR_LOGS.txt
JOURNALATOR_ARCHIVE_TIMES.txt
Journalator.State.MinTimeLoaded.txt
time().txt
Thanks for the files and screenshots I've found the cause of the problem and fixed it. You can now update to the newest alpha build and it will open correctly
Journalator-1.44-6-g1967373.zip
The issue came from the data being old and the compatibility code having broken since it was written in 2021, I've fixed the compatibility code now.