Name of Council
Bromley
Issue Information
After update, it loaded once, populated sensors, now shows this error:
This error originated from a custom integration.
Logger: custom_components.uk_bin_collection
Source: custom_components/uk_bin_collection/init.py:212
integration: UK Bin Collection Data (documentation, issues)
First occurred: 13:28:16 (7 occurrences)
Last logged: 18:20:24
[UKBinCollection] Unexpected error in async_setup_entry: Unexpected error: Message: Stacktrace: #0 0x5e3a571b0afa #1 0x5e3a56bca60f #2 0x5e3a56c1fa16 #3 0x5e3a56c1fc51 #4 0x5e3a56c6b404 #5 0x5e3a56c6862b #6 0x5e3a56c11842 #7 0x5e3a56c12631 #8 0x5e3a57176689 #9 0x5e3a57179581 #10 0x5e3a57162ca9 #11 0x5e3a5717a13e #12 0x5e3a571493a0 #13 0x5e3a5719dfc8 #14 0x5e3a5719e19b #15 0x5e3a571afe68 #16 0x7a01e17acaa4 #17 0x7a01e1839a64 __clone
[UKBinCollection] Unexpected error in async_setup_entry: Unexpected error: Message: Stacktrace: #0 0x572db9fc7afa #1 0x572db99e160f #2 0x572db9a36a16 #3 0x572db9a36c51 #4 0x572db9a82404 #5 0x572db9a7f62b #6 0x572db9a28842 #7 0x572db9a29631 #8 0x572db9f8d689 #9 0x572db9f90581 #10 0x572db9f79ca9 #11 0x572db9f9113e #12 0x572db9f603a0 #13 0x572db9fb4fc8 #14 0x572db9fb519b #15 0x572db9fc6e68 #16 0x7e92b551eaa4 #17 0x7e92b55aba64 __clone
[UKBinCollection] Unexpected error in async_setup_entry: Unexpected error: Message: Stacktrace: #0 0x5b200a04fafa #1 0x5b2009a6960f #2 0x5b2009abea16 #3 0x5b2009abec51 #4 0x5b2009b0a404 #5 0x5b2009b0762b #6 0x5b2009ab0842 #7 0x5b2009ab1631 #8 0x5b200a015689 #9 0x5b200a018581 #10 0x5b200a001ca9 #11 0x5b200a01913e #12 0x5b2009fe83a0 #13 0x5b200a03cfc8 #14 0x5b200a03d19b #15 0x5b200a04ee68 #16 0x745d92fb8aa4 #17 0x745d93045a64 __clone
[UKBinCollection] Unexpected error in async_setup_entry: Unexpected error: Message: Stacktrace: #0 0x5ec01bc2fafa #1 0x5ec01b64960f #2 0x5ec01b69ea16 #3 0x5ec01b69ec51 #4 0x5ec01b6ea404 #5 0x5ec01b6e762b #6 0x5ec01b690842 #7 0x5ec01b691631 #8 0x5ec01bbf5689 #9 0x5ec01bbf8581 #10 0x5ec01bbe1ca9 #11 0x5ec01bbf913e #12 0x5ec01bbc83a0 #13 0x5ec01bc1cfc8 #14 0x5ec01bc1d19b #15 0x5ec01bc2ee68 #16 0x775da3e89aa4 #17 0x775da3f16a64 __clone
[UKBinCollection] Unexpected error in async_setup_entry: Unexpected error: Message: Stacktrace: #0 0x5c805b95aafa #1 0x5c805b37460f #2 0x5c805b3c9a16 #3 0x5c805b3c9c51 #4 0x5c805b415404 #5 0x5c805b41262b #6 0x5c805b3bb842 #7 0x5c805b3bc631 #8 0x5c805b920689 #9 0x5c805b923581 #10 0x5c805b90cca9 #11 0x5c805b92413e #12 0x5c805b8f33a0 #13 0x5c805b947fc8 #14 0x5c805b94819b #15 0x5c805b959e68 #16 0x70a32cafeaa4 #17 0x70a32cb8ba64 __clone
Traceback (most recent call last):
File "/config/custom_components/uk_bin_collection/init.py", line 348, in _async_update_data
data = await asyncio.wait_for(
^^^^^^^^^^^^^^^^^^^^^^^
...<2 lines>...
)
^
File "/usr/local/lib/python3.13/asyncio/tasks.py", line 507, in wait_for
return await fut
^^^^^^^^^
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.13/site-packages/uk_bin_collection/uk_bin_collection/collect_data.py", line 101, in run
return self.client_code(
council_module.CouncilClass(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<9 lines>...
council_module_str=self.parsed_args.module,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/site-packages/uk_bin_collection/uk_bin_collection/collect_data.py", line 121, in client_code
return get_bin_data_class.template_method(address_url, **kwargs)
File "/usr/local/lib/python3.13/site-packages/uk_bin_collection/uk_bin_collection/get_bin_data.py", line 61, in template_method
bin_data_dict = self.get_and_parse_data(this_url, **kwargs)
File "/usr/local/lib/python3.13/site-packages/uk_bin_collection/uk_bin_collection/get_bin_data.py", line 82, in get_and_parse_data
bin_data_dict = self.parse_data(page, url=address_url, **kwargs)
File "/usr/local/lib/python3.13/site-packages/uk_bin_collection/uk_bin_collection/councils/BromleyBoroughCouncil.py", line 37, in parse_data
wait.until(
~~~~~~~~~~^
EC.presence_of_element_located((By.CLASS_NAME, "waste-service-image"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/site-packages/selenium/webdriver/support/wait.py", line 121, in until
raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:
Stacktrace:
#0 0x61cc04e13afa
https://github.com/robbrad/UKBinCollectionData/issues/1 0x61cc0482d60f
https://github.com/robbrad/UKBinCollectionData/issues/2 0x61cc04882a16
https://github.com/robbrad/UKBinCollectionData/issues/3 0x61cc04882c51
https://github.com/robbrad/UKBinCollectionData/issues/4 0x61cc048ce404
https://github.com/robbrad/UKBinCollectionData/issues/5 0x61cc048cb62b
https://github.com/robbrad/UKBinCollectionData/issues/6 0x61cc04874842
https://github.com/robbrad/UKBinCollectionData/issues/7 0x61cc04875631
https://github.com/robbrad/UKBinCollectionData/issues/8 0x61cc04dd9689
https://github.com/robbrad/UKBinCollectionData/pull/9 0x61cc04ddc581
https://github.com/robbrad/UKBinCollectionData/issues/10 0x61cc04dc5ca9
https://github.com/robbrad/UKBinCollectionData/pull/11 0x61cc04ddd13e
https://github.com/robbrad/UKBinCollectionData/pull/12 0x61cc04dac3a0
https://github.com/robbrad/UKBinCollectionData/issues/13 0x61cc04e00fc8
https://github.com/robbrad/UKBinCollectionData/issues/14 0x61cc04e0119b
https://github.com/robbrad/UKBinCollectionData/issues/15 0x61cc04e12e68
https://github.com/robbrad/UKBinCollectionData/issues/16 0x71e1e1fa5aa4
https://github.com/robbrad/UKBinCollectionData/pull/17 0x71e1e2032a64 __clone
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 416, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/uk_bin_collection/init.py", line 383, in _async_update_data
raise UpdateFailed(f"Unexpected error: {exc}") from exc
homeassistant.helpers.update_coordinator.UpdateFailed: Unexpected error: Message:
Stacktrace:
#0 0x61cc04e13afa
https://github.com/robbrad/UKBinCollectionData/issues/1 0x61cc0482d60f
https://github.com/robbrad/UKBinCollectionData/issues/2 0x61cc04882a16
https://github.com/robbrad/UKBinCollectionData/issues/3 0x61cc04882c51
https://github.com/robbrad/UKBinCollectionData/issues/4 0x61cc048ce404
https://github.com/robbrad/UKBinCollectionData/issues/5 0x61cc048cb62b
https://github.com/robbrad/UKBinCollectionData/issues/6 0x61cc04874842
https://github.com/robbrad/UKBinCollectionData/issues/7 0x61cc04875631
https://github.com/robbrad/UKBinCollectionData/issues/8 0x61cc04dd9689
https://github.com/robbrad/UKBinCollectionData/pull/9 0x61cc04ddc581
https://github.com/robbrad/UKBinCollectionData/issues/10 0x61cc04dc5ca9
https://github.com/robbrad/UKBinCollectionData/pull/11 0x61cc04ddd13e
https://github.com/robbrad/UKBinCollectionData/pull/12 0x61cc04dac3a0
https://github.com/robbrad/UKBinCollectionData/issues/13 0x61cc04e00fc8
https://github.com/robbrad/UKBinCollectionData/issues/14 0x61cc04e0119b
https://github.com/robbrad/UKBinCollectionData/issues/15 0x61cc04e12e68
https://github.com/robbrad/UKBinCollectionData/issues/16 0x71e1e1fa5aa4
https://github.com/robbrad/UKBinCollectionData/pull/17 0x71e1e2032a64 __clone
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/config/custom_components/uk_bin_collection/init.py", line 212, in async_setup_entry
await coordinator.async_config_entry_first_refresh()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 317, in async_config_entry_first_refresh
await self._async_config_entry_first_refresh()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_config_entry_first_refresh
raise ex
homeassistant.exceptions.ConfigEntryNotReady: Unexpected error: Message:
Stacktrace:
#0 0x61cc04e13afa
https://github.com/robbrad/UKBinCollectionData/issues/1 0x61cc0482d60f
https://github.com/robbrad/UKBinCollectionData/issues/2 0x61cc04882a16
https://github.com/robbrad/UKBinCollectionData/issues/3 0x61cc04882c51
https://github.com/robbrad/UKBinCollectionData/issues/4 0x61cc048ce404
https://github.com/robbrad/UKBinCollectionData/issues/5 0x61cc048cb62b
https://github.com/robbrad/UKBinCollectionData/issues/6 0x61cc04874842
https://github.com/robbrad/UKBinCollectionData/issues/7 0x61cc04875631
https://github.com/robbrad/UKBinCollectionData/issues/8 0x61cc04dd9689
https://github.com/robbrad/UKBinCollectionData/pull/9 0x61cc04ddc581
https://github.com/robbrad/UKBinCollectionData/issues/10 0x61cc04dc5ca9
https://github.com/robbrad/UKBinCollectionData/pull/11 0x61cc04ddd13e
https://github.com/robbrad/UKBinCollectionData/pull/12 0x61cc04dac3a0
https://github.com/robbrad/UKBinCollectionData/issues/13 0x61cc04e00fc8
https://github.com/robbrad/UKBinCollectionData/issues/14 0x61cc04e0119b
https://github.com/robbrad/UKBinCollectionData/issues/15 0x61cc04e12e68
https://github.com/robbrad/UKBinCollectionData/issues/16 0x71e1e1fa5aa4
https://github.com/robbrad/UKBinCollectionData/pull/17 0x71e1e2032a64 __clone
### 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
Name of Council
Bromley
Issue Information
After update, it loaded once, populated sensors, now shows this error:
This error originated from a custom integration.
Logger: custom_components.uk_bin_collection
Source: custom_components/uk_bin_collection/init.py:212
integration: UK Bin Collection Data (documentation, issues)
First occurred: 13:28:16 (7 occurrences)
Last logged: 18:20:24
[UKBinCollection] Unexpected error in async_setup_entry: Unexpected error: Message: Stacktrace: #0 0x5e3a571b0afa #1 0x5e3a56bca60f #2 0x5e3a56c1fa16 #3 0x5e3a56c1fc51 #4 0x5e3a56c6b404 #5 0x5e3a56c6862b #6 0x5e3a56c11842 #7 0x5e3a56c12631 #8 0x5e3a57176689 #9 0x5e3a57179581 #10 0x5e3a57162ca9 #11 0x5e3a5717a13e #12 0x5e3a571493a0 #13 0x5e3a5719dfc8 #14 0x5e3a5719e19b #15 0x5e3a571afe68 #16 0x7a01e17acaa4 #17 0x7a01e1839a64 __clone
[UKBinCollection] Unexpected error in async_setup_entry: Unexpected error: Message: Stacktrace: #0 0x572db9fc7afa #1 0x572db99e160f #2 0x572db9a36a16 #3 0x572db9a36c51 #4 0x572db9a82404 #5 0x572db9a7f62b #6 0x572db9a28842 #7 0x572db9a29631 #8 0x572db9f8d689 #9 0x572db9f90581 #10 0x572db9f79ca9 #11 0x572db9f9113e #12 0x572db9f603a0 #13 0x572db9fb4fc8 #14 0x572db9fb519b #15 0x572db9fc6e68 #16 0x7e92b551eaa4 #17 0x7e92b55aba64 __clone
[UKBinCollection] Unexpected error in async_setup_entry: Unexpected error: Message: Stacktrace: #0 0x5b200a04fafa #1 0x5b2009a6960f #2 0x5b2009abea16 #3 0x5b2009abec51 #4 0x5b2009b0a404 #5 0x5b2009b0762b #6 0x5b2009ab0842 #7 0x5b2009ab1631 #8 0x5b200a015689 #9 0x5b200a018581 #10 0x5b200a001ca9 #11 0x5b200a01913e #12 0x5b2009fe83a0 #13 0x5b200a03cfc8 #14 0x5b200a03d19b #15 0x5b200a04ee68 #16 0x745d92fb8aa4 #17 0x745d93045a64 __clone
[UKBinCollection] Unexpected error in async_setup_entry: Unexpected error: Message: Stacktrace: #0 0x5ec01bc2fafa #1 0x5ec01b64960f #2 0x5ec01b69ea16 #3 0x5ec01b69ec51 #4 0x5ec01b6ea404 #5 0x5ec01b6e762b #6 0x5ec01b690842 #7 0x5ec01b691631 #8 0x5ec01bbf5689 #9 0x5ec01bbf8581 #10 0x5ec01bbe1ca9 #11 0x5ec01bbf913e #12 0x5ec01bbc83a0 #13 0x5ec01bc1cfc8 #14 0x5ec01bc1d19b #15 0x5ec01bc2ee68 #16 0x775da3e89aa4 #17 0x775da3f16a64 __clone
[UKBinCollection] Unexpected error in async_setup_entry: Unexpected error: Message: Stacktrace: #0 0x5c805b95aafa #1 0x5c805b37460f #2 0x5c805b3c9a16 #3 0x5c805b3c9c51 #4 0x5c805b415404 #5 0x5c805b41262b #6 0x5c805b3bb842 #7 0x5c805b3bc631 #8 0x5c805b920689 #9 0x5c805b923581 #10 0x5c805b90cca9 #11 0x5c805b92413e #12 0x5c805b8f33a0 #13 0x5c805b947fc8 #14 0x5c805b94819b #15 0x5c805b959e68 #16 0x70a32cafeaa4 #17 0x70a32cb8ba64 __clone
Traceback (most recent call last):
File "/config/custom_components/uk_bin_collection/init.py", line 348, in _async_update_data
data = await asyncio.wait_for(
^^^^^^^^^^^^^^^^^^^^^^^
...<2 lines>...
)
^
File "/usr/local/lib/python3.13/asyncio/tasks.py", line 507, in wait_for
return await fut
^^^^^^^^^
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.13/site-packages/uk_bin_collection/uk_bin_collection/collect_data.py", line 101, in run
return self.client_code(
council_module.CouncilClass(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<9 lines>...
council_module_str=self.parsed_args.module,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/site-packages/uk_bin_collection/uk_bin_collection/collect_data.py", line 121, in client_code
return get_bin_data_class.template_method(address_url, **kwargs)