Classic Calendar

Classic Calendar

56.3k Downloads

LuaError when opening calendar.

noonien opened this issue ยท 0 comments

commented

Describe the bug
An error occurs when opening the calendar.

Do you have an error log of what happened?

18x ClassicCalendar/Patches.lua:484: attempt to compare nil with number
[string "@ClassicCalendar/Patches.lua"]:484: in function <ClassicCalendar/Patches.lua:483>
[string "=[C]"]: in function `sort'
[string "@ClassicCalendar/Patches.lua"]:483: in function `stubbedGetDayEvent'
[string "@ClassicCalendar/ClassicCalendar.lua"]:1496: in function `CalendarFrame_UpdateDayEvents'
[string "@ClassicCalendar/ClassicCalendar.lua"]:1321: in function `CalendarFrame_Update'
[string "@ClassicCalendar/ClassicCalendar.lua"]:1071: in function <ClassicCalendar/ClassicCalendar.lua:1069>

Locals:
a = <table> {
 ZIndex = 1
 modStatus = ""
 inviteStatus = 0
 sequenceIndex = 1
 inviteType = 0
 invitedBy = ""
 eventType = 4
 dontDisplayEnd = false
 isLocked = false
 sequenceType = ""
 title = "Ahn'Qiraj Ruins"
 calendarType = "RAID_RESET"
 isCustomTitle = true
 startTime = <table> {
 }
 dontDisplayBanner = false
 difficultyName = ""
}
b = <table> {
 numSequenceDays = 5
 modStatus = ""
 eventType = 4
 sequenceType = "ONGOING"
 isCustomTitle = true
 startTime = <table> {
 }
 iconTexture = "Calendar/Holidays/Calendar_WeekendBattlegroundsOngoing"
 endTime = <table> {
 }
 invitedBy = ""
 sequenceIndex = 3
 dontDisplayEnd = false
 isLocked = false
 title = "Call to Arms: Alterac Valley"
 calendarType = "HOLIDAY"
 inviteType = 0
 difficultyName = ""
 dontDisplayBanner = false
 inviteStatus = 0
}
(*temporary) = 1
(*temporary) = nil
(*temporary) = "attempt to compare nil with number"

To Reproduce
Open Calendar on Classic era.

Screenshots
image

Did you try having Classic Calendar as the only enabled addon and everything else (especially something like ElvUI) disabled?
Yes, only Classic Calendar and Bug{Sack,Grabber} enabled.

Which version of Classic Calendar are you using?
v0.5.8beta

Was it working in a previous version? If yes, which was the last good one?
Don't know, just installed the addon.

Additional context