cPickle ValueError: could not convert string to float

Hi All,

I’m using Unreal’s ART (Animation Rigging Tools) and receive an error when it tries to load a template or a pose file. This happens in both Maya 2015 and 2016. Using cPickle, the error is: “ValueError: could not convert string to float”. I’ve tried changing the open command to “file = open(path, ‘rb’)”, which is supposed to force it to read binary. That is not working and results in the same error. I’ve also tried switching over to pickle.load and it also returns a string to float error. Any thoughts on how to resolve this?

Hey Josh,

You’ve probably figured it out by now, but it’s probably because your source control is using local instead of “unix” line endings.

Explanation is here (search for “Loading A Pose”): https://docs.unrealengine.com/latest/INT/Engine/Content/Tools/MayaRiggingTool/RigTool_Animation/index.html#poseeditor