question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Gracefully handle player record when its None

See original GitHub issue

Update players does not gracefully handle missing player records;

Could not get GSIS id at http://www.nfl.com/player/cedwilson/2560936/profile

Could not find gsis_id for {'status': u'RES', 'last_name': u'Wilson', 'weight': 197, 'profile_id': 2560936, 'number': 16, 'height': 74, 'college': u'Bowie State', 'full_name': u'Ced Wilson', 'first_name': u'Ced', 'years_pro': 0, 'birthdate': u'3/10/1995', 'team': 'DAL', 'position': u'WR', 'profile_url': 'http://www.nfl.com/player/cedwilson/2560936/profile'}

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
ThomasMorganicommented, Sep 11, 2018

yes, this is normal. You would normally get this if a player does not yet have any recorded stats

0reactions
derek-adaircommented, May 2, 2020

Looking closer this is fine. I’m not sure what else we can do here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - Asking the user for input until they give a valid response
The simplest way to accomplish this is to put the input method in a while loop. Use continue when you get bad input,...
Read more >
How to Lose With Class in Fantasy Football - RotoBaller
Play the game - Simple. Finish the season regardless of your record. Do not get upset about an injury to your early draft...
Read more >
How To Say No at Work Politely and Effectively | Fellow.app
Learn how to say no to more work with confidence and clarity while producing high quality work with our do's and don'ts, and...
Read more >
8 Brilliant Tips To Handle a Difficult Coworker [Scenarios]
Learn to deal with difficult coworkers using these practical tips. ... If this isn't the case then it's frankly, none of your business....
Read more >
How to Handle Criticism Like a Pro - Greatist
Listen honestly for a critic's intention. Many people get defensive at the mere possibility of negative feedback. But no one's perfect. It's okay...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found