Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 15
  • 16
  • 17(current)
  • 18
  • 19
  • 72
Req Kodi on LG Web OS
Hi,

I,get this error during install on OLED48C3:

Code:
 % ares-install -v --device Biuro org.xbmc.kodi_20230922-492f307a-master_arm.ipk
ares-install verb argv { level: 'verbose',
ares-install verb argv   device: 'Biuro',
ares-install verb argv   argv: 
ares-install verb argv    { remain: [ 'org.xbmc.kodi_20230922-492f307a-master_arm.ipk' ],
ares-install verb argv      cooked: 
ares-install verb argv       [ '--level',
ares-install verb argv         'verbose',
ares-install verb argv         '--device',
ares-install verb argv         'Biuro',
ares-install verb argv         'org.xbmc.kodi_20230922-492f307a-master_arm.ipk' ],
ares-install verb argv      original: 
ares-install verb argv       [ '-v',
ares-install verb argv         '--device',
ares-install verb argv         'Biuro',
ares-install verb argv         'org.xbmc.kodi_20230922-492f307a-master_arm.ipk' ] } }
ares-install info install(): pkgPath: org.xbmc.kodi_20230922-492f307a-master_arm.ipk
ares-install info installer#install(): installing org.xbmc.kodi_20230922-492f307a-master_arm.ipk
ares-install info novacom.Session() opening session to 'Biuro'
ares-install verb Resolver#load() 
ares-install verb Resolver#getDeviceBy() key: name , value: Biuro
ares-install verb Session#begin() target: { name: 'Biuro',
ares-install verb Session#begin()   type: 'starfish',
ares-install verb Session#begin()   privateKeyName: 'Biuro_webos',
ares-install verb Session#begin()   passphrase: '',
ares-install verb Session#begin()   description: 'new device',
ares-install verb Session#begin()   conn: [ 'ssh' ],
ares-install verb Session#begin()   devId: null,
ares-install verb Session#begin()   addr: 'ssh://[email protected]:9922',
ares-install verb Session#begin()   profile: 'tv',
ares-install verb Session#begin()   host: '192.168.1.116',
ares-install verb Session#begin()   port: '9922',
ares-install verb Session#begin()   username: 'prisoner',
ares-install verb Session#begin()   default: true,
ares-install verb Session#begin()   files: 'sftp',
ares-install verb Session#begin()   privateKey: <Buffer 2d 2d ... > }
ares-install verb Session#begin() ssh session event: connected
ares-install verb Session#run() running
ares-install verb Session#run() event exit, code=0, signal=undefined
ares-install verb Session#run() event end
ares-install verb Session#run() event close
Installing package org.xbmc.kodi_20230922-492f307a-master_arm.ipk
ares-install verb Session#put() uploding into device: /media/developer/temp/org.xbmc.kodi_20230922-492f307a-master_arm.ipk from host: org.xbmc.kodi_20230922-492f307a-master_arm.ipk
ares-install verb Session#put() sftpPut() :: start
ares-install verb Session#sftpPut() host:org.xbmc.kodi_20230922-492f307a-master_arm.ipk => device:/media/developer/temp/org.xbmc.kodi_20230922-492f307a-master_arm.ipk
ares-install verb Session#put() sftpPut() :: done
ares-install verb Session#run() running
ares-install verb Session#run() event exit, code=0, signal=undefined
ares-install verb Session#run() event end
ares-install verb Session#run() event close
ares-install verb installer#install(): ls -l: -rw-rw-rw-    1 prisoner 5000      78327696 Sep 23 21:42 /media/developer/temp/org.xbmc.kodi_20230922-492f307a-master_arm.ipk
ares-install verb installer#install(): 
ares-install verb installer#install(): srcMd5: 90acf1d13eec02b102967446cc046f55
ares-install verb Session#run() running
ares-install verb installer#install(): dstMd5: 90acf1d13eec02b102967446cc046f55
ares-install verb Session#run() event exit, code=0, signal=undefined
ares-install verb Session#run() event end
ares-install verb Session#run() event close
ares-install verb luna#send() calling: luna://com.webos.appInstallService/dev/install
ares-install verb Session#run() running
ares-install verb installer#install(): waiting
ares-install verb installer#install(): waiting
ares-install verb installer#install(): failure
ares-install verb luna#send() Error: luna-send command failed <Memory Not available>
ares-install verb luna#send() closing exec stream
ares-install ERR! [com.webos.appInstallService failure]: luna-send command failed <Memory Not available>
ares-install verb Error
    at new b (/Users/grzegorzkaczor/webOS_TV_SDK/CLI/lib/base/error-handler.js:7:92)
    at Object.e.getErrMsg (/Users/grzegorzkaczor/webOS_TV_SDK/CLI/lib/base/error-handler.js:21:197)
    at /Users/grzegorzkaczor/webOS_TV_SDK/CLI/lib/install.js:7:402
    at q (/Users/grzegorzkaczor/webOS_TV_SDK/CLI/lib/base/luna.js:2:284)
    at Array.forEach (<anonymous>)
    at /Users/grzegorzkaczor/webOS_TV_SDK/CLI/lib/base/luna.js:3:240
    at Channel.<anonymous> (/Users/grzegorzkaczor/webOS_TV_SDK/CLI/lib/base/novacom.js:24:89)
    at emitOne (events.js:116:13)
    at Channel.emit (events.js:211:7)
    at addChunk (_stream_readable.js:263:12)
    at readableAddChunk (_stream_readable.js:250:11)
    at Channel.Readable.push (_stream_readable.js:208:10)
    at SSH2Stream.<anonymous> (/Users/grzegorzkaczor/webOS_TV_SDK/CLI/node_modules/ssh2/lib/Channel.js:167:15)
    at emitOne (events.js:116:13)
    at SSH2Stream.emit (events.js:211:7)
    at parsePacket (/Users/grzegorzkaczor/webOS_TV_SDK/CLI/node_modules/ssh2-streams/lib/ssh.js:3191:10) 
ares-install verb Clear Session 
ares-install verb Session#end() 

any help.
Reply
@grzegorz914

You could try installing using webOS Devmode Manager.
Reply
luna-send command failed <Memory Not available> seems to indicate that you do not have enough space on the TV.

How are you all installing kodi on webOS? Personally, I've always installed it by copying the ipk over to the tv and invoking the luna://com.webos.appInstallService/dev/install manually from command line. I want to set up a guide on installation/sideloading on the wiki so any feedback on how you guys have been installing kodi is appreciated. Are you using the ares-install from webOS TV SDK, manual installation, the DevMode manager for webOS or something else?

Regarding the restarts, can you test the IPK from PR#23805 to see if it fixes the behaviour?
Reply
@sundermann with the latest toolchain I can't link at runtime, ./kodi-webos: error while loading shared libraries: libpulse-mainloop-glib.so.0: cannot open shared object file: No such file or directory
I have tried to satisfy the library from the sysroot of the toolchain, but then it asks me for another library, ./kodi-webos: error while loading shared libraries: libpulsecommon-16.1.so: cannot open shared object file: No such file or directory
Reply
(2023-09-23, 23:57)sundermann Wrote: luna-send command failed <Memory Not available> seems to indicate that you do not have enough space on the TV.

Regarding the restarts, can you test the IPK from PR#23805 to see if it fixes the behaviour?

This is install correct and kodi start OK, thanks.
Reply
@sundermann

In my experience the webOS Devmode Manager works very well on Windows and is the most user friendly option available but I also find it just doesn’t work well right now on macOS and Ubuntu when trying to install IPK files for some reason. Tested two different Macs and it just says “type: error” when trying to use it there even though the setup process is exactly the same on every platform with that application.

I use ares-install on Ubuntu and it works quite well and seems quite a bit faster than webOS Devmode Manager and you don’t have to enable the Keyserver after initial setup using that method which is nice. With a nicely written guide I believe that option could also be fairly fast and easy to use for everyone.

I didn’t even know there was a third way to install like you describe. Can you tell me more about how you send the ipk to the tv first and then execute the Luna command?

Btw does that method mitigate having to execute the extra symlinking command many have to do to get Kodi to launch when installing it the first time?

Looking very much forward to hopefully seeing the app in the LG Content Store in the near future! Great work! Smile
Reply
@SoulReaver thanks for your feedback! Manual installation is basically invoking the install endpoint yourself so you copy the .ipk file and then invoke this command:

luna-send-pub -i 'luna://com.webos.appInstallService/dev/install' '{"id":"com.ares.defaultName","ipkUrl":"/tmp/kodi.ipk","subscribe":true}'

Essentially ares install and the dev mode manager use that endpoint as well but they just have some nicer tooling around it to copy the ipk automatically to the TV

The symlink issue is happening only because the jenkins build server is still using a old toolchain
Reply
@sundermann

You’re most welcome and thank you for the nice explanation! Smile
Reply
@sergio151179 that is because you are compiling an old version. Either rebase or make sure you copy over the requested libraries from the toolchain

@hranata_cikula @abhi0077 pinging to get some feedback on PR#23805
Reply
(2023-09-24, 16:36)sundermann Wrote: @sergio151179 that is because you are compiling an old version. Either rebase or make sure you copy over the requested libraries from the toolchain

@hranata_cikula @abhi0077 pinging to get some feedback on PR#23805

Unfortunately it didn't help. Once it reaches over 94%, it restarts. Also tried to enable debug log, however after the restart, the log was already overwritten.

Attaching video of the player process just before it restarts

https://streamable.com/vqcewc
Reply
No idea how you are even able to exhaust the system memory like that unless you have a lot of addons. Get the devmode manager or ssh into the tv and check the process list using top for memory consumption. Also grab the debug logs over scp or devmode manager
Reply
(2023-09-24, 21:10)hranata_cikula Wrote:
(2023-09-24, 16:36)sundermann Wrote: @sergio151179 that is because you are compiling an old version. Either rebase or make sure you copy over the requested libraries from the toolchain

@hranata_cikula @abhi0077 pinging to get some feedback on PR#23805

Unfortunately it didn't help. Once it reaches over 94%, it restarts. Also tried to enable debug log, however after the restart, the log was already overwritten.

Attaching video of the player process just before it restarts

https://streamable.com/vqcewc

is this a streaming file from an addon or a local file?
Reply
@hranata_cikula Did you change any of the caching settings? How much memory does your C1 have? Mine has 2GB and there's plenty of memory available even with kodi running and multiple suspended apps. Also wondering why your CPU usage is almost exhausted too
Reply
@sundermann there is another possibility at play which i was eluding to

ISA had a memory leak which was fixed recently, the movie playing is Avatar The Way of Water which is available from Disney+ through matthuisman's addon and it is quite high bitrate and would play through ISA so it fits the parameters

https://github.com/xbmc/inputstream.adap...ssues/1295


without a Debug Log i was unable to get any closer to eliminating the possibility
Reply
Can't be disney plus as DRM streams cannot be played through ISA at all on webOS
Reply
  • 1
  • 15
  • 16
  • 17(current)
  • 18
  • 19
  • 72

Logout Mark Read Team Forum Stats Members Help
Kodi on LG Web OS0
This forum uses Lukasz Tkacz MyBB addons.