pywikibot-catfiles / file-metadata

A python package to analyze files and provide useful metadata
MIT License
15 stars 1 forks source link

dlib deserializing object of type int64 #70

Open drtrigon opened 8 years ago

drtrigon commented 8 years ago

file_metadata/image/image_file.py:668: RuntimeError --> https://bpaste.net/show/51e999341db2

AbdealiLoKo commented 8 years ago

Could this be because the file is corrupt ? This seems like the only file which we don't check with checksum. I believe if that's added this could be avoided

drtrigon commented 8 years ago

You're referring to the dlib archive? Does pip not check that?

AbdealiLoKo commented 8 years ago

Not the dlib archive, the dlib shape data file which is downloaded independantly

drtrigon commented 8 years ago

I see...

So we need at least a checksum test and warning printed to find a correlation. Then if this is the issue need to re-attempt a download during testing.