You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the past 25 minutes (so 5 executions). I have received this exception once.
...
No delivery slot is found.
Visiting main website...
Visiting cart page...
Traceback (most recent call last):
File "check_if_delivery_slot_available.py", line 48, in wrapper
return job_func(*args, **kwargs)
File "check_if_delivery_slot_available.py", line 70, in job
addr_id = notifier.visit_cart_page_and_get_address_id()
File "/home/ox/code/bigbasket-notifier/src/notifier.py", line 105, in visit_cart_page_and_get_address_id
addr_id = self._find_address_id(resp.text)
File "/home/ox/code/bigbasket-notifier/src/notifier.py", line 121, in _find_address_id
return html.split("'addr_id'")[1][:30].split()[1]
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
Yep, It seems to happen occasionally for me as well although it shouldn't crash the program because of exceptions check. Issue looks to be related with BigBasket's website.
Solution to more stability can be discussed with #2 since its closely related with it.
In the past 25 minutes (so 5 executions). I have received this exception once.
The text was updated successfully, but these errors were encountered: