dedupeio / dedupe-examples

:id: Examples for using the dedupe library
MIT License
404 stars 216 forks source link

writeSettings with 'index = True' gives error for saving the result of blocker.indexAll #79

Closed mehrrsaa closed 6 years ago

mehrrsaa commented 6 years ago

Hi,

I am trying to minimize runtime for future runs by saving the results of gazetteer_obj.blocker.indexAll(master_data) to a settings file as follows: with open(filename, 'wb') as new_sf: gazetteer_obj.writeSettings(new_sf, index = True)

The issue is that without 'index = True' the result is not saved, and when I set it to True I get the following error when it tries to save the indices: 'RuntimeError: maximum recursion depth exceeded'

Thank you

mehrrsaa commented 6 years ago

It seems to be a still open issue. I will look into solutions and if I find any will post here. https://github.com/dedupeio/dedupe/issues/395

fgregg commented 6 years ago

Dupe of dedupeio/dedupe#395