-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
Scanning Yellowstone crashes with "AttributeError: 'list' object has no attribute 'items' #344
Comments
Thanks for reporting this. It's been a while since I've worked with the Yellowstone provider, sounds like their API is returning inconsistent results. I'll dig into this and see if I can't get it fixed up soon. |
May not be related but I was looking over the console logs as it was running and noticed that it seems to be searching 3 campgrounds and I only specified two. YLYM and YLYF, but it's also doing an API call for YLYB (Bridge Bay Campground).
|
Looks like the API for Yellowstone had some kind of behavior change. Rather than returning I was only able to replicate this once, but I can see it in your debug logging:
#346 will resolve this |
The PR will auto-close this issue when it's merged momentarily and you can resolve this on your end by upgrading camply to the newest version. Please let me know if you encounter any other issues 🤝 |
# [v0.32.6](v0.32.5...v0.32.6) (2024-05-01) ## 🐛 Bug Fixes - [`f4d1b47`](f4d1b47) yellowstone availability response empty (Issues: [`#344`](#344)) [skip ci]
🎉 This issue has been resolved in version 0.32.6 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Describe the bug
When having a continuous scan run, it seems to error quite frequently with "list object has no attribute items" error. Requires me to start the command again. It has happened over the last 2 weeks a dozen times.
Original Camply Command (with
--debug
)camply --provider Yellowstone campsites --campground YLYF:RV --campground YLYM:RV --start-date 2024-06-13 --end-date 2024-06-16 --nights 3 --search-forever --notifications pushover --polling-interval 5 --debug
Additional context
The text was updated successfully, but these errors were encountered: