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

Nicknames and database entry #27

Open
knilssen opened this issue Jan 12, 2018 · 0 comments
Open

Nicknames and database entry #27

knilssen opened this issue Jan 12, 2018 · 0 comments
Labels

Comments

@knilssen
Copy link
Owner

On article id = 300

['maria cantwell', 'cathy mcmorris rodgers', 'patty murray', 'jaime herrera beutler', 'dan newhouse', 'dave reichert']

ERROR: PROBLEM WITH MYSQL_ARTICLE_PERSON_LINK
MOST LIKELY HAS TO DO WITH PERSON NOT BEING IN DATABASE TABLE NEWS_PEOPLE


ARTICLE_ID:                       300
ARTICLE_PEOPLE:                   {'maria cantwell': 1, 'cathy mcmorris rodgers': 1, 'patty murray': 1, 'jaime herrera beutler': 1, 'dan newhouse': 1, 'dave reichert': 1}
PERSON:                           davereichert
MENTION_PERCENTAGE:               7.14
ARTICLE_TOTAL_COUNT_MENTIONS:     14
ERROR ON LINE 55:
         data = data[0]
PRINT DATA:
         []

dave reichert is the nickname for david reichert. For some reason we are passing the nicknamed version from petext to mysql_article_person_link.py for database entry

@knilssen knilssen added the bug label Jan 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant