AIE-Guild / GreenWall

Common communication channel as a replacement for guild chat in guild confederations.
MIT License
22 stars 15 forks source link

Error On Startup #185

Closed GeodesicDragon closed 1 year ago

GeodesicDragon commented 4 years ago

I keep getting this error whenever I log into a character which has GreenWall enabled.

Message: Interface\AddOns\GreenWall\Config.lua:285: attempt to compare nil with table
Time: Mon Aug  3 12:38:45 2020
Count: 1
Stack: Interface\AddOns\GreenWall\Config.lua:285: attempt to compare nil with table
Interface\AddOns\GreenWall\Config.lua:285: in function 'load'
Interface\AddOns\GreenWall\GreenWall.lua:375: in function 'GreenWall_OnEvent'
[string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>

Locals: self = <table> {
 minimum = "1.11.0"
 comember_cache = <table> {
 }
 cversion = 1
 channel = <table> {
 }
 timer = <table> {
 }
 peer = <table> {
 }
 guild_id = "MtW1"
 valid = true
}
substitute = <function> defined @Interface\AddOns\GreenWall\Config.lua:136
xlat = <table> {
}
guild_name = "Made to Win-MirageRaceway"
info = "Made to Win is a guild created during the Vanilla era back in 2004. We ran all dungeons and raids like MC, Ony, BWL, AQ20-40 and attempted Nax

Rules are simple: Be friendly, cooperative and mindful. We allow free speech but no racism. 
Scamming or illegal stuff is NOT allowed

We've a MtW discord, it is used to chill, run dungeons and is MANDATORY for raid progression

Join us at https://discord.gg/VgcqrGh

GWc:MtWChan:EpicsWeLike
GWv:1.11.0
GWp:Made to Win:MtW1
GWp:Make to Win:MtW2"
min = <table> {
 patch = 0
 pre = <table> {
 }
 meta = <table> {
 }
 major = 1
 minor = 11
}
cur = nil
(*temporary) = "1.11.0+classic"
(*temporary) = <function> defined @Interface\AddOns\GreenWall\Lib\SemanticVersion.lua:51
(*temporary) = <table> {
 patch = 0
 pre = <table> {
 }
 meta = <table> {
 }
 major = 1
 minor = 11
}
(*temporary) = "1"
(*temporary) = "11"
(*temporary) = "0"
(*temporary) = "+classic"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to compare nil with table"
semver = <table> {
 __lt = <function> defined @Interface\AddOns\GreenWall\Lib\SemanticVersion.lua:167
 __eq = <function> defined @Interface\AddOns\GreenWall\Lib\SemanticVersion.lua:163
 __le = <function> defined @Interface\AddOns\GreenWall\Lib\SemanticVersion.lua:171
 __tostring = <function> defined @Interface\AddOns\GreenWall\Lib\SemanticVersion.lua:97
 __index = <table> {
 }
 new = <function> defined @Interface\AddOns\GreenWall\Lib\SemanticVersion.lua:50
}
mrogaski commented 4 years ago

It looks like there's a problem with the semantic version parsing, but it's not clear what may have changed in the underlying WoW API. I can probably put in a soft failure here until I can fix the parsing issue.