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

TypeError: unsupported operand type(s) for +: 'float' and 'NoneType' #2031

Closed
mbeacom opened this issue Aug 20, 2018 · 0 comments
Closed

TypeError: unsupported operand type(s) for +: 'float' and 'NoneType' #2031

mbeacom opened this issue Aug 20, 2018 · 0 comments

Comments

@mbeacom
Copy link
Contributor

mbeacom commented Aug 20, 2018

https://sentry.gitcoin.co/gitcoin/gitcoin-prod-backend/issues/577/

TypeError: unsupported operand type(s) for +: 'float' and 'NoneType'
(1 additional frame(s) were not displayed)
...
  File "retail/views.py", line 407, in results
    context = build_stat_results(keyword)
  File "retail/utils.py", line 239, in build_stat_results
    results = build_stat_results_helper(keyword)
  File "retail/utils.py", line 360, in build_stat_results_helper
    total_tips_usd = sum([tip.value_in_usdt for tip in Tip.objects.filter(network='mainnet').exclude(txid='')])

TypeError: unsupported operand type(s) for +: 'float' and 'NoneType'
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

No branches or pull requests

1 participant