stpain / guildbook

Guildbook
https://www.curseforge.com/wow/addons/guildbook
zlib License
9 stars 9 forks source link

Yet another lua error #66

Open b-morgan opened 3 years ago

b-morgan commented 3 years ago

1x Guildbook\Guildbook-4.9662.lua:761: bad argument #2 to 'format' (string expected, got nil) [string "=[C]"]: in function format' [string "@Guildbook\Guildbook-4.9662.lua"]:761: in functionSetCharacter' [string "@Guildbook\Guildbook-4.9662.lua"]:1706: in function ForceRosterListviewRefresh' [string "@Guildbook\Guildbook-4.9662.lua"]:1678: in functionLoadCharacters' [string "@Guildbook\Guildbook-4.9662.lua"]:1571: in function `ParseGuildRoster' [string "@Guildbook\Core.lua"]:2026: in function <Guildbook\Core.lua:2024>

Locals: (temporary) = "Mobile-%s" (temporary) = nil (*temporary) = "string expected, got nil"

stpain commented 3 years ago

Hi, yeah i came across this last night after the update, there was an issue somewhere with my character professions being either nil'd or removed somehow from the main db table.

I've gone through the core file this morning and removed some bits of code which i think were the cause.

I've also been going through the load process as i saw there is a lot of comms spam and this has now been reduced