volentixlabsinc / venue-server

The backend services for Venue, a community engagement platform for the Volentix community
https://venue.volentix.io
MIT License
6 stars 0 forks source link

AttributeError: 'NoneType' object has no attribute 'select' #239

Closed shawnlauzon closed 6 years ago

shawnlauzon commented 6 years ago

View details in Rollbar: https://rollbar.com/vlabs/Venue/items/45/

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 375, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 632, in __protected_call__
    return self.run(*args, **kwargs)
  File "/code/venue/tasks.py", line 168, in scrape_forum_profile
    start=posts_scrape_start.replace(tzinfo=None)
  File "/code/venue/scrapers/bitcointalk.py", line 355, in scrape_posts
    posts = scraper.scrape_posts(forum_user_id, **kwargs)
  File "/code/venue/scrapers/bitcointalk.py", line 255, in scrape_posts
    posts, start_reached = self._scrape_posts_page(soup, **kwargs)
  File "/code/venue/scrapers/bitcointalk.py", line 207, in _scrape_posts_page
    posts = soup.select('.post')
AttributeError: 'NoneType' object has no attribute 'select'