-
Notifications
You must be signed in to change notification settings - Fork 158
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
Settings were not initialized, Save addon settings, then restart Kodi #758
Comments
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. |
@shlivk that is because darwin binaries build is broken. https://github.com/elgatito/elementum-binaries |
looks like MacOS uses 65221 port for |
@mike-sirs |
unfortunately, it doesn't apply, elementum starts with the default localport |
@mike-sirs
after change
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 |
Hello, I have the exact same issue on macOS. Downgrading to a previous version did not work. Here is the logs: logs
The 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. |
you're right
I've also tried to run it separately, like |
so, for port - i can fix that. but the thing is that because of #758 (comment) 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) |
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? |
ideally somebody who uses macos should fix macos builds (if it is possible) @elgatito elgatito/elementum@905e946 |
Here is a full log: logs
When I said I downgraded it, I think I downloaded it from https://github.com/elgatito/elementum-binaries. I did disable auto-update. I am going to try to compile it from https://github.com/elgatito/elementum. |
I'll try to dig in it |
you have the latest version. you have not downgraded plugin. so you need to go to plugin info page in kodi, disable auto update for the plugin, download release <77 from try 76/75/74 for example, starting from 76 please. |
@antonsoroko |
you also can downgrade to 76 instead of 74. |
@mike-sirs |
As the comment says, it could not build elementum due to errors with cgo compilation. |
i meant a extra info behind this comment (e.g. what led to these errors) ;-) currently it gives me
which is a bummer :-( btw, we can try to update macos SDK to 10.14 like here https://github.com/elastic/golang-crossbuild/pull/87/files ideally i guess someone who uses macos can prepare and upload really new version of SDK using https://github.com/tpoechtrager/osxcross |
@antonsoroko I have already updated libtorrent-go / cross-compiler images for darwinx-64. |
@elgatito cool! |
@shlivk @mike-sirs @Diduu you need to unpack it and replace old elementum binary (with stopped kodi). thanks. |
I can confirm it works fine. No errors. @antonsoroko thank you a lot. |
i think this one should be fixed with 78 since now it has macos build (for 64bit). |
@shlivk could you please close the issue? |
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')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
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
The text was updated successfully, but these errors were encountered: