Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'CSVDedupe' object has no attribute 'field_def' #81

Closed
ysfdc opened this issue Mar 7, 2018 · 4 comments · Fixed by #82
Closed

AttributeError: 'CSVDedupe' object has no attribute 'field_def' #81

ysfdc opened this issue Mar 7, 2018 · 4 comments · Fixed by #82

Comments

@ysfdc
Copy link

ysfdc commented Mar 7, 2018

In the following line, it references a member that doesn't exist:

self.field_names = [self.field_def['field']
                                for field_def in self.field_definition]

Should be

self.field_names = [field_def['field']
                                for field_def in self.field_definition]
@lw334
Copy link

lw334 commented Mar 8, 2018

same error!

@lw334
Copy link

lw334 commented Mar 8, 2018

@fgregg

reidab added a commit to reidab/csvdedupe that referenced this issue Mar 11, 2018
@fgregg fgregg closed this as completed in #82 Jun 4, 2019
@sskadamb
Copy link

Is this change updated in pip? I still see:

self.field_names = [self.field_def['field'] for field_def in self.field_definition]

@ghost
Copy link

ghost commented Sep 21, 2020

@fgregg @reidab This change doesn't appear to have made it to PyPI. I have 0.1.20, but I still get this error.

EDIT: Sorry, I was wrong. I had to uninstall and reinstall before my system picked up the changes in the new version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants