Armory

100 - ArmoryFrame.lua:1271: bad argument #1 to 'setfenv'

What steps will reproduce the problem?
1. This literaly just started happening out of nowhere, maybe after an ingame patch.
2. If I click the minimap icon or type armory to open the pannel I get this error
3.

If you repeat the steps above after logging in again, do you get the same problem or was it a one-time event?

Repeats

What is the expected output? What do you see instead?

The pannel opens without errors

What version and language of WoW and what version of Armory are you using?

Latest English

Do you have an error log of what happened?

Message: Interface\AddOns\Armory\Frames\ArmoryFrame.lua:1271 bad argument #1 to 'setfenv' (number expected, got nil)
Time: 12/11/10 01:58:27
Count: 1
Stack: [C]: ?
[C]: in function `setfenv'
Interface\AddOns\Armory\Frames\ArmoryFrame.lua:1271 in function `ArmoryFrame_Update'
Interface\AddOns\Armory\Frames\ArmoryFrame.lua:263 in function `ArmoryFrame_OnShow'
[string "*:OnShow"]:2: in function <[string "*:OnShow"]:1>
[C]: in function `Show'
Interface\FrameXML\UIParent.lua:1871 in function `ShowUIPanel'
Interface\AddOns\Armory\Core\ArmoryBase.lua:1337 in function `Toggle'
Interface\AddOns\Armory\Core\ArmoryLDB.lua:43 in function `OnClick'
Interface\AddOns\Armory\Frames\ArmoryFrame.lua:790 in function `ArmoryMiniMapButton_OnClick'
[string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>

Locals:

After quiting wow, installing latest version to be sure, and deleting the armory LUA files.

Please provide any additional information below.

I don't remember how I got this

Message: Interface\AddOns\Armory\Frames\ArmoryFrame.lua:1271 bad argument #1 to 'setfenv' (number expected, got nil)
Time: 12/11/10 01:44:05
Count: 1
Stack: [C]: ?
[C]: in function `setfenv'
Interface\AddOns\Armory\Frames\ArmoryFrame.lua:1271 in function `ArmoryFrame_Update'
Interface\AddOns\Armory\Frames\ArmoryFrame.lua:263 in function `ArmoryFrame_OnShow'
[string "*:OnShow"]:2: in function <[string "*:OnShow"]:1>
[C]: in function `Show'
Interface\FrameXML\UIParent.lua:1871 in function `ShowUIPanel'
Interface\AddOns\Armory\Core\ArmoryBase.lua:1337 in function `Toggle'
Interface\AddOns\Armory\Core\ArmoryLDB.lua:43 in function `OnClick'
Interface\AddOns\Armory\Frames\ArmoryFrame.lua:790 in function `ArmoryMiniMapButton_OnClick'
[string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>

Locals: (*temporary) = nil
(*temporary) = <table> {
 GearScore_HookCompareItem = <function> defined @Interface\AddOns\Armory\Frames\ArmoryFrame.lua:1261
 GearScore_EquipCompare = <function> defined @Interface\AddOns\Armory\Frames\ArmoryFrame.lua:1260
 ArmoryFrame_Update = <function> defined @Interface\AddOns\Armory\Frames\ArmoryFrame.lua:312
 UnitFactionGroup = <function> defined @Interface\AddOns\Armory\Frames\ArmoryFrame.lua:1242
 UnitLevel = <function> defined @Interface\AddOns\Armory\Frames\ArmoryFrame.lua:1241
 GetRealmName = <function> defined @Interface\AddOns\Armory\Frames\ArmoryFrame.lua:1246
 GetItemInfo = <function> defined @Interface\AddOns\Armory\Frames\ArmoryFrame.lua:1248
 UnitSex = <function> defined @Interface\AddOns\Armory\Frames\ArmoryFrame.lua:1243
 GetInventoryItemLink = <function> defined @Interface\AddOns\Armory\Frames\ArmoryFrame.lua:1238
 GetZoneText = <function> defined @Interface\AddOns\Armory\Frames\ArmoryFrame.lua:1244
 UnitIsPlayer = <function> defined @Interface\AddOns\Armory\Frames\ArmoryFrame.lua:1235
 UnitRace = <function> defined @Interface\AddOns\Armory\Frames\ArmoryFrame.lua:1240
 GetGuildInfo = <function> defined @Interface\AddOns\Armory\Frames\ArmoryFrame.lua:1245
 UnitName = <function> defined @Interface\AddOns\Armory\Frames\ArmoryFrame.lua:1237
 UnitClass = <function> defined @Interface\AddOns\Armory\Frames\ArmoryFrame.lua:1236
}
(*temporary) = "number expected, got nil"

Name Description Size MD5
Armory.lua Old Armory file, the save file ... 2.9 MiB 8d93cb2e1269...
Armory.lua New file created after deleting ... 222.0 KiB e922a9cf14a9...
User When Change
Warmexx Dec 30, 2010 at 13:20 UTC Changed status from New to Fixed
DanoPDX Dec 11, 2010 at 20:01 UTC

Added attachment Armory.lua

DanoPDX Dec 11, 2010 at 19:59 UTC

Added attachment Armory.lua

DanoPDX Dec 11, 2010 at 19:58 UTC Create

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

  • 6 comments
  • Avatar of DanoPDX DanoPDX Dec 13, 2010 at 09:28 UTC - 0 likes

    der sorry thought you meant Gearscore ^_^ thanks for the update I'll go install it and check it out

  • Avatar of Warmexx Warmexx Dec 12, 2010 at 21:39 UTC - 0 likes

    I was referring to Armory's alpha build r386. ;)

    Last edited Dec 12, 2010 by Warmexx
  • Avatar of DanoPDX DanoPDX Dec 12, 2010 at 12:16 UTC - 0 likes

    http://wow.curseforge.com/addons/gearscore/files/50-gear-score-4-0-00/

    I have the latest version from here if you have a line to another Alpha by the same author can you post it please?

    This version is about 5 days old and it's the combined Gearscore/PlayerScore version. I double checked that before I posted this ticket. I can wait for a fix in either Gearscore or this np. However, for now I can't run Armory and besides this error I attached the save files to see if you can find out why they become corrupt so easily and why i have to log onto all my chars to update professions and such lately.

  • Avatar of Warmexx Warmexx Dec 11, 2010 at 22:59 UTC - 0 likes

    The error is caused by an incompatibility with the latest version of GearScore. You can download the alpha build which contains a temporary fix.

  • Avatar of DanoPDX DanoPDX Dec 11, 2010 at 20:05 UTC - 0 likes

    I think the second part of the error I posted, in additional information was after I CRSR-ed over someone.

  • Avatar of DanoPDX DanoPDX Dec 11, 2010 at 20:04 UTC - 0 likes

    The old save file should have had info for maybe 10-15 chars, but only displayed 3-4 before I deleted it to troubleshoot this error a little. The save file seems to get corrupted pretty easy and I have to go to all the chars and click all the professions again so that everything shows up. Sometimes when on an alt I can't see alt the recipes or the recipe field is blank.

  • 6 comments

Facts

Last updated
Dec 30, 2010
Reported
Dec 11, 2010
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