custom-components / zaptec

zaptec charger custom component for home assistant
MIT License
66 stars 20 forks source link

Error 500 - Config flow #57

Closed aleqsss closed 1 year ago

aleqsss commented 1 year ago

Hi,

When trying to add this integration to Home Assistant, I get following error: image

I add it first via HACS then Settings -> Devices & Services -> ADD INTEGRATION, I've tried to reboot and reinstall etc.

In the logs of my Home Assistant I can see the following: homeassistant.requirements.RequirementsNotFound: Requirements for zaptec not found: ['azure-servicebus==7.0.1']. 2023-09-01 00:49:30.890 ERROR (MainThread) [aiohttp.server] Error handling request

_Logger: aiohttp.server Source: requirements.py:275 First occurred: 00:49:30 (5 occurrences) Last logged: 00:58:01

Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request resp = await request_handler(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/aiohttp/web_middlewares.py", line 117, in impl return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 85, in security_filter_middleware return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 80, in ban_middleware return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 148, in handle result = await handler(request, *request.match_info) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 149, in post return await super().post(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 72, in wrapper result = await method(view, request, data, args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 71, in post result = await self._flow_mgr.async_init( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/config_entries.py", line 847, in async_init flow, result = await task ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/config_entries.py", line 865, in _async_init flow = await self.async_create_flow(handler, context=context, data=data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/config_entries.py", line 967, in async_create_flow await _load_integration(self.hass, handler_key, self._hass_config) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2034, in _load_integration await async_process_deps_reqs(hass, hass_config, integration) File "/usr/src/homeassistant/homeassistant/setup.py", line 420, in async_process_deps_reqs await requirements.async_get_integration_with_requirements( File "/usr/src/homeassistant/homeassistant/requirements.py", line 52, in async_get_integration_with_requirements return await manager.async_get_integration_with_requirements(domain) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/requirements.py", line 171, in async_get_integration_with_requirements await self._async_process_integration(integration, done) File "/usr/src/homeassistant/homeassistant/requirements.py", line 186, in _async_process_integration await self.async_process_requirements( File "/usr/src/homeassistant/homeassistant/requirements.py", line 246, in async_process_requirements self._raise_for_failed_requirements(name, missing) File "/usr/src/homeassistant/homeassistant/requirements.py", line 275, in _raise_for_failedrequirements raise RequirementsNotFound(integration, [req]) homeassistant.requirements.RequirementsNotFound: Requirements for zaptec not found: ['azure-servicebus==7.0.1'].

_Logger: aiohttp.server Source: requirements.py:290 First occurred: 00:45:09 (1 occurrences) Last logged: 00:45:09

Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request resp = await request_handler(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/aiohttp/web_middlewares.py", line 117, in impl return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 85, in security_filter_middleware return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 80, in ban_middleware return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 148, in handle result = await handler(request, *request.match_info) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 149, in post return await super().post(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 72, in wrapper result = await method(view, request, data, args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 71, in post result = await self._flow_mgr.async_init( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/config_entries.py", line 847, in async_init flow, result = await task ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/config_entries.py", line 865, in _async_init flow = await self.async_create_flow(handler, context=context, data=data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/config_entries.py", line 967, in async_create_flow await _load_integration(self.hass, handler_key, self._hass_config) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2034, in _load_integration await async_process_deps_reqs(hass, hass_config, integration) File "/usr/src/homeassistant/homeassistant/setup.py", line 420, in async_process_deps_reqs await requirements.async_get_integration_with_requirements( File "/usr/src/homeassistant/homeassistant/requirements.py", line 52, in async_get_integration_with_requirements return await manager.async_get_integration_with_requirements(domain) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/requirements.py", line 171, in async_get_integration_with_requirements await self._async_process_integration(integration, done) File "/usr/src/homeassistant/homeassistant/requirements.py", line 186, in _async_process_integration await self.async_process_requirements( File "/usr/src/homeassistant/homeassistant/requirements.py", line 252, in async_process_requirements await self._async_process_requirements(name, missing) File "/usr/src/homeassistant/homeassistant/requirements.py", line 290, in _async_processrequirements raise RequirementsNotFound(name, list(failures)) homeassistant.requirements.RequirementsNotFound: Requirements for zaptec not found: ['azure-servicebus==7.0.1'].

_Logger: homeassistant.util.package Source: util/package.py:107 First occurred: 00:43:12 (3 occurrences) Last logged: 00:45:09

Unable to install package azure-servicebus==7.0.1: error: subprocess-exited-with-error × Building wheel for uamqp (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [102 lines of output] running bdist_wheel running build running build_py creating build creating build/lib.linux-aarch64-cpython-311 creating build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/utils.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/types.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/session.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/sender.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/receiver.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/mgmt_operation.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/message.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/errors.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/constants.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/connection.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/compat.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/client.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/address.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/init.py -> build/lib.linux-aarch64-cpython-311/uamqp creating build/lib.linux-aarch64-cpython-311/uamqp/authentication copying uamqp/authentication/common.py -> build/lib.linux-aarch64-cpython-311/uamqp/authentication copying uamqp/authentication/cbs_auth_async.py -> build/lib.linux-aarch64-cpython-311/uamqp/authentication copying uamqp/authentication/cbs_auth.py -> build/lib.linux-aarch64-cpython-311/uamqp/authentication copying uamqp/authentication/init.py -> build/lib.linux-aarch64-cpython-311/uamqp/authentication creating build/lib.linux-aarch64-cpython-311/uamqp/async_ops copying uamqp/async_ops/utils.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops copying uamqp/async_ops/session_async.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops copying uamqp/async_ops/sender_async.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops copying uamqp/async_ops/receiver_async.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops copying uamqp/async_ops/mgmt_operation_async.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops copying uamqp/async_ops/connection_async.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops copying uamqp/async_ops/client_async.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops copying uamqp/async_ops/init.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops running egg_info writing uamqp.egg-info/PKG-INFO writing dependency_links to uamqp.egg-info/dependency_links.txt writing requirements to uamqp.egg-info/requires.txt writing top-level names to uamqp.egg-info/top_level.txt reading manifest file 'uamqp.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'uamqp.egg-info/SOURCES.txt' copying uamqp/c_uamqp.c -> build/lib.linux-aarch64-cpython-311/uamqp running build_ext will build uamqp in build/temp.linux-aarch64-cpython-311/cmake Building with generator flags: -G "Unix Makefiles" calling cmake /tmp/pip-install-qigzgjji/uamqp_c33a1254122c43f693c6acffb53a4495/src/vendor/azure-uamqp-c/ -G "Unix Makefiles" -Duse_openssl:bool=ON -Duse_default_uuid:bool=ON -Duse_builtin_httpapi:bool=ON -Dskip_samples:bool=ON -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE -DCMAKE_BUILD_TYPE=Release /bin/sh: cmake: Permission denied Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in main() File "/usr/local/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(hook_input['kwargs']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel return _build_backend().build_wheel(wheel_directory, config_settings, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-fhkx4tfd/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 434, in build_wheel return self._build_with_temp_dir( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-fhkx4tfd/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 419, in _build_with_temp_dir self.run_setup() File "/tmp/pip-build-env-fhkx4tfd/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 507, in run_setup super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script) File "/tmp/pip-build-env-fhkx4tfd/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 341, in run_setup exec(code, locals()) File "", line 260, in File "/tmp/pip-build-env-fhkx4tfd/overlay/lib/python3.11/site-packages/setuptools/init.py", line 107, in setup return distutils.core.setup(attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-fhkx4tfd/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) ^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-fhkx4tfd/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/tmp/pip-build-env-fhkx4tfd/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/tmp/pip-build-env-fhkx4tfd/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 1233, in run_command super().run_command(command) File "/tmp/pip-build-env-fhkx4tfd/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/tmp/pip-build-env-fhkx4tfd/overlay/lib/python3.11/site-packages/wheel/bdist_wheel.py", line 364, in run self.run_command("build") File "/tmp/pip-build-env-fhkx4tfd/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command self.distribution.run_command(command) File "/tmp/pip-build-env-fhkx4tfd/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 1233, in run_command super().run_command(command) File "/tmp/pip-build-env-fhkx4tfd/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/tmp/pip-build-env-fhkx4tfd/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build.py", line 131, in run self.run_command(cmd_name) File "/tmp/pip-build-env-fhkx4tfd/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command self.distribution.run_command(command) File "/tmp/pip-build-env-fhkx4tfd/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 1233, in run_command super().run_command(command) File "/tmp/pip-build-env-fhkx4tfd/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "", line 134, in run File "", line 183, in build_cmake File "/usr/local/lib/python3.11/subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command 'cmake /tmp/pip-install-qigzgjji/uamqp_c33a1254122c43f693c6acffb53a4495/src/vendor/azure-uamqp-c/ -G "Unix Makefiles" -Duse_openssl:bool=ON -Duse_default_uuid:bool=ON -Duse_builtin_httpapi:bool=ON -Dskip_samples:bool=ON -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE -DCMAKE_BUILD_TYPE=Release' returned non-zero exit status 126. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for uamqp ERROR: Could not build wheels for uamqp, which is required to install pyproject.toml-based projects [notice] A new release of pip is available: 23.1.2 -> 23.2.1 [notice] To update, run: pip install --upgrade pip Unable to install package azure-servicebus==7.0.1: error: subprocess-exited-with-error × Building wheel for uamqp (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [102 lines of output] running bdist_wheel running build running build_py creating build creating build/lib.linux-aarch64-cpython-311 creating build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/utils.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/types.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/session.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/sender.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/receiver.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/mgmt_operation.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/message.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/errors.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/constants.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/connection.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/compat.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/client.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/address.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/init.py -> build/lib.linux-aarch64-cpython-311/uamqp creating build/lib.linux-aarch64-cpython-311/uamqp/authentication copying uamqp/authentication/common.py -> build/lib.linux-aarch64-cpython-311/uamqp/authentication copying uamqp/authentication/cbs_auth_async.py -> build/lib.linux-aarch64-cpython-311/uamqp/authentication copying uamqp/authentication/cbs_auth.py -> build/lib.linux-aarch64-cpython-311/uamqp/authentication copying uamqp/authentication/init.py -> build/lib.linux-aarch64-cpython-311/uamqp/authentication creating build/lib.linux-aarch64-cpython-311/uamqp/async_ops copying uamqp/async_ops/utils.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops copying uamqp/async_ops/session_async.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops copying uamqp/async_ops/sender_async.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops copying uamqp/async_ops/receiver_async.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops copying uamqp/async_ops/mgmt_operation_async.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops copying uamqp/async_ops/connection_async.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops copying uamqp/async_ops/client_async.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops copying uamqp/async_ops/init.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops running egg_info writing uamqp.egg-info/PKG-INFO writing dependency_links to uamqp.egg-info/dependency_links.txt writing requirements to uamqp.egg-info/requires.txt writing top-level names to uamqp.egg-info/top_level.txt reading manifest file 'uamqp.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'uamqp.egg-info/SOURCES.txt' copying uamqp/c_uamqp.c -> build/lib.linux-aarch64-cpython-311/uamqp running build_ext will build uamqp in build/temp.linux-aarch64-cpython-311/cmake Building with generator flags: -G "Unix Makefiles" calling cmake /tmp/pip-install-8ec5yorc/uamqp_cffa7e91aa04415a84d29b907e0cd623/src/vendor/azure-uamqp-c/ -G "Unix Makefiles" -Duse_openssl:bool=ON -Duse_default_uuid:bool=ON -Duse_builtin_httpapi:bool=ON -Dskip_samples:bool=ON -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE -DCMAKE_BUILD_TYPE=Release /bin/sh: cmake: Permission denied Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in main() File "/usr/local/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(hook_input['kwargs']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel return _build_backend().build_wheel(wheel_directory, config_settings, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-ueekmi0i/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 434, in build_wheel return self._build_with_temp_dir( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-ueekmi0i/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 419, in _build_with_temp_dir self.run_setup() File "/tmp/pip-build-env-ueekmi0i/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 507, in run_setup super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script) File "/tmp/pip-build-env-ueekmi0i/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 341, in run_setup exec(code, locals()) File "", line 260, in File "/tmp/pip-build-env-ueekmi0i/overlay/lib/python3.11/site-packages/setuptools/init.py", line 107, in setup return distutils.core.setup(attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-ueekmi0i/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) ^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-ueekmi0i/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/tmp/pip-build-env-ueekmi0i/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/tmp/pip-build-env-ueekmi0i/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 1233, in run_command super().run_command(command) File "/tmp/pip-build-env-ueekmi0i/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/tmp/pip-build-env-ueekmi0i/overlay/lib/python3.11/site-packages/wheel/bdist_wheel.py", line 364, in run self.run_command("build") File "/tmp/pip-build-env-ueekmi0i/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command self.distribution.run_command(command) File "/tmp/pip-build-env-ueekmi0i/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 1233, in run_command super().run_command(command) File "/tmp/pip-build-env-ueekmi0i/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/tmp/pip-build-env-ueekmi0i/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build.py", line 131, in run self.run_command(cmd_name) File "/tmp/pip-build-env-ueekmi0i/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command self.distribution.run_command(command) File "/tmp/pip-build-env-ueekmi0i/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 1233, in run_command super().run_command(command) File "/tmp/pip-build-env-ueekmi0i/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "", line 134, in run File "", line 183, in build_cmake File "/usr/local/lib/python3.11/subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command 'cmake /tmp/pip-install-8ec5yorc/uamqp_cffa7e91aa04415a84d29b907e0cd623/src/vendor/azure-uamqp-c/ -G "Unix Makefiles" -Duse_openssl:bool=ON -Duse_default_uuid:bool=ON -Duse_builtin_httpapi:bool=ON -Dskip_samples:bool=ON -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE -DCMAKE_BUILD_TYPE=Release' returned non-zero exit status 126. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for uamqp ERROR: Could not build wheels for uamqp, which is required to install pyproject.toml-based projects [notice] A new release of pip is available: 23.1.2 -> 23.2.1 [notice] To update, run: pip install --upgrade pip Unable to install package azure-servicebus==7.0.1: error: subprocess-exited-with-error × Building wheel for uamqp (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [102 lines of output] running bdist_wheel running build running build_py creating build creating build/lib.linux-aarch64-cpython-311 creating build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/utils.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/types.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/session.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/sender.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/receiver.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/mgmt_operation.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/message.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/errors.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/constants.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/connection.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/compat.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/client.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/address.py -> build/lib.linux-aarch64-cpython-311/uamqp copying uamqp/init.py -> build/lib.linux-aarch64-cpython-311/uamqp creating build/lib.linux-aarch64-cpython-311/uamqp/authentication copying uamqp/authentication/common.py -> build/lib.linux-aarch64-cpython-311/uamqp/authentication copying uamqp/authentication/cbs_auth_async.py -> build/lib.linux-aarch64-cpython-311/uamqp/authentication copying uamqp/authentication/cbs_auth.py -> build/lib.linux-aarch64-cpython-311/uamqp/authentication copying uamqp/authentication/init.py -> build/lib.linux-aarch64-cpython-311/uamqp/authentication creating build/lib.linux-aarch64-cpython-311/uamqp/async_ops copying uamqp/async_ops/utils.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops copying uamqp/async_ops/session_async.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops copying uamqp/async_ops/sender_async.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops copying uamqp/async_ops/receiver_async.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops copying uamqp/async_ops/mgmt_operation_async.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops copying uamqp/async_ops/connection_async.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops copying uamqp/async_ops/client_async.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops copying uamqp/async_ops/init.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops running egg_info writing uamqp.egg-info/PKG-INFO writing dependency_links to uamqp.egg-info/dependency_links.txt writing requirements to uamqp.egg-info/requires.txt writing top-level names to uamqp.egg-info/top_level.txt reading manifest file 'uamqp.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'uamqp.egg-info/SOURCES.txt' copying uamqp/c_uamqp.c -> build/lib.linux-aarch64-cpython-311/uamqp running build_ext will build uamqp in build/temp.linux-aarch64-cpython-311/cmake Building with generator flags: -G "Unix Makefiles" calling cmake /tmp/pip-install-l7i2pxl2/uamqp_05fb08caadf245c1b628087f565029a2/src/vendor/azure-uamqp-c/ -G "Unix Makefiles" -Duse_openssl:bool=ON -Duse_default_uuid:bool=ON -Duse_builtin_httpapi:bool=ON -Dskip_samples:bool=ON -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE -DCMAKE_BUILD_TYPE=Release /bin/sh: cmake: Permission denied Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in main() File "/usr/local/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(hook_input['kwargs']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel return _build_backend().build_wheel(wheel_directory, config_settings, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-twp0wcuw/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 434, in build_wheel return self._build_with_temp_dir( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-twp0wcuw/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 419, in _build_with_temp_dir self.run_setup() File "/tmp/pip-build-env-twp0wcuw/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 507, in run_setup super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script) File "/tmp/pip-build-env-twp0wcuw/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 341, in run_setup exec(code, locals()) File "", line 260, in File "/tmp/pip-build-env-twp0wcuw/overlay/lib/python3.11/site-packages/setuptools/init.py", line 107, in setup return distutils.core.setup(attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-twp0wcuw/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) ^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-twp0wcuw/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/tmp/pip-build-env-twp0wcuw/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/tmp/pip-build-env-twp0wcuw/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 1233, in run_command super().run_command(command) File "/tmp/pip-build-env-twp0wcuw/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/tmp/pip-build-env-twp0wcuw/overlay/lib/python3.11/site-packages/wheel/bdist_wheel.py", line 364, in run self.run_command("build") File "/tmp/pip-build-env-twp0wcuw/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command self.distribution.run_command(command) File "/tmp/pip-build-env-twp0wcuw/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 1233, in run_command super().run_command(command) File "/tmp/pip-build-env-twp0wcuw/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/tmp/pip-build-env-twp0wcuw/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build.py", line 131, in run self.run_command(cmd_name) File "/tmp/pip-build-env-twp0wcuw/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command self.distribution.run_command(command) File "/tmp/pip-build-env-twp0wcuw/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 1233, in run_command super().run_command(command) File "/tmp/pip-build-env-twp0wcuw/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "", line 134, in run File "", line 183, in build_cmake File "/usr/local/lib/python3.11/subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command 'cmake /tmp/pip-install-l7i2pxl2/uamqp_05fb08caadf245c1b628087f565029a2/src/vendor/azure-uamqp-c/ -G "Unix Makefiles" -Duse_openssl:bool=ON -Duse_default_uuid:bool=ON -Duse_builtin_httpapi:bool=ON -Dskip_samples:bool=ON -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE -DCMAKE_BUILDTYPE=Release' returned non-zero exit status 126. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for uamqp ERROR: Could not build wheels for uamqp, which is required to install pyproject.toml-based projects [notice] A new release of pip is available: 23.1.2 -> 23.2.1 [notice] To update, run: pip install --upgrade pip

Anyone knows what might be the issue? 🙂

sveinse commented 1 year ago

Please try the latest beta

tkallsen commented 1 year ago

Get 500 as well during setup, using beta 0.0.5.

aleqsss commented 1 year ago

Did as you suggested and tried with the (at the time of writing) latest available beta 0.0.6b2. Installation worked with this one, thanks! 👍

@tkallsen, I would suggest that you try with that one as well, as it solved the issue for me. 🙂

sveinse commented 1 year ago

I'm closing the issue since it worked for you @aleqsss