This error is raised by pickle internally, which seems to fail in loading the passed file.
Could you give us some more information about the file type you are trying to load as well as how it was created?