tfausak / octane

:rocket: Parse Rocket League replays.
https://www.stackage.org/nightly/package/octane
Other
39 stars 1 forks source link

Don't know how to read property "TAGame.PRI_TA:PawnType" #39

Closed danielsamuels closed 8 years ago

danielsamuels commented 8 years ago

I've been seeing this one fairly often lately. Here are some example replays:

There's a whole load more in this replay pack too, roughly half of the replays fail to parse.

The stack trace I have is this:

octane-0.13.0-osx: Data.Binary.Get.runGet at position 1066: Don't know how to read property "TAGame.PRI_TA:PawnType"
CallStack (from HasCallStack):
  error, called at libraries/binary/src/Data/Binary/Get.hs:342:5 in binary-0.8.3.0:Data.Binary.Get
tfausak commented 8 years ago

Ah, those lovely Haskell "stack traces". I'll take a look at this soon.

tfausak commented 8 years ago

Not that it's any more useful, but here's a complete stack trace:

> stack exec octane https://media.rocketleaguereplays.com/uploads/replay_files/DCB3A6B94A9DBE46FDE5EAA9B012F6C8.replay
octane: Data.Binary.Get.runGet at position 1088: Don't know how to read property "TAGame.PRI_TA:PawnType"
CallStack (from HasCallStack):
  error, called at libraries/binary/src/Data/Binary/Get.hs:342:5 in binary-0.8.3.0:Data.Binary.Get
CallStack (from -prof):
  Octane.Utility.Parser.parseStream.(...) (library/Octane/Utility/Parser.hs:59:5-49)
  Octane.Utility.Parser.parseStream (library/Octane/Utility/Parser.hs:(49,1)-(60,13))
  Octane.Type.ReplayWithFrames.fromReplayWithoutFrames (library/Octane/Type/ReplayWithFrames.hs:(64,1)-(80,9))
  Octane.Type.ReplayWithFrames.get (library/Octane/Type/ReplayWithFrames.hs:(50,5)-(52,51))
  Octane.Type.OptimizedReplay.get (library/Octane/Type/OptimizedReplay.hs:(54,5)-(56,45))
  Octane.Type.Replay.get (library/Octane/Type/Replay.hs:(83,5)-(85,43))
  Octane.Main.decode.replay (library/Octane/Main.hs:76:17-44)
  Octane.Main.decode (library/Octane/Main.hs:(67,1)-(77,23))
  Octane.Main.main1 (library/Octane/Main.hs:(53,1)-(56,27))
  Octane.Main.main (library/Octane/Main.hs:(34,1)-(42,22))