-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
Reserve California doesn't work for me. #273
Comments
I'm not able to replicate your issue. Could you include the full output with the traceback? camply --debug campsites \
--provider ReserveCalifornia \
--campground 641 \
--start-date 2023-08-30 \
--end-date 2023-09-01 \
--nights 2 \
--notifications pushover \
--polling-interval 5 \
--search-forever \
--continuous [2023-06-18 18:20:44] CAMPLY camply, the campsite finder ⛺️
[2023-06-18 18:20:44] DEBUG Setting up camply debugging
[2023-06-18 18:20:44] DEBUG Camply Version: 0.24.2
[2023-06-18 18:20:44] DEBUG Python Version: 3.11.3
[2023-06-18 18:20:44] DEBUG Platform: darwin
[2023-06-18 18:20:44] INFO Using Camply Provider: "ReserveCalifornia"
[2023-06-18 18:20:44] INFO 2 booking nights selected for search, ranging from 2023-08-30 to 2023-08-31
[2023-06-18 18:20:44] INFO Searching for availabilities with 2 consecutive night stays.
[2023-06-18 18:20:44] ERROR No Campsites Found Matching Your Search Criteria
[2023-06-18 18:20:44] CAMPLY Exiting camply 👋 Your command is giving me a different output, it seems like |
I used the command you shared and I also tries it with rec-area. In both cases, I get the same error - KeyError: 'reservecalifornia' Currently I have version 0.4.9 installed. Is there something else I should try? Detailed error: [2023-06-18 18:02:00] DEBUG Setting up camply debugging |
I am using Ubuntu 18.04. It looks like most up to date version for camply is 0.24.2 but not sure why do I have 0.4.9 ERROR: Could not find a version that satisfies the requirement camply==0.24.2 (from versions: 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.1.10, 0.1.12, 0.1.13, 0.1.14, 0.1.15, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.3.0, 0.3.1, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7, 0.4.8, 0.4.9) |
@aniketde you're using Python 3.6 which camply no longer supports since it was EOL'd back in 2021 - that's why PyPI isn't listing any recent versions of camply. Use Python 3.8 or greater to use the latest and greatest camply features. I recommend |
Thank you! This resolves the issue. But reservecalifornia doesn't look stable. It works for sometime and then gives the following error: /home/user/.local/lib/python3.8/site-packages/camply/search/base_search.py:574 in │ The above exception was the direct cause of the following exception: ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ |
Thank you. I missed this comment. I tried the same thing again but it exists after checking once (does not search forever). camply --debug campsites [2023-07-10 17:31:49] CAMPLY camply, the campsite finder ⛺️ |
Circling back to an earlier comment on this thread
Let me know if that resolves it for you. |
I was able to run when I change --campground to --rec-area. It works :). I ran it overnight but the script fails after 5-6 hours. For example error was: "504 Server Error: Gateaway Time-out for url: https://calirdr.usedirect.com/rdr/rdr/search/grid". May be it's an issue from reservecalifornia side? |
Alright, camply wasn't actually handling server exit codes at all for UseDirect providers (ReserveCalifornia and more). I've released camply v0.29.0 which should make ReserveCalifornia a whole lot more reliable. When it encounters a server status code, like a 503 response, it will retry for up to 100 minutes using exponential backoff. This should be good to go🤞 |
👀 any word on this? I'm thinking ReserveCalifornia is looking more resilient? |
Describe the bug
When attempting to fetch campsites from the provider "ReserveCalifornia" using the camply campsites command a KeyError is thrown, specifically "KeyError: 'reservecalifornia' ". It appears that the software is unable to correctly process the specified provider name.
Original Camply Command (with
--debug
)Expected behavior
<I expected the program to fetch available campsites for the specified campground (641) from the ReserveCalifornia provider for the specified date range. It should then continuously monitor for availability at this campground and notify via Pushover whenever availability is found.. >
Console Output (with
--debug
)Additional context
< Add any other context about the problem here. >
The text was updated successfully, but these errors were encountered: