elgatito / plugin.video.elementum

Elementum add-on for Kodi. Development of this addon has been stopped!
http://elementum.surge.sh
MIT License
480 stars 158 forks source link

Elementum cannot start on RaspberryPi 4B+ #898

Closed ppetrov-dev closed 1 year ago

ppetrov-dev commented 1 year ago

Hi, Elementum does not startup, reinstallation of the addon did not fix it.

Kodi 19.4 on Raspberry Pi OS (64-bit)

Please advise.

2023-01-26 20:21:26.371 T:1002     INFO <general>: -----------------------------------------------------------------------
2023-01-26 20:21:26.371 T:1002     INFO <general>: Starting Kodi (19.4 (19.4.0) Git:20221007-166303c4f0). Platform: Linux ARM 64-bit
2023-01-26 20:21:26.371 T:1002     INFO <general>: Using Release Kodi x64
2023-01-26 20:21:26.371 T:1002     INFO <general>: Kodi compiled 2022-10-20 by GCC 10.2.1 for Linux ARM 64-bit version 5.15.61 (331581)
2023-01-26 20:21:26.371 T:1002     INFO <general>: Running on BCM2835 with Debian GNU/Linux 11 (bullseye), kernel: Linux ARM 64-bit version 5.15.84-v8+
2023-01-26 20:21:26.371 T:1002     INFO <general>: FFmpeg version/source: 4.3.5-0+deb11u1+rpt3
2023-01-26 20:21:26.371 T:1002     INFO <general>: 4 CPU cores available
2023-01-26 20:21:26.371 T:1002     INFO <general>: ARM Features: Neon enabled

all about Elementum here:

2023-01-26 20:21:26.733 T:1002     INFO <general>: CAddonMgr::FindAddons: plugin.video.elementum v0.1.87 installed
2023-01-26 20:21:26.737 T:1002     INFO <general>: CAddonMgr::FindAddons: script.elementum.burst v0.0.73 installed
2023-01-26 20:21:38.426 T:1168  WARNING <general>: [plugin.video.elementum] elementum: starting jsonrpc service
2023-01-26 20:21:38.432 T:1169  WARNING <general>: [plugin.video.elementum] elementumd: starting elementumd
2023-01-26 20:21:38.438 T:1169  WARNING <general>: [plugin.video.elementum] Kodi's JSON-RPC service is available, starting up...
2023-01-26 20:21:38.561 T:1169  WARNING <general>: [plugin.video.elementum] Binary detection. Version: v0.1.87, Source: /home/pi/.kodi/addons/plugin.video.elementum/resources/bin/linux_armv7/elementum, Destination: /home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_armv7/elementum
2023-01-26 20:21:40.595 T:1169  WARNING <general>: [plugin.video.elementum] Deleting stale files set()
2023-01-26 20:21:40.595 T:1169  WARNING <general>: [plugin.video.elementum] Binary detection: [ Source: /home/pi/.kodi/addons/plugin.video.elementum/resources/bin/linux_armv7/elementum, Destination: /home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_armv7/elementum ]
2023-01-26 20:21:40.596 T:1169  WARNING <general>: [plugin.video.elementum] Binary dir: /home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_armv7, item: /home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_armv7/elementum 
2023-01-26 20:21:40.607 T:1169  WARNING <general>: [plugin.video.elementum] elementumd: start args: ['/home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_armv7/elementum', '-remotePort=65221', '-localHost=127.0.0.1', '-localPort=65220'], kw: {'stdout': -1, 'stderr': -2, 'cwd': '/home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_armv7', 'env': {'USER': 'pi', 'LANGUAGE': 'en_US.UTF-8', 'XDG_SEAT': 'seat0', 'TEXTDOMAIN': 'Linux-PAM', 'XDG_SESSION_TYPE': 'x11', 'SSH_AGENT_PID': '773', 'HOME': '/home/pi', 'DESKTOP_SESSION': 'LXDE-pi', 'XDG_SEAT_PATH': '/org/freedesktop/DisplayManager/Seat0', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/run/user/1000/bus', 'QT_QPA_PLATFORMTHEME': 'qt5ct', 'LOGNAME': 'pi', 'MALLOC_MMAP_THRESHOLD_': '131072', 'XDG_SESSION_CLASS': 'user', 'XDG_SESSION_ID': '1', 'SAL_USE_VCLPLUGIN': 'gtk3', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games', 'XDG_SESSION_PATH': '/org/freedesktop/DisplayManager/Session0', 'XDG_RUNTIME_DIR': '/run/user/1000', 'XDG_MENU_PREFIX': 'lxde-pi-', 'XDG_CURRENT_DESKTOP': 'LXDE', 'XDG_SESSION_DESKTOP': 'lightdm-xsession', 'XAUTHORITY': '/home/pi/.Xauthority', 'XDG_CONFIG_HOME': '/home/pi/.config', 'XDG_GREETER_DATA_DIR': '/var/lib/lightdm/data/pi', 'SSH_AUTH_SOCK': '/tmp/ssh-9YQnx52w5Zrj/agent.720', '__GL_YIELD': 'USLEEP', 'SHELL': '/bin/bash', 'GDMSESSION': 'lightdm-xsession', 'NO_AT_BRIDGE': '1', '_LXSESSION_PID': '720', 'GPG_AGENT_INFO': '/run/user/1000/gnupg/S.gpg-agent:0:1', 'XDG_VTNR': '7', 'PWD': '/home/pi', 'XDG_DATA_DIRS': '/usr/share/fkms:/usr/local/share:/usr/share/raspi-ui-overrides:/usr/share:/usr/share/gdm:/var/lib/menu-xdg', 'XDG_CONFIG_DIRS': '/etc/xdg', 'KODI_BIN_HOME': '/usr/lib/aarch64-linux-gnu/kodi', 'KODI_HOME': '/usr/share/kodi', 'OS': 'Linux', 'TZ': ':Europe/Moscow', 'LIRC_SOCKET_PATH': '/var/run/lirc/lircd', 'LD_LIBRARY_PATH': '/home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_armv7:'}, 'close_fds': True}
2023-01-26 20:21:40.653 T:1169  WARNING <general>: [plugin.video.elementum] elementumd: loading shared library from /home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_armv7/elementum.so
2023-01-26 20:21:40.656 T:1169    FATAL <general>: [plugin.video.elementum] Unable to start library: /home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_armv7/elementum.so: wrong ELF class: ELFCLASS32
2023-01-26 20:42:18.842 T:1203     INFO <general>: CPythonInvoker(14, /home/pi/.kodi/addons/plugin.video.elementum/navigation.py): script successfully run
2023-01-26 20:42:18.960 T:1203     INFO <general>: Python interpreter stopped
2023-01-26 20:42:18.971 T:1202    ERROR <general>: GetDirectory - Error getting plugin://plugin.video.elementum/
2023-01-26 20:42:19.003 T:1002    ERROR <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.elementum/) failed
elgatito commented 1 year ago

You need armv8 and it tries to use armv7.

elgatito commented 1 year ago

It is a bug, but you can select in Elementum settings to use linux_armv8 architecture, it should load then properly.

ppetrov-dev commented 1 year ago

there is no " linux_armv8 architecture" in the settings of Elementum and here (https://elementum.surge.sh/). I tried the following architectures to set: arm64, armv6, armv7, linux_x64, linux_x86. The same results:

2023-01-26 23:04:04.173 T:2815  WARNING <general>: [plugin.video.elementum] Triggering Elementum reload
2023-01-26 23:04:05.361 T:4471     INFO <general>: CPythonInvoker(60, /home/pi/.kodi/addons/plugin.video.elementum/navigation.py): script successfully run
2023-01-26 23:04:05.472 T:4471     INFO <general>: Python interpreter stopped
2023-01-26 23:04:05.475 T:2815  WARNING <general>: [plugin.video.elementum] Triggering Elementum restart
2023-01-26 23:04:06.889 T:1002    ERROR <general>: Control 55 in window 10025 has been asked to focus, but it can't
2023-01-26 23:04:06.948 T:4476     INFO <general>: initializing python engine.
2023-01-26 23:04:10.572 T:4476     INFO <general>: CPythonInvoker(61, /home/pi/.kodi/addons/plugin.video.elementum/navigation.py): script successfully run
2023-01-26 23:04:10.694 T:4476     INFO <general>: Python interpreter stopped
2023-01-26 23:04:10.703 T:4475    ERROR <general>: GetDirectory - Error getting plugin://plugin.video.elementum/
2023-01-26 23:04:10.716 T:1002    ERROR <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.elementum/) failed
2023-01-26 23:04:13.950 T:4431  WARNING <general>: Repository add-on repository.GRecoTM uses plain HTTP for add-on downloads in path http://grrepo.grecotm.com/Plugins/ - this is insecure and will make your Kodi installation vulnerable to attacks if enabled!
2023-01-26 23:07:11.034 T:1027     INFO <general>: Skipped 1 duplicate messages..
2023-01-26 23:07:11.034 T:1027     INFO <general>: CActiveAESink::OpenSink - initialize sink
2023-01-26 23:07:11.035 T:1027     INFO <general>: CAESinkALSA::Initialize - Attempting to open device "hdmi:CARD=vc4hdmi0,DEV=0"
2023-01-26 23:07:11.042 T:1027     INFO <general>: CAESinkALSA::Initialize - Opened device "hdmi:CARD=vc4hdmi0,DEV=0,AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x00"
2023-01-26 23:07:11.044 T:1027     INFO <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2023-01-26 23:07:11.044 T:1027     INFO <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE3
2023-01-26 23:07:27.084 T:4538     INFO <general>: initializing python engine.
2023-01-26 23:07:27.174 T:2815  WARNING <general>: [plugin.video.elementum] Triggering Elementum reload
2023-01-26 23:07:28.419 T:4538     INFO <general>: CPythonInvoker(62, /home/pi/.kodi/addons/plugin.video.elementum/navigation.py): script successfully run
2023-01-26 23:07:28.525 T:4538     INFO <general>: Python interpreter stopped
2023-01-26 23:07:28.530 T:2815  WARNING <general>: [plugin.video.elementum] Triggering Elementum restart
2023-01-26 23:07:30.552 T:1002    ERROR <general>: Control 55 in window 10025 has been asked to focus, but it can't
2023-01-26 23:07:30.626 T:4545     INFO <general>: initializing python engine.
2023-01-26 23:07:34.264 T:4545     INFO <general>: CPythonInvoker(63, /home/pi/.kodi/addons/plugin.video.elementum/navigation.py): script successfully run
2023-01-26 23:07:34.381 T:4545     INFO <general>: Python interpreter stopped
2023-01-26 23:07:34.382 T:4543    ERROR <general>: GetDirectory - Error getting plugin://plugin.video.elementum/
2023-01-26 23:07:34.413 T:1002    ERROR <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.elementum/) failed
2023-01-26 23:07:55.111 T:4570     INFO <general>: initializing python engine.
2023-01-26 23:07:55.204 T:2815  WARNING <general>: [plugin.video.elementum] Triggering Elementum reload
2023-01-26 23:07:56.398 T:4570     INFO <general>: CPythonInvoker(64, /home/pi/.kodi/addons/plugin.video.elementum/navigation.py): script successfully run
2023-01-26 23:07:56.504 T:4570     INFO <general>: Python interpreter stopped
2023-01-26 23:07:56.507 T:2815  WARNING <general>: [plugin.video.elementum] Triggering Elementum restart
2023-01-26 23:07:57.818 T:1002    ERROR <general>: Control 55 in window 10025 has been asked to focus, but it can't
2023-01-26 23:07:57.982 T:4573     INFO <general>: initializing python engine.
2023-01-26 23:08:01.613 T:4573     INFO <general>: CPythonInvoker(65, /home/pi/.kodi/addons/plugin.video.elementum/navigation.py): script successfully run
2023-01-26 23:08:01.734 T:4573     INFO <general>: Python interpreter stopped
2023-01-26 23:08:01.739 T:4572    ERROR <general>: GetDirectory - Error getting plugin://plugin.video.elementum/
2023-01-26 23:08:01.746 T:1002    ERROR <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.elementum/) failed
2023-01-26 23:08:26.030 T:4601     INFO <general>: initializing python engine.
2023-01-26 23:08:26.108 T:2815  WARNING <general>: [plugin.video.elementum] Triggering Elementum reload
2023-01-26 23:08:27.417 T:4601     INFO <general>: CPythonInvoker(66, /home/pi/.kodi/addons/plugin.video.elementum/navigation.py): script successfully run
2023-01-26 23:08:27.526 T:4601     INFO <general>: Python interpreter stopped
2023-01-26 23:08:27.528 T:2815  WARNING <general>: [plugin.video.elementum] Triggering Elementum restart
2023-01-26 23:08:28.218 T:1002    ERROR <general>: Control 55 in window 10025 has been asked to focus, but it can't
2023-01-26 23:08:28.299 T:4605     INFO <general>: initializing python engine.
2023-01-26 23:08:31.967 T:4605     INFO <general>: CPythonInvoker(67, /home/pi/.kodi/addons/plugin.video.elementum/navigation.py): script successfully run
2023-01-26 23:08:32.086 T:4605     INFO <general>: Python interpreter stopped
2023-01-26 23:08:32.095 T:4604    ERROR <general>: GetDirectory - Error getting plugin://plugin.video.elementum/
2023-01-26 23:08:32.112 T:1002    ERROR <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.elementum/) failed

so what else?

ppetrov-dev commented 1 year ago

the logs after reboot for linux_x86:

2023-01-26 23:17:33.951 T:1161  WARNING <general>: [plugin.video.elementum] Downloading file 'https://raw.githubusercontent.com/elgatito/elementum-binaries/master/linux_x86/elementum' to '/home/pi/.kodi/addons/plugin.video.elementum/resources/bin/linux_x86/elementum'
2023-01-26 23:17:54.643 T:1046     INFO <general>: CPythonInvoker(12, /home/pi/.kodi/addons/service.xbmc.versioncheck/resources/lib/runner.py): script successfully run
2023-01-26 23:17:54.714 T:1046     INFO <general>: Python interpreter stopped
2023-01-26 23:17:59.128 T:1069     INFO <general>: CPythonInvoker(13, /home/pi/.kodi/addons/weather.gismeteo/default.py): script successfully run
2023-01-26 23:17:59.267 T:1069     INFO <general>: Python interpreter stopped
2023-01-26 23:18:01.157 T:1161  WARNING <general>: [plugin.video.elementum] Downloading file 'https://raw.githubusercontent.com/elgatito/elementum-binaries/master/linux_x86/elementum.h' to '/home/pi/.kodi/addons/plugin.video.elementum/resources/bin/linux_x86/elementum.h'
2023-01-26 23:18:01.627 T:1161  WARNING <general>: [plugin.video.elementum] Downloading file 'https://raw.githubusercontent.com/elgatito/elementum-binaries/master/linux_x86/elementum.so' to '/home/pi/.kodi/addons/plugin.video.elementum/resources/bin/linux_x86/elementum.so'
2023-01-26 23:18:09.390 T:1161  WARNING <general>: [plugin.video.elementum] Updating elementum daemon...
2023-01-26 23:18:09.608 T:1161  WARNING <general>: [plugin.video.elementum] Deleting stale files set()
2023-01-26 23:18:09.608 T:1161  WARNING <general>: [plugin.video.elementum] Binary detection: [ Source: /home/pi/.kodi/addons/plugin.video.elementum/resources/bin/linux_x86/elementum, Destination: /home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_x86/elementum ]
2023-01-26 23:18:09.608 T:1161  WARNING <general>: [plugin.video.elementum] Binary dir: /home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_x86, item: /home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_x86/elementum 
2023-01-26 23:18:09.623 T:1161  WARNING <general>: [plugin.video.elementum] elementumd: start args: ['/home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_x86/elementum', '-remotePort=65221', '-localHost=127.0.0.1', '-localPort=65220'], kw: {'stdout': -1, 'stderr': -2, 'cwd': '/home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_x86', 'env': {'USER': 'pi', 'LANGUAGE': 'en_US.UTF-8', 'XDG_SEAT': 'seat0', 'TEXTDOMAIN': 'Linux-PAM', 'XDG_SESSION_TYPE': 'x11', 'SSH_AGENT_PID': '772', 'HOME': '/home/pi', 'DESKTOP_SESSION': 'LXDE-pi', 'XDG_SEAT_PATH': '/org/freedesktop/DisplayManager/Seat0', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/run/user/1000/bus', 'QT_QPA_PLATFORMTHEME': 'qt5ct', 'LOGNAME': 'pi', 'MALLOC_MMAP_THRESHOLD_': '131072', 'XDG_SESSION_CLASS': 'user', 'XDG_SESSION_ID': '1', 'SAL_USE_VCLPLUGIN': 'gtk3', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games', 'XDG_SESSION_PATH': '/org/freedesktop/DisplayManager/Session0', 'XDG_RUNTIME_DIR': '/run/user/1000', 'XDG_MENU_PREFIX': 'lxde-pi-', 'XDG_CURRENT_DESKTOP': 'LXDE', 'XDG_SESSION_DESKTOP': 'lightdm-xsession', 'XAUTHORITY': '/home/pi/.Xauthority', 'XDG_CONFIG_HOME': '/home/pi/.config', 'XDG_GREETER_DATA_DIR': '/var/lib/lightdm/data/pi', 'SSH_AUTH_SOCK': '/tmp/ssh-iiCSwyge7JiF/agent.719', '__GL_YIELD': 'USLEEP', 'SHELL': '/bin/bash', 'GDMSESSION': 'lightdm-xsession', 'NO_AT_BRIDGE': '1', '_LXSESSION_PID': '719', 'GPG_AGENT_INFO': '/run/user/1000/gnupg/S.gpg-agent:0:1', 'XDG_VTNR': '7', 'PWD': '/home/pi', 'XDG_DATA_DIRS': '/usr/share/fkms:/usr/local/share:/usr/share/raspi-ui-overrides:/usr/share:/usr/share/gdm:/var/lib/menu-xdg', 'XDG_CONFIG_DIRS': '/etc/xdg', 'KODI_BIN_HOME': '/usr/lib/aarch64-linux-gnu/kodi', 'KODI_HOME': '/usr/share/kodi', 'OS': 'Linux', 'TZ': ':Europe/Moscow', 'LIRC_SOCKET_PATH': '/var/run/lirc/lircd', 'LD_LIBRARY_PATH': '/home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_x86:'}, 'close_fds': True}
2023-01-26 23:18:09.683 T:1161  WARNING <general>: [plugin.video.elementum] elementumd: loading shared library from /home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_x86/elementum.so
2023-01-26 23:18:09.684 T:1161    FATAL <general>: [plugin.video.elementum] Unable to start library: /home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_x86/elementum.so: wrong ELF class: ELFCLASS32
ppetrov-dev commented 1 year ago

the logs for linux_arm64:

2023-01-26 23:23:54.824 T:1178  WARNING <general>: [plugin.video.elementum] Downloading file 'https://raw.githubusercontent.com/elgatito/elementum-binaries/master/linux_arm64/elementum' to '/home/pi/.kodi/addons/plugin.video.elementum/resources/bin/linux_arm64/elementum'
2023-01-26 23:24:29.689 T:1146     INFO <general>: CPythonInvoker(13, /home/pi/.kodi/addons/weather.gismeteo/default.py): script successfully run
2023-01-26 23:24:29.837 T:1146     INFO <general>: Python interpreter stopped
2023-01-26 23:24:32.772 T:1104     INFO <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadChannelEpgs - Loaded '800' EPG channels.
2023-01-26 23:24:33.947 T:1124     INFO <general>: CPythonInvoker(12, /home/pi/.kodi/addons/service.xbmc.versioncheck/resources/lib/runner.py): script successfully run
2023-01-26 23:24:34.031 T:1124     INFO <general>: Python interpreter stopped
2023-01-26 23:24:34.623 T:1178  WARNING <general>: [plugin.video.elementum] Downloading file 'https://raw.githubusercontent.com/elgatito/elementum-binaries/master/linux_arm64/elementum.h' to '/home/pi/.kodi/addons/plugin.video.elementum/resources/bin/linux_arm64/elementum.h'
2023-01-26 23:24:34.843 T:1104     INFO <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadEpgEntries - Loaded '85864' EPG entries.
2023-01-26 23:24:34.880 T:1104     INFO <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadEPG - EPG Loaded - 42880 (ms)
2023-01-26 23:24:34.880 T:1104     INFO <general>: AddOnLog: pvr.iptvsimple: Create Starting separate client update thread...
2023-01-26 23:24:34.881 T:1104     INFO <general>: PVR Manager: Starting
2023-01-26 23:24:35.110 T:1178  WARNING <general>: [plugin.video.elementum] Downloading file 'https://raw.githubusercontent.com/elgatito/elementum-binaries/master/linux_arm64/elementum.so' to '/home/pi/.kodi/addons/plugin.video.elementum/resources/bin/linux_arm64/elementum.so'
2023-01-26 23:24:35.954 T:1221     INFO <general>: PVR Manager: Started
2023-01-26 23:24:40.609 T:1005     INFO <general>: Loading skin file: MyVideoNav.xml, load type: KEEP_IN_MEMORY
2023-01-26 23:24:40.903 T:1298     INFO <general>: initializing python engine.
2023-01-26 23:24:42.536 T:1178  WARNING <general>: [plugin.video.elementum] Updating elementum daemon...
2023-01-26 23:24:42.770 T:1178  WARNING <general>: [plugin.video.elementum] Deleting stale files set()
2023-01-26 23:24:42.771 T:1178  WARNING <general>: [plugin.video.elementum] Binary detection: [ Source: /home/pi/.kodi/addons/plugin.video.elementum/resources/bin/linux_arm64/elementum, Destination: /home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_arm64/elementum ]
2023-01-26 23:24:42.771 T:1178  WARNING <general>: [plugin.video.elementum] Binary dir: /home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_arm64, item: /home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_arm64/elementum 
2023-01-26 23:24:42.838 T:1178  WARNING <general>: [plugin.video.elementum] elementumd: start args: ['/home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_arm64/elementum', '-remotePort=65221', '-localHost=127.0.0.1', '-localPort=65220'], kw: {'stdout': -1, 'stderr': -2, 'cwd': '/home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_arm64', 'env': {'USER': 'pi', 'LANGUAGE': 'en_US.UTF-8', 'XDG_SEAT': 'seat0', 'TEXTDOMAIN': 'Linux-PAM', 'XDG_SESSION_TYPE': 'x11', 'SSH_AGENT_PID': '777', 'HOME': '/home/pi', 'DESKTOP_SESSION': 'LXDE-pi', 'XDG_SEAT_PATH': '/org/freedesktop/DisplayManager/Seat0', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/run/user/1000/bus', 'QT_QPA_PLATFORMTHEME': 'qt5ct', 'LOGNAME': 'pi', 'MALLOC_MMAP_THRESHOLD_': '131072', 'XDG_SESSION_CLASS': 'user', 'XDG_SESSION_ID': '1', 'SAL_USE_VCLPLUGIN': 'gtk3', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games', 'XDG_SESSION_PATH': '/org/freedesktop/DisplayManager/Session0', 'XDG_RUNTIME_DIR': '/run/user/1000', 'XDG_MENU_PREFIX': 'lxde-pi-', 'XDG_CURRENT_DESKTOP': 'LXDE', 'XDG_SESSION_DESKTOP': 'lightdm-xsession', 'XAUTHORITY': '/home/pi/.Xauthority', 'XDG_CONFIG_HOME': '/home/pi/.config', 'XDG_GREETER_DATA_DIR': '/var/lib/lightdm/data/pi', 'SSH_AUTH_SOCK': '/tmp/ssh-SHqci7sah9UT/agent.724', '__GL_YIELD': 'USLEEP', 'SHELL': '/bin/bash', 'GDMSESSION': 'lightdm-xsession', 'NO_AT_BRIDGE': '1', '_LXSESSION_PID': '724', 'GPG_AGENT_INFO': '/run/user/1000/gnupg/S.gpg-agent:0:1', 'XDG_VTNR': '7', 'PWD': '/home/pi', 'XDG_DATA_DIRS': '/usr/share/fkms:/usr/local/share:/usr/share/raspi-ui-overrides:/usr/share:/usr/share/gdm:/var/lib/menu-xdg', 'XDG_CONFIG_DIRS': '/etc/xdg', 'KODI_BIN_HOME': '/usr/lib/aarch64-linux-gnu/kodi', 'KODI_HOME': '/usr/share/kodi', 'OS': 'Linux', 'TZ': ':Europe/Moscow', 'LIRC_SOCKET_PATH': '/var/run/lirc/lircd', 'LD_LIBRARY_PATH': '/home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_arm64:'}, 'close_fds': True}
2023-01-26 23:24:42.963 T:1178  WARNING <general>: [plugin.video.elementum] INFO  main         ▶ main             Starting Elementum daemon
2023-01-26 23:24:42.964 T:1178  WARNING <general>: [plugin.video.elementum] INFO  main         ▶ main             Version: 0.1.87 LibTorrent: 1.1.14.0 Go: go1.19.4, Threads: 4
2023-01-26 23:24:42.965 T:1178  WARNING <general>: [plugin.video.elementum] INFO  config       ▶ Reload           Reloading configuration...
2023-01-26 23:24:42.965 T:1178  WARNING <general>: [plugin.video.elementum] INFO  config       ▶ Reload           Setting remote address to 127.0.0.1:65221
2023-01-26 23:24:43.028 T:1178  WARNING <general>: [plugin.video.elementum] INFO  config       ▶ Reload           Creating libtorrent.config to further usage at: /home/pi/.kodi/userdata/addon_data/plugin.video.elementum/libtorrent.config
2023-01-26 23:24:43.076 T:1178  WARNING <general>: [plugin.video.elementum] NOTI  config       ▶ Reload           Paths translated by Kodi: Download = . , Library = /home/pi/.kodi/temp/elementum_library , Torrents = /home/pi/.kodi/temp/elementum_torrents , Storage = 0
2023-01-26 23:24:43.079 T:1178  WARNING <general>: [plugin.video.elementum] ERRO  exit         ▶ PanicWithCode    Panic: Can't continue because download path is empty
2023-01-26 23:24:43.080 T:1178  WARNING <general>: [plugin.video.elementum] System information: linux_arm64 
2023-01-26 23:24:43.081 T:1178  WARNING <general>: [plugin.video.elementum] Kodi build version: 19.4 (19.4.0) Git:20221007-166303c4f0
2023-01-26 23:24:43.081 T:1178  WARNING <general>: [plugin.video.elementum] OS type: Linux
2023-01-26 23:24:43.081 T:1178  WARNING <general>: [plugin.video.elementum] uname: uname_result(system='Linux', node='raspberrypi', release='5.15.84-v8+', version='#1613 SMP PREEMPT Thu Jan 5 12:03:08 GMT 2023', machine='aarch64')
2023-01-26 23:24:43.081 T:1178  WARNING <general>: [plugin.video.elementum] Sleeping before next restart attempt
2023-01-26 23:24:45.181 T:1298     INFO <general>: CPythonInvoker(14, /home/pi/.kodi/addons/plugin.video.elementum/navigation.py): script successfully run
2023-01-26 23:24:45.374 T:1298     INFO <general>: Python interpreter stopped
2023-01-26 23:24:45.392 T:1296    ERROR <general>: GetDirectory - Error getting plugin://plugin.video.elementum/
2023-01-26 23:24:45.412 T:1005    ERROR <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.elementum/) failed
ppetrov-dev commented 1 year ago

the logs for armv7:


2023-01-26 23:29:28.559 T:1162  WARNING <general>: [plugin.video.elementum] elementum: starting jsonrpc service
2023-01-26 23:29:28.562 T:1163  WARNING <general>: [plugin.video.elementum] elementumd: starting elementumd
2023-01-26 23:29:28.566 T:1163  WARNING <general>: [plugin.video.elementum] Kodi's JSON-RPC service is available, starting up...
2023-01-26 23:29:28.580 T:1163  WARNING <general>: [plugin.video.elementum] Binary detection. Version: v0.1.83, Source: /home/pi/.kodi/addons/plugin.video.elementum/resources/bin/linux_armv7/elementum, Destination: /home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_armv7/elementum
2023-01-26 23:29:28.600 T:1163  WARNING <general>: [plugin.video.elementum] Deleting stale files set()
2023-01-26 23:29:28.600 T:1163  WARNING <general>: [plugin.video.elementum] Binary detection: [ Source: /home/pi/.kodi/addons/plugin.video.elementum/resources/bin/linux_armv7/elementum, Destination: /home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_armv7/elementum ]
2023-01-26 23:29:28.601 T:1163  WARNING <general>: [plugin.video.elementum] Binary dir: /home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_armv7, item: /home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_armv7/elementum 
2023-01-26 23:29:28.631 T:1164  WARNING <general>: [service.lt2http] lt2http: starting
2023-01-26 23:29:28.633 T:1065     INFO <general>: JSONRPC Server: New connection added
2023-01-26 23:29:28.634 T:1065     INFO <general>: JSONRPC Server: Disconnection detected
2023-01-26 23:29:28.635 T:1164  WARNING <general>: [service.lt2http] Kodi's JSON-RPC service is available, starting up...
2023-01-26 23:29:28.658 T:1163  WARNING <general>: [plugin.video.elementum] elementumd: start args: ['/home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_armv7/elementum', '-remotePort=65221', '-localHost=127.0.0.1', '-localPort=65220'], kw: {'stdout': -1, 'stderr': -2, 'cwd': '/home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_armv7', 'env': {'USER': 'pi', 'LANGUAGE': 'en_US.UTF-8', 'XDG_SEAT': 'seat0', 'TEXTDOMAIN': 'Linux-PAM', 'XDG_SESSION_TYPE': 'x11', 'SSH_AGENT_PID': '827', 'HOME': '/home/pi', 'DESKTOP_SESSION': 'LXDE-pi', 'XDG_SEAT_PATH': '/org/freedesktop/DisplayManager/Seat0', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/run/user/1000/bus', 'QT_QPA_PLATFORMTHEME': 'qt5ct', 'LOGNAME': 'pi', 'MALLOC_MMAP_THRESHOLD_': '131072', 'XDG_SESSION_CLASS': 'user', 'XDG_SESSION_ID': '1', 'SAL_USE_VCLPLUGIN': 'gtk3', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games', 'XDG_SESSION_PATH': '/org/freedesktop/DisplayManager/Session0', 'XDG_RUNTIME_DIR': '/run/user/1000', 'XDG_MENU_PREFIX': 'lxde-pi-', 'XDG_CURRENT_DESKTOP': 'LXDE', 'XDG_SESSION_DESKTOP': 'lightdm-xsession', 'XAUTHORITY': '/home/pi/.Xauthority', 'XDG_CONFIG_HOME': '/home/pi/.config', 'XDG_GREETER_DATA_DIR': '/var/lib/lightdm/data/pi', 'SSH_AUTH_SOCK': '/tmp/ssh-EaqbO7eyyA3G/agent.764', '__GL_YIELD': 'USLEEP', 'SHELL': '/bin/bash', 'GDMSESSION': 'lightdm-xsession', 'NO_AT_BRIDGE': '1', '_LXSESSION_PID': '764', 'GPG_AGENT_INFO': '/run/user/1000/gnupg/S.gpg-agent:0:1', 'XDG_VTNR': '7', 'PWD': '/home/pi', 'XDG_DATA_DIRS': '/usr/share/fkms:/usr/local/share:/usr/share/raspi-ui-overrides:/usr/share:/usr/share/gdm:/var/lib/menu-xdg', 'XDG_CONFIG_DIRS': '/etc/xdg', 'KODI_BIN_HOME': '/usr/lib/aarch64-linux-gnu/kodi', 'KODI_HOME': '/usr/share/kodi', 'OS': 'Linux', 'TZ': ':Europe/Moscow', 'LIRC_SOCKET_PATH': '/var/run/lirc/lircd', 'LD_LIBRARY_PATH': '/home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_armv7:'}, 'close_fds': True}
2023-01-26 23:29:28.736 T:1163  WARNING <general>: [plugin.video.elementum] elementumd: loading shared library from /home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_armv7/elementum.so
2023-01-26 23:29:28.738 T:1163    FATAL <general>: [plugin.video.elementum] Unable to start library: /home/pi/.kodi/userdata/addon_data/plugin.video.elementum/bin/linux_armv7/elementum.so: wrong ELF class: ELFCLASS32
ppetrov-dev commented 1 year ago

also I tried to set "Auto" as an architecture in the settings - the same result as for armv7. How it works for others I'm surprised that I faced with the problem first.

ppetrov-dev commented 1 year ago

I fully reinstalled the addon and it works now. I downloaded armv8 (armv64) from here: https://elementum.surge.sh/.

Thanks a lot!!!