Skip to content
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

[Bug]: Ku-ring-gai Council stopped working #2050

Open
7 tasks done
AnthonyBe opened this issue May 4, 2024 · 0 comments
Open
7 tasks done

[Bug]: Ku-ring-gai Council stopped working #2050

AnthonyBe opened this issue May 4, 2024 · 0 comments
Labels
source defect Defect of a source reported

Comments

@AnthonyBe
Copy link

I Have A Problem With:

A specific source

What's Your Problem

Ku-ring-gai Council has stopped working (sorry, not sure exactly when it stopped, but likely in the last week).
https://www.krg.nsw.gov.au/Community/Waste-and-recycling/Bins-and-collection-days

Source (if relevant)

Ku-ring-gai Council (NSW, Australia)

Logs

2024-05-04 20:33:02.213 ERROR (SyncWorker_4) [waste_collection_schedule.source_shell] fetch failed for source Ku-ring-gai 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/kuringgai_nsw_gov_au.py", line 112, in fetch
    waste_type = item.find('h3').text
                 ^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'text'

Relevant Configuration

No response

Checklist Source Error

  • Use the example parameters for your source (often available in the documentation) (don't forget to restart Home Assistant after changing the configuration)
  • Checked that the website of your service provider is still working
  • Tested my attributes on the service provider website (if possible)
  • I have tested with the latest version of the integration (master) (for HACS in the 3 dot menu of the integration click on "Redownload" and choose master as version)

Checklist Sensor Error

  • Checked in the Home Assistant Calendar tab if the event names match the types names (if types argument is used)

Required

  • I have searched past (closed AND opened) issues to see if this bug has already been reported, and it hasn't been.
  • I understand that people give their precious time for free, and thus I've done my very best to make this problem as easy as possible to investigate.
@5ila5 5ila5 added the source defect Defect of a source reported label May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
source defect Defect of a source reported
Projects
None yet
Development

No branches or pull requests

2 participants