Open shlivk opened 3 years ago
Downgraded to 1.74 and all is well again. No-one else encountering this with 1.77?
Your log is saying you use 0.1.69. That is not a downgrade.
looks like you tried to launch elementum 69 with config file from newer version.
also please use `` and
@shlivk that is because darwin binaries build is broken. https://github.com/elgatito/elementum-binaries
looks like MacOS uses 65221 port for rapportd
is there a way to change this port?
@mike-sirs open last tab in settings, then see last section in this tab.
@mike-sirs open last tab in settings, then see last section in this tab.
unfortunately, it doesn't apply, elementum starts with the default localport
@mike-sirs it actually does apply on python side - port will be changed to new one. before change
$ sudo lsof -i:65221
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
kodi.bin 1901649 antix 27u IPv4 21163270 0t0 TCP *:65221 (LISTEN)
after change
$ sudo lsof -i:65222
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
kodi.bin 1932815 antix 28u IPv4 21261898 0t0 TCP *:65222 (LISTEN)
but then golang part (elementum binary) will not use this new port.
so this is a bug.
but jfyi: even after we will fix it - you will not be able to use in on macos since https://github.com/elgatito/plugin.video.elementum/issues/758#issuecomment-845411197
Hello, I have the exact same issue on macOS. Downgrading to a previous version did not work. Here is the logs:
```
2021-05-22 13:29:11.138 T:13827775 DEBUG
The DEBUG <CSettingsManager>: requested setting (auto_adjust_buffer_size) was not found.
errors brought me there: https://github.com/jurialmunkey/plugin.video.themoviedb.helper/issues/55. It looks like a similar issue existed with older version of Kodi. I don't really know how to go from there to fix it.
Maybe if someone has access to a setting file that works, I could copy it and try to use this instead of the default one.
it actually does apply on python side - port will be changed to new one. before change
$ sudo lsof -i:65221 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME kodi.bin 1901649 antix 27u IPv4 21163270 0t0 TCP *:65221 (LISTEN)
after change
$ sudo lsof -i:65222 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME kodi.bin 1932815 antix 28u IPv4 21261898 0t0 TCP *:65222 (LISTEN)
but then golang part (elementum binary) will not use this new port.
so this is a bug.
but jfyi: even after we will fix it - you will not be able to use in on macos since #758 (comment)
you're right
2021-05-22 14:42:19.062 T:1086799 WARNING <general>: [plugin.video.elementum] INFO main ⶠmain [0mStarting Elementum daemon
2021-05-22 14:42:19.062 T:1086799 WARNING <general>: [plugin.video.elementum] INFO main ⶠmain [0mVersion: 0.1.69 LibTorrent: 1.1.14.0 Go: go1.15.8, Threads: 12
2021-05-22 14:42:19.062 T:1086799 WARNING <general>: [plugin.video.elementum] INFO config ⶠReload [0mReloading configuration...
2021-05-22 14:42:19.062 T:1086799 WARNING <general>: [plugin.video.elementum] INFO config ⶠReload [0mSetting remote address to 127.0.0.1:65221
2021-05-22 14:42:19.062 T:1086799 WARNING <general>: [plugin.video.elementum] [33mWARN config ⶠReload [0mCan't continue because addon info is empty
2021-05-22 14:42:22.064 T:1086799 WARNING <general>: [plugin.video.elementum] [33mWARN config ⶠfunc1 [0mAddon settings not properly set, opening settings window: "LOCALIZE[30113]"
2021-05-22 14:42:22.065 T:1086799 WARNING <general>: [plugin.video.elementum] System information: darwin_x64
2021-05-22 14:42:22.065 T:1086799 WARNING <general>: [plugin.video.elementum] Kodi build version: 19.1 (19.1.0) Git:20210508-85e05228b4
2021-05-22 14:42:22.065 T:1086799 WARNING <general>: [plugin.video.elementum] OS type: Darwin
2021-05-22 14:42:22.065 T:1086799 WARNING <general>: [plugin.video.elementum] uname: uname_result(system='Darwin', node='mikes-MacBook-Pro.local', release='20.4.0', version='Darwin Kernel Version 20.4.0: Thu Apr 22 21:46:47 PDT 2021; root:xnu-7195.101.2~1/RELEASE_X86_64', machine='x86_64', processor='i386')
2021-05-22 14:42:23.360 T:1086664 INFO <general>: Loading skin file: DialogButtonMenu.xml, load type: KEEP_IN_MEMORY
2021-05-22 14:42:23.532 T:1086784 INFO <general>: CPythonInvoker(1, /Users/undead/Library/Application Support/Kodi/addons/service.xbmc.versioncheck/resources/lib/run
I've also tried to run it separately, like
./darwin_x64/elementum -remotePort=65223 -remoteHost=127.0.0.1
but the result is
Addon settings not properly set, opening settings window: &runtime.TypeAssertionError{_interface:(*runtime._type)(0x511d2e0), concrete:(*runtime._type)(nil), asserted:(*runtime._type)(0x50f2c80), missingMethod:""}
@mike-sirs
so, for port - i can fix that.
but the thing is that because of https://github.com/elgatito/plugin.video.elementum/issues/758#issuecomment-845411197 you will not be able to use it, since new plugin.video.elementum has new settings thus elementum binary (https://github.com/elgatito/elementum) also should has them (and vice versa). (plugin consists from 2 parts)
but on macos you stuck with old 0.1.69 binary but with new plugin.video.elementum python code.
you can fix your particular issue by installing plugin.video.elementum 0.1.74 for example (to fix settings mismatch issue). and then by disabling auto update of plugin.video.elementum and then by apply fix (that we will create) for port manually to the your local plugin's python code. (or you can run old elementum binary by hands, but this will be inconvenient i think)
@diduu
it is not a full log so i can not see what version of plugin.video.elementum you have.
and to what version you tried to downgrade? to 0.1.74 like the author of this issue? and did you disable auto-update for plugin.video.elementum?
ideally somebody who uses macos should fix macos builds (if it is possible)
@elgatito https://github.com/elgatito/elementum/commit/905e946e23ae8dfd608cfa263eaf7cb7926fbef6 any ideas why it happened?
@antonsoroko
Here is a full log:
Elementum keeps crashing and reloading configuration, then brings up the settings page.
I already tried to delete the settings.xml file, but that did not help. Log output:
2021-05-20 20:29:31.822 T:107026 WARNING: [plugin.video.elementum] elementumd: starting elementumd
2021-05-20 20:29:31.822 T:107025 WARNING : [plugin.video.elementum] elementum: starting jsonrpc service
2021-05-20 20:29:31.822 T:99933 INFO : JSONRPC Server: New connection added
2021-05-20 20:29:31.823 T:99933 INFO : JSONRPC Server: Disconnection detected
2021-05-20 20:29:31.823 T:107026 WARNING : [plugin.video.elementum] Kodi's JSON-RPC service is available, starting up...
2021-05-20 20:29:31.825 T:107026 WARNING : [plugin.video.elementum] Binary detection. Source: /Users/amirglaser/Library/Application Support/Kodi/addons/plugin.video.elementum/resources/bin/darwin_x64/elementum, Destination: /Users/amirglaser/Library/Application Support/Kodi/userdata/addon_data/plugin.video.elementum/bin/darwin_x64/elementum
2021-05-20 20:29:31.826 T:107026 WARNING : [plugin.video.elementum] Deleting stale files set()
2021-05-20 20:29:31.826 T:107026 WARNING : [plugin.video.elementum] Binary detection: [ Source: /Users/amirglaser/Library/Application Support/Kodi/addons/plugin.video.elementum/resources/bin/darwin_x64/elementum, Destination: /Users/amirglaser/Library/Application Support/Kodi/userdata/addon_data/plugin.video.elementum/bin/darwin_x64/elementum ]
2021-05-20 20:29:31.826 T:107026 WARNING : [plugin.video.elementum] Binary dir: /Users/amirglaser/Library/Application Support/Kodi/userdata/addon_data/plugin.video.elementum/bin/darwin_x64, item: /Users/amirglaser/Library/Application Support/Kodi/userdata/addon_data/plugin.video.elementum/bin/darwin_x64/elementum
2021-05-20 20:29:31.826 T:107026 WARNING : [plugin.video.elementum] elementumd: start args: ['/Users/amirglaser/Library/Application Support/Kodi/userdata/addon_data/plugin.video.elementum/bin/darwin_x64/elementum'], kw: {'stdout': -1, 'stderr': -2, 'cwd': '/Users/amirglaser/Library/Application Support/Kodi/userdata/addon_data/plugin.video.elementum/bin/darwin_x64', 'env': {'USER': 'amirglaser', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LOGNAME': 'amirglaser', 'SSH_AUTH_SOCK': '/private/tmp/com.apple.launchd.n9IXXbOTDw/Listeners', 'HOME': '/Users/amirglaser', 'SHELL': '/bin/bash', '__CF_USER_TEXT_ENCODING': '0x1F5:0x0:0x0', 'TMPDIR': '/var/folders/sg/rz7dch0d44n5_hpj2q44gjhr0000gn/T/', 'XPC_SERVICE_NAME': 'org.xbmc.kodi.16132', 'XPC_FLAGS': '0x0', 'SDL_VIDEO_ALLOW_SCREENSAVER': '1', 'KODI_HOME': '/Applications/Kodi.app/Contents/Resources/Kodi', 'SSL_CERT_FILE': '/Applications/Kodi.app/Contents/Resources/Kodi/system/certs/cacert.pem', 'OS': 'OS X', 'PYTHONOPTIMIZE': '1', 'PYTHONHOME': '/Applications/Kodi.app/Contents/Libraries/', 'PYTHONPATH': '/Applications/Kodi.app/Contents/Libraries/', 'LD_LIBRARY_PATH': '/Users/amirglaser/Library/Application Support/Kodi/userdata/addon_data/plugin.video.elementum/bin/darwin_x64:', 'GODEBUG': 'madvdontneed=1'}, 'close_fds': True}
2021-05-20 20:29:31.855 T:107026 WARNING : [plugin.video.elementum] INFO main ▶ main Starting Elementum daemon
2021-05-20 20:29:31.855 T:107026 WARNING : [plugin.video.elementum] INFO main ▶ main Version: 0.1.69 LibTorrent: 1.1.14.0 Go: go1.15.8, Threads: 8
2021-05-20 20:29:31.855 T:107026 WARNING : [plugin.video.elementum] INFO config ▶ Reload Reloading configuration...
2021-05-20 20:29:31.855 T:107026 WARNING : [plugin.video.elementum] INFO config ▶ Reload Setting remote address to 127.0.0.1:65221
2021-05-20 20:29:31.874 T:107026 WARNING : [plugin.video.elementum] NOTI config ▶ Reload Paths translated by Kodi: Download = . , Library = /Users/amirglaser/.kodi/temp/elementum_library , Torrents = /Users/amirglaser/.kodi/temp/elementum_torrents , Storage = 1
2021-05-20 20:29:31.875 T:107026 WARNING : [plugin.video.elementum] INFO config ▶ Reload Using download path: .
2021-05-20 20:29:31.875 T:107026 WARNING : [plugin.video.elementum] INFO config ▶ Reload Using library path: /Users/amirglaser/.kodi/temp/elementum_library
2021-05-20 20:29:31.888 T:107026 WARNING : [plugin.video.elementum] INFO config ▶ Reload Using torrents path: /Users/amirglaser/.kodi/temp/elementum_torrents
2021-05-20 20:29:31.889 T:107026 WARNING : [plugin.video.elementum] WARN config ▶ func1 Addon settings not properly set, opening settings window: &runtime.TypeAssertionError{_interface:(runtime._type)(0x511d2e0), concrete:(runtime._type)(nil), asserted:(runtime._type)(0x50f2c80), missingMethod:""}
2021-05-20 20:29:36.728 T:107026 WARNING : [plugin.video.elementum]
2021-05-20 20:29:36.729 T:107026 WARNING : [plugin.video.elementum] System information: darwin_x64
2021-05-20 20:29:36.729 T:107026 WARNING : [plugin.video.elementum] Kodi build version: 19.1 (19.1.0) Git:20210508-85e05228b4
2021-05-20 20:29:36.729 T:107026 WARNING : [plugin.video.elementum] OS type: Darwin
2021-05-20 20:29:36.729 T:107026 WARNING : [plugin.video.elementum] uname: uname_result(system='Darwin', node='MacBook-Pro-2.local', release='19.6.0', version='Darwin Kernel Version 19.6.0: Tue Jan 12 22:13:05 PST 2021; root:xnu-6153.141.16~1/RELEASE_X86_64', machine='x86_64', processor='i386')
2021-05-20 20:29:41.733 T:107026 WARNING : [plugin.video.elementum] elementumd: starting elementumd
2021-05-20 20:29:41.734 T:99933 INFO : JSONRPC Server: New connection added
2021-05-20 20:29:41.734 T:107026 WARNING : [plugin.video.elementum] Kodi's JSON-RPC service is available, starting up...
2021-05-20 20:29:41.734 T:99933 INFO : JSONRPC Server: Disconnection detected
2021-05-20 20:29:41.778 T:107026 WARNING : [plugin.video.elementum] Binary detection. Source: /Users/amirglaser/Library/Application Support/Kodi/addons/plugin.video.elementum/resources/bin/darwin_x64/elementum, Destination: /Users/amirglaser/Library/Application Support/Kodi/userdata/addon_data/plugin.video.elementum/bin/darwin_x64/elementum
2021-05-20 20:29:41.779 T:107026 WARNING : [plugin.video.elementum] Deleting stale files set()
2021-05-20 20:29:41.779 T:107026 WARNING : [plugin.video.elementum] Binary detection: [ Source: /Users/amirglaser/Library/Application Support/Kodi/addons/plugin.video.elementum/resources/bin/darwin_x64/elementum, Destination: /Users/amirglaser/Library/Application Support/Kodi/userdata/addon_data/plugin.video.elementum/bin/darwin_x64/elementum ]
2021-05-20 20:29:41.779 T:107026 WARNING : [plugin.video.elementum] Binary dir: /Users/amirglaser/Library/Application Support/Kodi/userdata/addon_data/plugin.video.elementum/bin/darwin_x64, item: /Users/amirglaser/Library/Application Support/Kodi/userdata/addon_data/plugin.video.elementum/bin/darwin_x64/elementum
2021-05-20 20:29:41.824 T:107026 WARNING : [plugin.video.elementum] elementumd: start args: ['/Users/amirglaser/Library/Application Support/Kodi/userdata/addon_data/plugin.video.elementum/bin/darwin_x64/elementum'], kw: {'stdout': -1, 'stderr': -2, 'cwd': '/Users/amirglaser/Library/Application Support/Kodi/userdata/addon_data/plugin.video.elementum/bin/darwin_x64', 'env': {'USER': 'amirglaser', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LOGNAME': 'amirglaser', 'SSH_AUTH_SOCK': '/private/tmp/com.apple.launchd.n9IXXbOTDw/Listeners', 'HOME': '/Users/amirglaser', 'SHELL': '/bin/bash', '__CF_USER_TEXT_ENCODING': '0x1F5:0x0:0x0', 'TMPDIR': '/var/folders/sg/rz7dch0d44n5_hpj2q44gjhr0000gn/T/', 'XPC_SERVICE_NAME': 'org.xbmc.kodi.16132', 'XPC_FLAGS': '0x0', 'SDL_VIDEO_ALLOW_SCREENSAVER': '1', 'KODI_HOME': '/Applications/Kodi.app/Contents/Resources/Kodi', 'SSL_CERT_FILE': '/Applications/Kodi.app/Contents/Resources/Kodi/system/certs/cacert.pem', 'OS': 'OS X', 'PYTHONOPTIMIZE': '1', 'PYTHONHOME': '/Applications/Kodi.app/Contents/Libraries/', 'PYTHONPATH': '/Applications/Kodi.app/Contents/Libraries/', 'LD_LIBRARY_PATH': '/Users/amirglaser/Library/Application Support/Kodi/userdata/addon_data/plugin.video.elementum/bin/darwin_x64:', 'GODEBUG': 'madvdontneed=1'}, 'close_fds': True}
2021-05-20 20:29:41.855 T:107026 WARNING : [plugin.video.elementum] INFO main ▶ main Starting Elementum daemon
2021-05-20 20:29:41.856 T:107026 WARNING : [plugin.video.elementum] INFO main ▶ main Version: 0.1.69 LibTorrent: 1.1.14.0 Go: go1.15.8, Threads: 8
2021-05-20 20:29:41.856 T:107026 WARNING : [plugin.video.elementum] INFO config ▶ Reload Reloading configuration...
2021-05-20 20:29:41.875 T:107026 WARNING : [plugin.video.elementum] INFO config ▶ Reload Setting remote address to 127.0.0.1:65221
2021-05-20 20:29:41.875 T:107026 WARNING : [plugin.video.elementum] NOTI config ▶ Reload Paths translated by Kodi: Download = . , Library = /Users/amirglaser/.kodi/temp/elementum_library , Torrents = /Users/amirglaser/.kodi/temp/elementum_torrents , Storage = 1
2021-05-20 20:29:41.875 T:107026 WARNING : [plugin.video.elementum] INFO config ▶ Reload Using download path: .
2021-05-20 20:29:41.875 T:107026 WARNING : [plugin.video.elementum] INFO config ▶ Reload Using library path: /Users/amirglaser/.kodi/temp/elementum_library
2021-05-20 20:29:41.876 T:107026 WARNING : [plugin.video.elementum] INFO config ▶ Reload Using torrents path: /Users/amirglaser/.kodi/temp/elementum_torrents
2021-05-20 20:29:41.888 T:107026 WARNING : [plugin.video.elementum] WARN config ▶ func1 Addon settings not properly set, opening settings window: &runtime.TypeAssertionError{_interface:( runtime._type)(0x511d2e0), concrete:(runtime._type)(nil), asserted:(runtime._type)(0x50f2c80), missingMethod:""}
2021-05-20 20:29:44.293 T:99722 WARNING : CGUIWindowManager - HandleAction - ignoring action 107, because topmost modal dialog closing animation is running
2021-05-20 20:29:47.374 T:107026 WARNING : Skipped 7 duplicate messages..
2021-05-20 20:29:47.374 T:107026 WARNING : [plugin.video.elementum]
2021-05-20 20:29:47.374 T:107026 WARNING : [plugin.video.elementum] System information: darwin_x64
2021-05-20 20:29:47.375 T:107026 WARNING : [plugin.video.elementum] Kodi build version: 19.1 (19.1.0) Git:20210508-85e05228b4
2021-05-20 20:29:47.375 T:107026 WARNING : [plugin.video.elementum] OS type: Darwin
2021-05-20 20:29:47.376 T:107026 WARNING : [plugin.video.elementum] uname: uname_result(system='Darwin', node='MacBook-Pro-2.local', release='19.6.0', version='Darwin Kernel Version 19.6.0: Tue Jan 12 22:13:05 PST 2021; root:xnu-6153.141.16~1/RELEASE_X86_64', machine='x86_64', processor='i386')
2021-05-20 20:29:50.385 T:107025 WARNING : [plugin.video.elementum] elementum: exiting jsonrpc service
2021-05-20 20:29:50.896 T:107017 WARNING : [plugin.video.elementum] elementum: exiting elementumd
2021-05-20 20:29:50.896 T:107017 INFO : CPythonInvoker(6, /Users/amirglaser/Library/Application Support/Kodi/addons/plugin.video.elementum/service.py): script successfully run
2021-05-20 20:29:50.896 T:107017 INFO : CPythonInvoker(6, /Users/amirglaser/Library/Application Support/Kodi/addons/plugin.video.elementum/service.py): waiting on thread 123145580584960
2021-05-20 20:29:50.897 T:107165 WARNING : [plugin.video.elementum] elementumd: exiting elementumd daemon
2021-05-20 20:29:50.897 T:107165 WARNING : [plugin.video.elementum] elementumd: elementumd daemon exited
2021-05-20 20:29:50.897 T:107031 WARNING : [plugin.video.elementum] elementumd: exiting elementumd daemon
2021-05-20 20:29:50.897 T:107031 WARNING : [plugin.video.elementum] elementumd: elementumd daemon exited
2021-05-20 20:29:51.000 T:107017 INFO : CPythonInvoker(6, /Users/amirglaser/Library/Application Support/Kodi/addons/plugin.video.elementum/service.py): waiting on thread 123145547005952