UKBinCollectionData icon indicating copy to clipboard operation
UKBinCollectionData copied to clipboard

Rugby Borough Council stopped working

Open matt0020190 opened this issue 10 months ago • 2 comments

Name of Council

Rugby borough council

Issue Information

For the past week the entities are unavailable stating the integration is no longer providing this information. I'm running the latest version, is it a council issue?

Verification

  • [X] I searched for similar issues at https://github.com/robbrad/UKBinCollectionData/issues?q=is:issue and found no duplicates
  • [X] I have checked my address/postcode/UPRN works on the council's website
  • [X] I have provided a detailed explanation of the issue as well as steps to replicate the issue
  • [X] I understand that this project is run by volunteer contributors therefore completion of this issue cannot be guaranteed

matt0020190 avatar Apr 16 '24 22:04 matt0020190

Could you post your log file please?

dp247 avatar Apr 17 '24 05:04 dp247

This error originated from a custom integration.

Logger: custom_components.uk_bin_collection.sensor Source: helpers/update_coordinator.py:315 integration: UK Bin Collection Data (documentation, issues) First occurred: April 16, 2024 at 7:59:29 AM (3 occurrences) Last logged: April 16, 2024 at 11:59:49 PM

Unexpected error fetching Chapel Street data: 'NoneType' object has no attribute 'find' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 315, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/uk_bin_collection/sensor.py", line 133, in _async_update_data data = await self.hass.async_add_executor_job(self.ukbcd.run) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/uk_bin_collection/uk_bin_collection/collect_data.py", line 96, in run return self.client_code( ^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/uk_bin_collection/uk_bin_collection/collect_data.py", line 115, in client_code return get_bin_data_class.template_method(address_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/uk_bin_collection/uk_bin_collection/get_bin_data.py", line 78, in template_method bin_data_dict = self.parse_data( ^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/uk_bin_collection/uk_bin_collection/councils/RugbyBoroughCouncil.py", line 72, in parse_data table_rows = soup.find("table", {"class": "table"}).find("tbody").find_all("tr") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'find'

matt0020190 avatar Apr 17 '24 05:04 matt0020190

Tests are showing a lot of success recently image

@matt0020190 can you share postcode and uprn ?

robbrad avatar Sep 09 '24 21:09 robbrad

Tests are showing a lot of success recently image

@matt0020190 can you share postcode and uprn ?

Hey thanks for the reply

Seems to be working again for the last few months, fixed itself with an update somewhere.

Thanks for a great integration!

matt0020190 avatar Sep 09 '24 21:09 matt0020190