FarmIt

4 - Bug with FarmIt

What steps will reproduce the problem?
1. Delete the FarmIt.lua
2. Run WoW.
3. Log out of WoW, log back in.
4. Error below

Do you have an error log of what happened?

Date: 2009-01-31 12:35:51
ID: 1
Error occured in: Global
Count: 80
Message: ..\AddOns\FarmIt\FarmIt.lua line 452:
   attempt to index a nil value
Debug:
   [C]: ?
   FarmIt\FarmIt.lua:452 FI_Update()
   FarmIt\FarmIt.lua:618 FI_SetObjective()
   FarmIt\FarmIt.lua:402 FI_SetSlot()
   FarmIt\FarmIt.lua:350 FI_CreateBar()
   FarmIt\FarmIt.lua:200 FI_Loader()
   FarmIt\FarmIt.lua:163 FI_OnEvent()
   [string "*:OnEvent"]:1:
      [string "*:OnEvent"]:1
AddOns:
  Swatter, v5.2.4013 (DingoII)
  WowheadLooter, v30018
  AckisRecipeList, v1.0 RC1 1436
  Altoholic, v3.0.004b
  Atlas, v1.13.0
  AtlasBattlegrounds, v1.13.0
  AtlasDungeonLocs, v1.13.0
  AtlasOutdoorRaids, v1.13.0
  AtlasTransportation, v1.13.0
  AtlasLoot, v5.02.02
  Attrition, v2.4.3-1.4
  AuldLangSyne, v2.0
  Babylonian, v5.1.DEV.130
  BadKitty, v
  BankItems, v30002
  Bartender4, v4.2.3
  BeanCounter, v5.2.4013 (DingoII)
  BossTalk, v3.5130
  BrokeroRA2Targets, v0.1.016
  BrokerRecount, v1.0
  ButtonFacade, v3.0.205
  ButtonFacadeFrozen, v3.0.2
  ButtonFacadeGears, v3.0.2
  ButtonFacadeOnyx, v3.0.2
  ButtonFacadeRothar, v0.4
  ButtonFacadeSerenity, v3.0.2
  ButtonFacadeSleek, v1.0
  ButtonFacadeTrinity, v30000.1
  Chatter, v1.0
  ClearFont2, v2.4
  Clique, vwowi:revision
  Configator, v5.1.DEV.160
  CowTip, v
  DayTrader, v3.0.1.1
  DBMBurningCrusade, v
  DBMCore, v
  DBMLDB, v
  DebugLib, v5.1.DEV.130
  DoTimer, v4.2.4
  FarmIt, v
  FuBar, v
  oRA2, v2.0.$Revision: 628 $
  Recount, v
  SharedMedia, v3.0
  SharedMediaLib, v1.0
  SlideBar, v5.2.4013 (DingoII)
  Stubby, v5.2.4013 (DingoII)
  (ck=456)

User When Change
Ruana Sat, 31 Jan 2009 17:37:02 Create

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

  • 2 comments
  • Avatar of Cheezel Cheezel Sun, 11 Oct 2009 05:36:59

    I have managed to correct the problem where FarmIt does not display when you logon. To fix it you will need to edit the file called FarmIt.lua, go to line 452.

    Now replace that line (and only that line) which currently reads:

                getglobal(slot.."_Count"):SetText(itemCount);
    

    with the following lines.

                local item = getglobal(slot.."_Count");
                if (item) then
                    item:SetText(itemCount);
                end
    

    For those of you reading this who are technical the problem is that the getglobal(slot.."_Count") call is returning a nil.

  • Avatar of cdweller0 cdweller0 Sat, 14 Mar 2009 05:24:49

    Ruana's comment on the addon download page is exactly my situation:

    "I figured out why I am getting the constant errors. If I log out and I have chosen to track a specific number of an item (like 20 Glacial Salmon), and I haven't cleared it once I've reached that goal, when I next log in, FarmIt throws errors and will not work until I've reset it to defaults or deleted the preferences."

  • 2 comments

Facts

Last updated on
11 Oct 2009
Reported on
31 Jan 2009
Status
New - Issue has not had initial review yet.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.

Reported by

Possible assignees

Votes (Total: +6, Average: +3.0)