ChuckMac / ADRFinder

Self-Hosted, Open Source, Advanced Dining Reservation Notifications for Disney World
Apache License 2.0
37 stars 11 forks source link

Initial Run Error #3

Closed maygregio closed 1 year ago

maygregio commented 2 years ago

Describe the bug Error when launching the app for the first time (local Docker)

To Reproduce Steps to reproduce the behavior:

  1. Clone Docker
  2. Run Docker
  3. Open browser http://127.0.0.1:5500/
  4. See error

From Docker Log 172.17.0.1 - - [13/Apr/2022 12:05:45] "GET / HTTP/1.1" 500 450 25.340285 172.17.0.1 - - [13/Apr/2022 12:05:45] "GET /favicon.ico HTTP/1.1" 200 112296 0.006404 Creating JSON store at /datastore (1) accepted ('172.17.0.1', 59600) (1) accepted ('172.17.0.1', 59602) ERROR:adrfinder:Exception on / [GET] Traceback (most recent call last): File "/usr/local/flask_login/utils.py", line 277, in decorated_view return current_app.ensure_sync(func)(*args, **kwargs) File "/app/adrfinder/init.py", line 350, in index rest_and_times = get_restaurants_and_times() File "/app/adrfinder/init.py", line 1020, in get_restaurants_and_times search_times = rest.get_search_times() File "/app/adrfinder/restaurants.py", line 106, in get_search_times for option in search_data.find_all("option"): AttributeError: 'NoneType' object has no attribute 'find_all'

ChuckMac commented 2 years ago

Thanks for the report. Looks like that would indicate a (hopefully temporary) issue connecting to the Disney website. Does it continue to fail if you bring it down and back up?

ChuckMac commented 1 year ago

Closing stale issue