kodi-steamlink icon indicating copy to clipboard operation
kodi-steamlink copied to clipboard

Addons fail to install.

Open slleeper opened this issue 5 years ago • 11 comments

Bug report

Describe the bug

Here is a clear and concise description of what the problem is:

Addons fails to install. Every addon.

Expected Behavior

Here is a clear and concise description of what was expected to happen:

Addons to be installed.

Actual Behavior

Addons fail to install. https://www.youtube.com/watch?v=oulRNBHhoTA

Possible Fix

To Reproduce

Steps to reproduce the behavior:

Debuglog

The debuglog can be found here: https://paste.kodi.tv/difovixoxo.kodi

Screenshots

Here are some links or screenshots to help explain the problem:

Additional context or screenshots (if appropriate)

Here is some additional context or explanation that might help:

Reply in a KODI support forum:

One of the developers has looked at the log and made the following comment...

nothing server related, as the file gets downloaded correctly. something is wrong with the iconv (or libc) library on that system ... it looks like something is wrong with the (system) library providing the iconv_open function

Also I noticed that in debug, the log starts with actual time and then ports 2 hours back. In Kodi it shows 2 hours less than the actual time.

Your Environment

Used Operating system:

  • [ ] Android

  • [ ] iOS

  • [x] Linux (STEAMLINK)

  • [ ] OSX

  • [ ] Raspberry-Pi

  • [ ] Windows

  • [ ] Windows UWP

  • Operating system version/name: Steamlink

  • Kodi version: 18.0

note: Once the issue is made we require you to update it with new information or Kodi versions should that be required. Team Kodi will consider your problem report however, we will not make any promises the problem will be solved.

slleeper avatar Apr 14 '19 05:04 slleeper

I'm also experiencing this issue, Tried with both the public and beta release of the base steamlink os. Explored the date/time issues, but my steamlink has correct date/time set. Any advice as to other avenues to troubleshoot would be much appreciated.

damug avatar May 02 '19 03:05 damug

Same problem. In log file this: 2019-08-05 21:38:41.048 T:2684969872 ERROR: customConvert: iconv_open() for "CP437" -> "UTF-8" failed, errno = 22 (Invalid argument) 2019-08-05 21:38:41.049 T:2684969872 ERROR: Previous line repeats 2 times. 2019-08-05 21:38:41.049 T:2684969872 ERROR: CAddonInstallJob[metadata.common.fanart.tv]: invalid package special://home/addons/packages/metadata.common.fanart.tv-3.6.1.zip 2019-08-05 21:41:41.254 T:2684969872 ERROR: customConvert: iconv_open() for "CP437" -> "UTF-8" failed, errno = 22 (Invalid argument) 2019-08-05 21:41:41.259 T:2684969872 ERROR: Previous line repeats 59 times. 2019-08-05 21:41:41.259 T:2684969872 ERROR: CAddonInstallJob[metadata.themoviedb.org]: invalid package special://home/addons/packages/metadata.themoviedb.org-5.1.8.zip

OXOTH1K avatar Aug 05 '19 17:08 OXOTH1K

I'm facing the same issue. It seems like the addons from the Leia repository are no longer compatible with 18.1

leso-kn avatar Sep 11 '19 23:09 leso-kn

Short update: Using the latest version of Krypton (17.X the version before Leia) Addon downloads work. In fact a whole set of features i found disfunctioning in 18.1 works flawlessly on that version.

I've come to notice, that steamlink kodi 18.1 is tagged as pre-release, so maybe it makes sense to stick with 17.5 for now.

leso-kn avatar Sep 12 '19 22:09 leso-kn

Pls help Kodi 18.1 Leia Linux (STEAMLINK 711) https://youtu.be/-6gkaKPx4-Q https://youtu.be/-6gkaKPx4-Q https://youtu.be/d0zzBf9oTdc

89A39BA1-A588-4D57-8C46-B176DDF91342 97DA5080-8F93-4EA2-A410-5FCC4B8A7AFA

Evil-Raveen avatar Dec 06 '19 06:12 Evil-Raveen

Seeing a similar problem on another platform, was there ever a solution to the problem? My libc is built without locale support but libiconv is present and kodi.bin is linked to libiconv.so.

EDIT: The solution is to configure libiconv with "--enable-extra-encodings" https://www.gnu.org/software/libiconv/

When configured with the option --enable-extra-encodings, it also provides support for a few extra encodings:

European languages CP{437,737,775,852,853,855,857,858,860,861,863,865,869,1125}

This solves the CP437 error seen in the Kodi logs :)

bkuhls avatar Jan 28 '20 18:01 bkuhls

Is kodi's libiconv depend not configured with that flag? https://github.com/xbmc/xbmc/blob/Krypton/tools/depends/target/libiconv/Makefile#L13

garbear avatar Jan 30 '20 01:01 garbear

Is kodi's libiconv depend not configured with that flag? https://github.com/xbmc/xbmc/blob/Krypton/tools/depends/target/libiconv/Makefile#L13

It is, but I built libiconv outside the Kodi build system.

bkuhls avatar Jan 30 '20 05:01 bkuhls

Hi i have same problem, someone can explain how to fix it step by step, im totally green.

szam99 avatar Feb 09 '20 10:02 szam99

Hello @garbear have you quit this project? I just found out about this i also cannot download and use any addons with 18.1. Will there be any updates on this?

naber31 avatar May 07 '20 08:05 naber31

I'm also experiencing this issue, and and wondering if it's to blame for very bad video playback (I still need to fully troubleshoot that, but I'm relatively sure they were good old fashioned h.264, or x.264 as per steamlink's processing capabilities). Anyway, the problem isn't necessarily that I can't add new add-ons, but that the ones needed for the thing to work won't update, making me feel like it might not be fully functional.

I'm going to try a reinstall to see if I can downgrade Kodi to 17.6, but it might require 17.5 by the looks of other comments here. At was far as what I got from @leso-kn ...

I think you can grab the previous version here: https://github.com/garbear/kodi-steamlink/releases/tag/v17.6-2018-03-10

I also am very much assuming that the downgrade process would be (same as the install) as simple as inserting the drive with the replacement Kodi, sands let it do it's thing. But would appreciate it if anyone else has a clue on that, so I'm putting that out to @leso-kn , @slleeper , @damug , @OXOTH1K , @naber31 , and @szam99 , to see if any / all of us can attempt it. :-)

I'm not here expecting @garbear to weigh in on this, as I'm hoping we can crowdsource this works around, even if we can't fully find a fix for it. I never operate with expectation or entitlement with regards to the hard work that others have done for free, and (similarly) I am not saying that anyone else does operate that way. Just keeping the pressure off, is all. :-)

PS - Might be good (if someone has access) to list it as a bug in all versions post 17.5/6, though.

MadManMoon avatar Jul 24 '20 10:07 MadManMoon