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

Kirkless still having issues after new merge (December 2024) #1129

Closed
4 tasks done
idarkside opened this issue Jan 4, 2025 · 0 comments · Fixed by #1132
Closed
4 tasks done

Kirkless still having issues after new merge (December 2024) #1129

idarkside opened this issue Jan 4, 2025 · 0 comments · Fixed by #1132
Labels
bug Something isn't working home assistant custom component Something related to the home assistant custom component

Comments

@idarkside
Copy link

Home Assistant Version

2024.12.3

Installation Method

Using HACS

Name of Council (if relevant)

Kirklees Council

Issue Information

Hi,

Kirklees is still not working please see the error below

`
This error originated from a custom integration.

Logger: custom_components.uk_bin_collection
Source: custom_components/uk_bin_collection/init.py:250
integration: UK Bin Collection Data (documentation, issues)
First occurred: 5:59:26 PM (40 occurrences)
Last logged: 6:34:03 PM

[UKBinCollection] Unexpected error: [Errno 2] No such file or directory: '/root/.cache/selenium/chromedriver/linux64/131.0.6778.204/chromedriver'
Traceback (most recent call last):
File "/config/custom_components/uk_bin_collection/init.py", line 250, 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/KirkleesCouncil.py", line 46, in parse_data
return self._parse_data(*args, **kwargs)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/uk_bin_collection/uk_bin_collection/councils/KirkleesCouncil.py", line 69, in _parse_data
self._driver = driver = webdriver.Chrome()
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/selenium/webdriver/chrome/webdriver.py", line 45, in init
super().init(
~~~~~~~~~~~~~~~~^
browser_name=DesiredCapabilities.CHROME["browserName"],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<3 lines>...
keep_alive=keep_alive,
^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/site-packages/selenium/webdriver/chromium/webdriver.py", line 55, in init
self.service.start()
~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/selenium/webdriver/common/service.py", line 104, in start
self._start_process(self._path)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/selenium/webdriver/common/service.py", line 214, in _start_process
self.process = subprocess.Popen(
~~~~~~~~~~~~~~~~^
cmd,
^^^^
...<7 lines>...
**self.popen_kw,
^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/subprocess.py", line 1036, in init
self._execute_child(args, executable, preexec_fn, close_fds,
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pass_fds, cwd, env,
^^^^^^^^^^^^^^^^^^^
...<5 lines>...
gid, gids, uid, umask,
^^^^^^^^^^^^^^^^^^^^^^
start_new_session, process_group)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/subprocess.py", line 1966, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/selenium/chromedriver/linux64/131.0.6778.204/chromedriver'
`

Verification

@idarkside idarkside added bug Something isn't working home assistant custom component Something related to the home assistant custom component labels Jan 4, 2025
@robbrad robbrad closed this as completed in a3bae15 Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working home assistant custom component Something related to the home assistant custom component
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant