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.

Server error: AttributeError: 'NoneType' object has no attribute 'num_starts_v2'

See original GitHub issue

This error is being repeatedly logged on stackdriver. It has occurred over 3500 times in the span on 24 hours. This looks like a serious bug, and would need to be handled ASAP.

AttributeError: 'NoneType' object has no attribute 'num_starts_v2'
at update_stats (/core/domain/stats_services.py:127)

/cc @brianrodri could you take a look?

General instructions There are no specific repro steps available for this bug report. The general procedure to fix server errors should be the following:

  • Analyze the code in the file where the error occurred and come up with a hypothesis for the reason.
  • Get the logic of the proposed fix validated by an Oppia team member (have this discussion on the issue thread).
  • Make a PR that fixes the issue, then close the issue on merging the PR. (If the error reoccurs in production, the issue will be reopened for further investigation.)

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
nithusha21commented, Mar 30, 2020

This has been fixed (and doesn’t occur anymore on the prod server)!

0reactions
kevintab95commented, Mar 30, 2020

That’s awesome! Great work @nithusha21!

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

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