Talented

172 - lua error in encode.lua

What steps will reproduce the problem?
1. Just hanging around in town, not sure what triggered it, probably a mouseover or party member in range.

What is the expected output? What do you see instead?
lua error below

What version of Talented are you using? what version of the Wow client are you using?
r745 on wow 4.3, but its been happening with older versions of Talented as well

Do you have an error log of what happened?

Date: 2011-12-21 12:12:07
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\Talented\encode.lua line 245:
   attempt to perform arithmetic on local 'r2' (a nil value)
Debug:
   (tail call): ?
   Talented\encode.lua:245 TemplateToString()
   Talented\encode.lua:261 PackTemplate()
   Talented_Inspect\inspectui.lua:131 ?()
   ...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:147
      ...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:147
   [string "safecall Dispatcher[2]"]:4:
      [string "safecall Dispatcher[2]"]:4
   [C]: ?
   [string "safecall Dispatcher[2]"]:13: ?()
   ...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:92 Fire()
   Ace3\AceEvent-3.0\AceEvent-3.0.lua:120
      Ace3\AceEvent-3.0\AceEvent-3.0.lua:119
AddOns:
  Swatter, v5.13.5241 (BoldBandicoot)
  NPCScan, v4.3.0.1
  Ace3, v
  ACP, v3.3.17
  AddonLoader, v2.0
  Archy, v1.8.9
  Arh, v0.93
  AtlasLoot, vv6.05.02
  AtlasLootCataclysm, vv6.05.02
  AtlasLootLoader, vv6.05.02
  Babylonian, v5.1.DEV.312(/embedded)
  BigBrother, v@project-version@
  BrokerAFK, v@project-version@
  BrokerCPU, v40100
  BrokerHealBot, v@project-version@
  BrokerItemRack, v1.9
  BrokeroRA3, v1.0
  BrokerTolBarad, v1.9
  CalendarExtras, v1.5.7
  CastMount, v1.4
  ChocolateBar, vv2.2.4
  CombatTime, v@project-version@
  Configator, v5.1.DEV.312(/embedded)
  CopyThat, v
  CurrencyAlert, v4.2.0-r2
  DBMCore, v
  DBMLDB, v
  DBMSpellTimers, v
  DBMWorldEvents, v
  DebugLib, v5.1.DEV.312(/embedded)
  DeclineDuel, v1.0
  DomDom, v
  DomDomSoundPack01, v
  DomDomSoundPack02, v
  DomDomSoundPack03, v
  DomDomSoundPack04, v
  Elephant, vr220
  EnhancedStackSplit, v40300-1
  EnsidiaFails, v288
  EnsidiaFailsWotLK, v
  FishingBuddy, v1.0.7c
  FlareUp, v1.33
  Gatherer, v3.2.4
  GathererHUD, v3.2.4
  GnomishInterrupter, v
  GTFO, v4.11.3
  HealBot, v4.3.0.0
  InspectFix, v2.4
  ItemID, v1.8.3
  ItemRack, v
  LFGCallToArmsBroker, v1.0.2
  LibSink20, v
  LibTalentQuery10, v$Rev: 87 $
  MacroBank, v1.10
  MassMailer, v2.0.2
  NeedyGreedy, v1.9.2
  Omen, v3.1.5
  oRA3, v
  OscarMods, v1.0
  Overachiever, v0.65
  PowerAuras, v4.23
  Prat30, v3.4.25    
  Prat30Libraries, v
  ProfessionsVault, v@project-version@
  PutGuildBack, v
  Quartz, v3.0.8
  QuestLogCollapse, v
  QuestLogCollapseAllButton, v1.0
  RaidAchievement, v1.086
  RaidAchievementAchieveReminder, v
  RaidBuffStatus, vv4.16g-beta
  RangeDisplay, vv3.9.8
  RepairBroker, v4.3.0
  RoleIcons, v@project-version@
  SavedInstances, v@project-version@
  ShamanFriend, v2.32
  SimpleGearReadyCheck, vV4.3
  Skada, v1.3-10
  SkadaAbsorbs, v1.0
  SkadaAvoidanceMitigation, v1.0
  SkadaCC, v1.0
  SkadaDamage, v1.0
  SkadaDamageTaken, v1.0
  SkadaDeaths, v1.0
  SkadaDispels, v1.0
  SkadaEnemies, v1.0
  SkadaEnsidiaFails, v1.2.3
  SkadaHealing, v1.0
  SkadaPower, v1.0
  SkadaThreat, v1.0
  StrataFix, v@project-version@
  Stubby, v5.13.5241 (BoldBandicoot)
  Talented, vr745
  TalentedInspect, vr745
  tekKompare, v3.3.0.8
  TierTooltip, v1.5
  TimeToDie, vv1.3
  TipTac, v11.09.29
  TipTacItemRef, v11.09.29
  TipTacTalents, v11.09.29
  TomTom, vv40300-1.4.4
  TomTomPing, v1.1 r022
  TradeForwarder, v2.20
  UnifiedTankFrames, v1.2.4
  XLoot, v0.91.2
  XLootMaster, v0.82
  BlizRuntimeLib_enUS v4.3.0.40300 <us>
  (ck=9c2)

User When Change
oscarucb Dec 21, 2011 at 17:16 UTC Create

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

  • 2 comments
  • Avatar of oscarucb oscarucb Jan 09, 2012 at 13:08 UTC - 0 likes

    Ticket 155 and ticket 168 are all this same problem. This is clearly a wide-spread bug. Can we please make it a priority to fix this?

    I've applied the following change in my copy of encode.lua and it stopped the error messages, but I have no idea what this code is doing to evaluate if this fix is actually correct.

    243                         r1, index = get_next_valid_index(tmpl, index, talents)
    244                         r2, index = get_next_valid_index(tmpl, index, talents)
    245                         -- oscarucb
    246                         local v = (r1 or 0) * 6 + (r2  or 0) + 1
    
  • Avatar of keLston keLston Jan 03, 2012 at 08:31 UTC - 0 likes

    94x Talented-v3.0.3-beta2\encode.lua:175 attempt to get length of field "?" (a nil value)
    Talented-v3.0.3-beta2\encode.lua:175 in function "StringToTemplate"
    Talented-v3.0.3-beta2\encode.lua:270 in function "UnpackTemplate"
    Talented_Inspect-v3.0.3-beta2\inspectui.lua:114 in function "?"
    Ace3-r1044\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:147 in function <Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:147
    <string>:"safecall Dispatcher[2]":4: in function <string>:"safecall Dispatcher[2]":4
    <in C code>
    <string>:"safecall Dispatcher[2]":13: in function "?"
    Ace3-r1044\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:92 in function "Fire"
    Ace3-r1044\AceEvent-3.0\AceEvent-3.0-3.lua:120 in function <Ace3\AceEvent-3.0\AceEvent-3.0.lua:119

    Locals:
    nil

    Same happens with 3.0.3 beta2

  • 2 comments

Facts

Last updated
Mar 30, 2012
Reported
Dec 21, 2011
Status
New - Issue has not had initial review yet.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
1

Reported by

Possible assignees