Skip to content
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

Addons fail to install. #34

Open
1 of 7 tasks
slleeper opened this issue Apr 14, 2019 · 11 comments
Open
1 of 7 tasks

Addons fail to install. #34

slleeper opened this issue Apr 14, 2019 · 11 comments

Comments

@slleeper
Copy link

slleeper commented Apr 14, 2019

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

  • 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.

@damug
Copy link

damug commented May 2, 2019

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.

@OXOTH1K
Copy link

OXOTH1K commented Aug 5, 2019

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

@leso-kn
Copy link

leso-kn commented Sep 11, 2019

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

@leso-kn
Copy link

leso-kn commented Sep 12, 2019

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.

@Evil-Raveen
Copy link

Evil-Raveen commented Dec 6, 2019

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

@bkuhls
Copy link
Contributor

bkuhls commented Jan 28, 2020

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 :)

@garbear
Copy link
Owner

garbear commented Jan 30, 2020

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

@bkuhls
Copy link
Contributor

bkuhls commented Jan 30, 2020

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.

buildroot-auto-update pushed a commit to buildroot/buildroot that referenced this issue Feb 3, 2020
The Kodi build system also enables extra encodings:
https://github.com/xbmc/xbmc/blob/Leia/tools/depends/target/libiconv/Makefile#L13

Without them addons fail to install:
garbear/kodi-steamlink#34 (comment)

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
@szam99
Copy link

szam99 commented Feb 9, 2020

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

@naber31
Copy link

naber31 commented May 7, 2020

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?

@MadManMoon
Copy link

MadManMoon commented Jul 24, 2020

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 MadManMoon mentioned this issue Jul 24, 2020
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants