You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a custom integration that I've developed, and I'm developing a new python package with the intent to refactor the integration so that it uses this new package. The package is packaged with a C binding, and it works in my dev environment of home-assistant that is running Ubuntu on an AMD laptop. However, when I use this version of my integration in my "real" home-assistant instance that is running on an ODroid N2+, I get this error:
Logger: homeassistant.config_entries
Source: config_entries.py:751
First occurred: 6:36:08 PM (1 occurrences)
Last logged: 6:36:08 PM
Error setting up entry Storj for storj
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 751, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/storj/__init__.py", line 26, in async_setup_entry
entry.runtime_data = StorjClient(
~~~~~~~~~~~^
await instance_id.async_get(hass), entry.data[CONF_BUCKET_NAME]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/config/custom_components/storj/api.py", line 38, in __init__
self._uplink = Uplink()
~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/storj_uplink/uplink.py", line 42, in __init__
self.m_libuplink = ctypes.CDLL(so_path)
~~~~~~~~~~~^^^^^^^^^
File "/usr/local/lib/python3.13/ctypes/__init__.py", line 390, in __init__
self._handle = _dlopen(self._name, mode)
~~~~~~~^^^^^^^^^^^^^^^^^^
OSError: Error relocating /usr/local/lib/python3.13/site-packages/storj_uplink/libuplink.so: unsupported relocation type 7
Here is where I try to load the binary in my package. I'm not sure how to resolve this error. Is the problem related to how libuplink.so was built, or is this something that is not supported in HA OS?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have a custom integration that I've developed, and I'm developing a new python package with the intent to refactor the integration so that it uses this new package. The package is packaged with a C binding, and it works in my dev environment of home-assistant that is running Ubuntu on an AMD laptop. However, when I use this version of my integration in my "real" home-assistant instance that is running on an ODroid N2+, I get this error:
Here is where I try to load the binary in my package. I'm not sure how to resolve this error. Is the problem related to how
libuplink.so
was built, or is this something that is not supported in HA OS?Beta Was this translation helpful? Give feedback.
All reactions