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: 'NoneType' object has no attribute 'text' #175

Open
rollbar bot opened this issue Nov 26, 2020 · 0 comments
Open

AttributeError: 'NoneType' object has no attribute 'text' #175

rollbar bot opened this issue Nov 26, 2020 · 0 comments

Comments

@rollbar
Copy link

rollbar bot commented Nov 26, 2020

View details in Rollbar: https://rollbar.com/bmordue/nb/items/34/

Traceback (most recent call last):
  File "src/app.py", line 87, in <module>
    schedule.run_pending()
  File "/home/ben/Projects/nb/.env/lib/python3.7/site-packages/schedule/__init__.py", line 563, in run_pending
    default_scheduler.run_pending()
  File "/home/ben/Projects/nb/.env/lib/python3.7/site-packages/schedule/__init__.py", line 94, in run_pending
    self._run_job(job)
  File "/home/ben/Projects/nb/.env/lib/python3.7/site-packages/schedule/__init__.py", line 147, in _run_job
    ret = job.run()
  File "/home/ben/Projects/nb/.env/lib/python3.7/site-packages/schedule/__init__.py", line 466, in run
    ret = self.job_func()
  File "src/app.py", line 37, in periodic_populate
    populate()
  File "/home/ben/Projects/nb/.env/lib/python3.7/site-packages/datadog/dogstatsd/context.py", line 56, in wrapped
    return func(*args, **kwargs)
  File "/home/ben/Projects/nb/src/tasks/populate.py", line 46, in populate
    process_batch_with_retries(nb_client.get_story_list(batch), config)
  File "/home/ben/Projects/nb/.env/lib/python3.7/site-packages/datadog/dogstatsd/context.py", line 56, in wrapped
    return func(*args, **kwargs)
  File "/home/ben/Projects/nb/src/connectors/NewsblurConnector.py", line 78, in get_story_list
    story_list = json.loads(stories.text)['stories']
AttributeError: 'NoneType' object has no attribute 'text'
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

0 participants