Armory

133 - Mail expire errors

Before you start: did you check if there is a newer version? There might be an alpha release that already addresses your issue. Please check http://wow.curseforge.com/addons/armory/files.
Using v9.9.1

What steps will reproduce the problem?
1. Delete Armory.lua
2. Log on each character on my account; open mail, professions, etc. I'm not sure if the problem is after logging on all characters or certain ones.
3. Wait until mail expire warning triggered.
4. Type "/ar check"
5. The text in the chat edit box does not go away, and the error detailed below appears.

If you repeat the steps above after logging in again, do you get the same problem or was it a one-time event?
As mentioned above, it will happen again after logging in my characters and typing "/ar check".

What is the expected output? What do you see instead?
See above.

What version and language of WoW and what version of Armory are you using?
WoW live version and Armory v9.9.1

Do you have an error log of what happened?

1x Armory-v9.9.1\Core\ArmoryBase.lua:1493 bad argument #4 to "format" (string expected, got nil)
<in C code>
Armory-v9.9.1\Core\ArmoryBase.lua:1493 in function "CheckMailItems"
Armory-v9.9.1\Core\ArmoryBase.lua:429 in function "?"
Armory-v9.9.1\Core\ArmoryBase.lua:205 in function <Armory\Core\ArmoryBase.lua:166
(tail call): ?
FrameXML\ChatFrame.lua:4227 in function "ChatEdit_ParseText"
FrameXML\ChatFrame.lua:3838 in function "ChatEdit_SendText"
FrameXML\ChatFrame.lua:3876 in function "ChatEdit_OnEnterPressed"
<string>:"*:OnEnterPressed":1: in function <string>:"*:OnEnterPressed":1

Locals:
self = <table> {
 SetQuestLogRewardSpell = <func> @Armory\Core\ArmoryStubs.lua:704
 ClearFactions = <func> @Armory\Core\ArmoryFactions.lua:101
 HexColor = <func> @Armory\Core\ArmoryBase.lua:2233
 GetConfigExpirationDays = <func> @Armory\Core\ArmoryConfig.lua:573
 HasSocial = <func> @Armory\Core\ArmoryBase.lua:2381
 GetConfigMinimapAngle = <func> @Armory\Core\ArmoryConfig.lua:825
 GetInventoryItem = <func> @Armory\Core\ArmoryStubs.lua:628
 SetConfigExpirationDays = <func> @Armory\Core\ArmoryConfig.lua:568
 GetServerTime = <func> @Armory\Core\ArmoryBase.lua:1731
 UnitRace = <func> @Armory\Core\ArmoryStubs.lua:883
 GetInventoryItemTexture = <func> @Armory\Core\ArmoryStubs.lua:164
 UnitClass = <func> @Armory\Core\ArmoryStubs.lua:785
 PrintDebug = <func> @Armory\Core\ArmoryBase.lua:97
 GetInventoryItemCount = <func> @Armory\Core\ArmoryStubs.lua:146
 SelectPet = <func> @Armory\Core\ArmoryBase.lua:2456
 GetPrimaryTalentTreeMasterySpells = <func> @Armory\Core\ArmoryStubs.lua:399
 HasNewMail = <func> @Armory\Core\ArmoryStubs.lua:467
 GetSpellBonusHealing = <func> @Armory\Core\ArmoryStubs.lua:370
 HasCurrency = <func> @Armory\Core\ArmoryCurrency.lua:165
 GetPetIcon = <func> @Armory\Core\ArmoryStubs.lua:226
 collapsedHeaders = <table> {}
 GetBlockChance = <func> @Armory\Core\ArmoryStubs.lua:50
 GetConfigShareAsAlt = <func> @Armory\Core\ArmoryConfig.lua:900
 GetPrimaryTradeSkills = <func> @Armory\Core\ArmoryTradeSkills.lua:918
 SetConfigShareCharacter = <func> @Armory\Core\ArmoryConfig.lua:872
 ConvertDb = <func> @Armory\Core\ArmoryBase.lua:961
 GetEquipCount = <func> @Armory\Core\ArmoryInventory.lua:989
 CollapseFactionHeader = <func> @Armory\Core\ArmoryFactions.lua:172
 ClearFriends = <func> @Armory\Core\ArmoryFriends.lua:38
 interface = "4.2.2"
 GetDailyQuestsCompleted = <func> @Armory\Core\ArmoryQuests.lua:294
 SetInventoryItem = <func> @Armory\Core\ArmoryStubs.lua:595
 hasStats = false
 ScanInventory = <func> @Armory\Core\ArmoryInventory.lua:900
 GetStatistic = <func> @Armory\Core\ArmoryAchievements.lua:536
 PrintWarning = <func> @Armory\Core\ArmoryBase.lua:81
 SetBagItem = <func> @Armory\Core\ArmoryStubs.lua:553
 GetItemGemString = <func> @Armory\Core\ArmoryBase.lua:2021
 UnitAura = <func> @Armory\Core\ArmoryStubs.lua:777
 GetConfigPerCharacter = <func> @Armory\Core\ArmoryConfig.lua:783
 GetRestState = <func> @Armory\Core\ArmoryStubs.lua:352
 GetQuestHistoryTitle = <func> @Armory\Core\ArmoryQuestHistory.lua:264
 GetMastery = <func> @Armory\Core\ArmoryStubs.lua:202
 GetGlyphLink = <func> @Armory\Core\ArmoryGlyphs.lua:121
 UnitXPMax = <func> @Armory\Core\ArmoryStubs.lua:929
 GetCombatRatingBonus = <func> @Armory\Core\ArmoryStubs.lua:60
 SetTradeSkillSubClassFilter = <func> @Armory\Core\ArmoryTradeSkills.lua:704
 SetConfigCraftersColor = <func> @A

Please provide any additional information below.

This started several months ago.
The only thing I have found to resolve it is to delete armory.lua and log on every character one by one to rebuild the data, which is getting a little frustrating and it just happens again once the data is rebuilt.

User When Change
Warmexx Nov 20, 2011 at 01:22 UTC Changed status from New to Fixed
Warmexx Nov 13, 2011 at 11:47 UTC

Deleted attachment Armory.lua.bak: checked

Warmexx Nov 13, 2011 at 11:47 UTC

Deleted attachment Armory.lua: checked

JaimSandar Nov 13, 2011 at 04:21 UTC

Added attachment Armory.lua.bak

JaimSandar Nov 13, 2011 at 04:14 UTC

Added attachment Armory.lua

JaimSandar Nov 12, 2011 at 18:43 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 5 comments
  • Avatar of Warmexx Warmexx Nov 13, 2011 at 11:48 UTC - 0 likes

    Thanks, alas both files don't cause the error. I'll put some general check in place to prevent this error from happening. It will be part of the next alpha. In case you get the error in the mean time please give me your data file. I still like to know what is causing it.

    Last edited Nov 13, 2011 by Warmexx
  • Avatar of JaimSandar JaimSandar Nov 13, 2011 at 04:20 UTC - 0 likes

    I couldn't figure out how to attach a file to a PM, but I attached it to this ticket. I attached both the lua and the lua.bak.

  • Avatar of Warmexx Warmexx Nov 12, 2011 at 23:35 UTC - 0 likes

    Maybe it was one particular item. Can you attach you Armory.lua.bak to a PM? Hopefully it is still in there and I can find the cause.

  • Avatar of JaimSandar JaimSandar Nov 12, 2011 at 21:20 UTC - 0 likes

    I "accidentally" became rid of the error. It didn't fix the cause, but at least the error stopped (until next time?). Today I was logging on & off & on repeatedly among several characters on one realm, shuffling some mats around for one character's profession. During this process I removed mail from a couple that had mail expiring warnings, and also visited the bank for a couple that didn't have the bank data in Armory yet. Somewhere during all of this, the error stopped. Whether it was simply because there are no more expiring mail or what, I don't know. Maybe as soon as more mail is about to expire the error will return. In any case, I rid of the error without having to delete the lua.

  • Avatar of Warmexx Warmexx Nov 12, 2011 at 19:29 UTC - 0 likes

    Seems like the item name is missing. Since you are saying that this started a few months ago, I assume something has changed at Blizzard's side in the mean time. I didn't have an account for 7 months so I didn't notice. What does seem to have changed is that item data is not kept in cache anymore between sessions (formely only a new patch cleared the cache, now it happens everytime the game is started). I have to see if I use an API method with mail scanning that is influenced by this.

  • 5 comments

Facts

Last updated
Nov 20, 2011
Reported
Nov 12, 2011
Status
Fixed - Developer made requested changes. QA should verify.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees