-
-
Notifications
You must be signed in to change notification settings - Fork 744
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
Source Issue - Newcastle Under-Lyme #1358
Comments
It looks like they've changed the website url and page format that displays the schedule, the script will need updating. |
Strangely getting exact same error for stoke gov uk as well! Hello neighbour 🤣 |
Hi Neighbour. I’m also in Newcastle-under-Lyme and am having the same issue. |
fixed by above PR. |
Many thanks. Sent from my iPhoneOn 4 Nov 2023, at 13:52, 5ila5 ***@***.***> wrote:
fixed by above PR.
Fix will be part of release 1.44.0 or is available now as master version (HACS: 3-dot menu -> redownload -> change version to master)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Hi all, I wonder if someone can help me fix this issue, I'm not getting any updates and the log files show:
Logger: waste_collection_schedule.source_shell
Source: custom_components/waste_collection_schedule/waste_collection_schedule/source_shell.py:136
Integration: waste_collection_schedule (documentation)
First occurred: 15:32:44 (2 occurrences)
Last logged: 15:33:06
fetch failed for source Newcastle Under Lyme Borough Council: Traceback (most recent call last): File "/config/custom_components/waste_collection_schedule/waste_collection_schedule/source_shell.py", line 134, in fetch entries = self._source.fetch() ^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/waste_collection_schedule/waste_collection_schedule/source/newcastle_staffs_gov_uk.py", line 52, in fetch dt = datetime.strptime(cell.text, "%A %d %B %Y").date() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/_strptime.py", line 568, in _strptime_datetime tt, fraction, gmtoff_fraction = _strptime(data_string, format) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/_strptime.py", line 349, in _strptime raise ValueError("time data %r does not match format %r" % ValueError: time data '\n\r\n\r\n\r\n\r\n\r\n <system.web>\r\n \r\n </system.web>\r\n\n' does not match format '%A %d %B %Y'
The text was updated successfully, but these errors were encountered: