kodi-rpi depends on python 3.9

Problems with packages? Post here, using [tags] of the package name.

Kodi crashes with python 3.10.1

Postby it9exm » Thu Jan 06, 2022 9:49 pm

Kodi is affected by this bug on Archlinux ARM too:

https://bugs.python.org/issue46070

also described here:

https://forum.kodi.tv/showthread.php?tid=366000

Since there is no 3.10.0 version in the repository, because it was never built for this target, is there any workaround to fix it?
it9exm
 
Posts: 12
Joined: Sat Aug 06, 2016 1:35 pm

Re: kodi-rpi depends on python 3.9

Postby graysky » Fri Jan 07, 2022 1:27 am

MOD NOTE - merged
graysky
 
Posts: 1378
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: kodi-rpi depends on python 3.9

Postby doragasu1 » Fri Jan 07, 2022 5:54 pm

Latest kodi 19.3-3 still crashing with latest python 3.10.1-2. Fortunately downgrading to versions 19.3-2 and 3.9.9-1 workarounds the problem until it gets fixed.
doragasu1
 
Posts: 97
Joined: Sun Jun 03, 2012 3:52 pm

Re: kodi-rpi depends on python 3.9

Postby graysky » Fri Jan 07, 2022 6:53 pm

doragasu1 wrote:Latest kodi 19.3-3 still crashing with latest python 3.10.1-2. Fortunately downgrading to versions 19.3-2 and 3.9.9-1 workarounds the problem until it gets fixed.


Recommend that you keep your system on the latest kodi-rpi and python, just apply the 4-line comment from neo:
neo1973 wrote:Thanks for the link @graysky, unfortunately I had to realize that there never was a version 3.10.0-1 for Arch Linux Arm, only for the regular x86_64 distribution. Inspired by https://bbs.archlinux.org/viewtopic.php ... 1#p2012681 I edited /usr/lib/python3.10/sqlite3/dbapi2.py and commented out these lines:
Code: Select all
#    register_adapter(datetime.date, adapt_date)
#    register_adapter(datetime.datetime, adapt_datetime)
#    register_converter("date", convert_date)
#    register_converter("timestamp", convert_timestamp)

With that change kodi seems to work for now.
graysky
 
Posts: 1378
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: kodi-rpi depends on python 3.9

Postby pejobo » Sun Jan 09, 2022 3:35 pm

I updated today and kodi was in a restart loop with very high load, so it was not easy to ssh in and prevent kodi from restart.

I now did the manual sqlite "patch" and kodi now starts fine again.
But there are still severe problems with my actual system:
1) No audio
2) Video stutters and hangs after a view seconds

I still to try to find out what happened. Last complete update before today was on 2021-12-30.

UPDATE:
Downgrading to firmware-raspberrypi from 20211222-1 back to 20211117-1 seems to have fixed both issues.
pejobo
 
Posts: 35
Joined: Tue Apr 07, 2015 5:42 pm

Re: kodi-rpi depends on python 3.9

Postby doragasu1 » Sun Jan 16, 2022 9:34 am

@graysky: Thanks, that worked great!
doragasu1
 
Posts: 97
Joined: Sun Jun 03, 2012 3:52 pm

Re: kodi-rpi depends on python 3.9

Postby grandcanyon » Tue Jan 18, 2022 1:51 am

The problem is that it works for most plugins but not all. For example, PlutoTV is broken by commenting out the lines. Looks like Python 3.10,2-1 fixes the issue but I'm not sure how to install it. I read how to enable testing repo but I only see it for x86_64. I compiled downgrade but that didn't find python 3.9. I'm not new to Linux but am to Arch.
grandcanyon
 
Posts: 20
Joined: Tue Jan 18, 2022 1:46 am

Re: kodi-rpi depends on python 3.9

Postby graysky » Tue Jan 18, 2022 2:30 am

You can adapt the PKGBUILD from x86_64 or wait for it to move out of [testing] to [core].
graysky
 
Posts: 1378
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: kodi-rpi depends on python 3.9

Postby grandcanyon » Tue Jan 18, 2022 4:06 am

How can I pull/install it from testing? I can't seem to find it.
grandcanyon
 
Posts: 20
Joined: Tue Jan 18, 2022 1:46 am

Re: kodi-rpi depends on python 3.9

Postby grandcanyon » Tue Jan 18, 2022 6:19 am

Latest kodi 19.3-3 still crashing with latest python 3.10.1-2. Fortunately downgrading to versions 19.3-2 and 3.9.9-1 workarounds the problem until it gets fixed.

How do you downgrade?
grandcanyon
 
Posts: 20
Joined: Tue Jan 18, 2022 1:46 am

PreviousNext

Return to Packages

Who is online

Users browsing this forum: No registered users and 3 guests