kodi-rpi depends on python 3.9

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

Re: kodi-rpi depends on python 3.9

Postby ivanrajkovic » Sat Jan 01, 2022 1:44 am

New version is crashing, this is what I get from coredump:
------
Core was generated by `/usr/lib/kodi/kodi.bin --standalone'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0xb6800fcc in ?? () from /usr/lib/libpython3.10.so.1.0
[Current thread is 1 (Thread 0x9f1f9090 (LWP 1786))]
-------

I get similar behaviour with kodi-rpi-git which uses kodi 20. is it possible to downgrade python to 3.9 while these bugs are fixed? I am trying to get older packages from http://tardis.tiny-vps.com/aarm/packages/ but the server is not responding.
ivanrajkovic
 
Posts: 3
Joined: Fri Dec 31, 2021 9:08 pm

Re: kodi-rpi depends on python 3.9

Postby ivanrajkovic » Sat Jan 01, 2022 2:08 am

there are a lot of bug reports involving kodi and python 3.10.1, like this one:
https://bbs.archlinux.org/viewtopic.php?id=272121
https://forum.kodi.tv/showthread.php?tid=366000

Downgrading python to 3.10.0 would fix a lot of them.
ivanrajkovic
 
Posts: 3
Joined: Fri Dec 31, 2021 9:08 pm

Re: kodi-rpi depends on python 3.9

Postby graysky » Sat Jan 01, 2022 10:52 am

$this->bbcode_second_pass_quote('ivanrajkovic', 't')here are a lot of bug reports involving kodi and python 3.10.1, like this one:
https://bbs.archlinux.org/viewtopic.php?id=272121
https://forum.kodi.tv/showthread.php?tid=366000

Downgrading python to 3.10.0 would fix a lot of them.


That statement is true but the original post was due to kodi needing to be rebuilt against 3.10 which is now fixed.
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: kodi-rpi depends on python 3.9

Postby unformatted » Sat Jan 01, 2022 1:51 pm

I just upgraded my Pi2 and with the latest 19.3.3 version (kodi-rpi-legacy 19.3-3 Sat Jan 1 00:01:12 2022 UTC) and I got the same error:

$this->bbcode_second_pass_code('', '
2022-01-01 13:34:23.973 T:571 ERROR <general>: Exception ignored deletion of interned string failed
2022-01-01 13:34:23.973 T:571 ERROR <general>: :

2022-01-01 13:34:23.973 T:571 ERROR <general>: Traceback (most recent call last):

2022-01-01 13:34:23.973 T:571 ERROR <general>: File "/usr/lib/python3.10/sqlite3/dbapi2.py", line 83, in register_adapters_and_converters

2022-01-01 13:34:24.019 T:571 ERROR <general>:
2022-01-01 13:34:24.019 T:571 ERROR <general>: register_converter("timestamp", convert_timestamp)
2022-01-01 13:34:24.019 T:571 ERROR <general>:

2022-01-01 13:34:24.020 T:571 ERROR <general>: KeyError
2022-01-01 13:34:24.020 T:571 ERROR <general>: :
2022-01-01 13:34:24.020 T:571 ERROR <general>: 'timepart_full'
2022-01-01 13:34:24.020 T:571 ERROR <general>:
')
Kodi does not respond to remote, crashes and restarts every 10 ~ 20 seconds, creating crash logs.

I restored a backup so I cannot provide any more details.
unformatted
 
Posts: 119
Joined: Tue Mar 09, 2021 5:23 pm

Re: kodi-rpi depends on python 3.9

Postby graysky » Sat Jan 01, 2022 2:28 pm

Different problem, python 3.10.1 bug. Downgrade to 3.10.0-1 and wait for upstream to fix it.

https://bugs.archlinux.org/task/73002
https://bugs.python.org/issue46070
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: kodi-rpi depends on python 3.9

Postby neo1973 » Sat Jan 01, 2022 11:48 pm

Can someone may share the python 3.10.0-1 package? http://tardis.tiny-vps.com/aarm/packages/ is still down I unfortunately don't have it in the cache.
neo1973
 
Posts: 7
Joined: Sun May 09, 2021 3:06 pm

Re: kodi-rpi depends on python 3.9

Postby graysky » Sun Jan 02, 2022 1:53 am

http://alaa.ad24.cz/

Or just build it yourself
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: kodi-rpi depends on python 3.9

Postby neo1973 » Sun Jan 02, 2022 3:53 am

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:
$this->bbcode_second_pass_code('', '
# 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.
neo1973
 
Posts: 7
Joined: Sun May 09, 2021 3:06 pm

Re: kodi-rpi depends on python 3.9

Postby graysky » Sun Jan 02, 2022 7:10 am

$this->bbcode_second_pass_quote('graysky', 'O')r just build it yourself
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: kodi-rpi depends on python 3.9

Postby unlimitedbacon » Sun Jan 02, 2022 11:32 pm

I can confirm that neo1973's workaround works, for the moment.
unlimitedbacon
 
Posts: 2
Joined: Sun Jan 02, 2022 11:31 pm

Next

Return to Packages

Who is online

Users browsing this forum: No registered users and 14 guests