-
Notifications
You must be signed in to change notification settings - Fork 238
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
Need help on Break the loop after exception issue. #65
Comments
I think your start day is after the end date which is causing the error. |
@ggzica I already changed that but I got the same issue. |
Hi guys, |
@calderonsin do you have any resolution? |
Indeed, that's the case, in order to solve this issue remove the UTF8 line from the code and the script will be able to book an appointment. I've forked this repo and working on a way to automatically detect the end date, and to automatically set the date as now() +2 and put the whole script in a loop, so it keeps early dates (Ex: My appointment date 2025-10-10 , first loop detects that there is an appointment at 2024-10-10 and books it, now my appointment date is 2024-10-10, script will try to get a date before that also and on repeat). |
@ggzica Hi, do u posted your forked repo? |
Not yet, once it's finalized and without bugs i will finalize it. |
@ggzica okey, thanks for helping man |
I’m able to book but stuck at break the loop exception. Sometimes it works but mostly it throws the exception, please let me know how did you manage to solve break the loop problem. booking problem is solved for me after deleting the line mentioned upwards. |
@ggzica Were you able to implement the solution the way you described here? |
The error is at this line - Changed it to this and it works for me. RETRY_WAIT_TIME = random.randint(int(RETRY_TIME_L_BOUND), int(RETRY_TIME_U_BOUND)) |
Need you help on this error. I am always getting this error when i started the program. break the loop after 1 try.
I am using Saroosh file.
The text was updated successfully, but these errors were encountered: