Kodi Community Forum
Solved Crash when using Python 3.10.1 - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Solved Crash when using Python 3.10.1 (/showthread.php?tid=366000)



Crash when using Python 3.10.1 - TheGridOne - 2021-12-15

If one attempts to run Kodi on a system running Python 3.10.1, it crashes. I have the error on Kodi Matrix and on a Git build from yesterday (14-12-2021). Any ideas? Using Arch Linux.
 
Code:
2021-12-15 10:06:52.571 T:901192    INFO <general>: Python interpreter stopped
2021-12-15 10:06:56.059 T:901193   ERROR <general>: Exception ignored deletion of interned string failed
2021-12-15 10:06:56.059 T:901193   ERROR <general>: :

2021-12-15 10:06:56.059 T:901193   ERROR <general>: Traceback (most recent call last):

2021-12-15 10:06:56.059 T:901193   ERROR <general>:   File "/usr/lib/python3.10/sqlite3/dbapi2.py", line 83, in register_adapters_and_converters

2021-12-15 10:06:56.060 T:901193   ERROR <general>:     
2021-12-15 10:06:56.060 T:901193   ERROR <general>: register_converter("timestamp", convert_timestamp)
2021-12-15 10:06:56.060 T:901193   ERROR <general>:

2021-12-15 10:06:56.060 T:901193   ERROR <general>: KeyError
2021-12-15 10:06:56.060 T:901193   ERROR <general>: :
2021-12-15 10:06:56.060 T:901193   ERROR <general>: 'timepart_full'



RE: Crash when using Python 3.10.1 - graysky - 2021-12-15

https://bugs.python.org/issue46070


RE: Crash when using Python 3.10.1 - TheGridOne - 2021-12-15

Thanks, man! I have looked at the bug report: it's a mess... Fingers crossed!


RE: Crash when using Python 3.10.1 - AKA_ - 2021-12-17

In case it helps anyone, I was able to fix this on arch by running
 
Code:
$ pacman -U https://archive.org/download/archlinux_pkg_python/python-3.10.0-1-x86_64.pkg.tar.zst
Which points pacman to the 3.10.0 package in the Arch Linux Archive


Crash when using Python 3.10.1 - Klojum - 2021-12-17

Thread marked solved.


RE: Crash when using Python 3.10.1 - graysky - 2021-12-17

Yes, and keep it until the issue is fixed, remember to add IgnorePkg   = python to /etc/pacman.conf


RE: Crash when using Python 3.10.1 - peram1 - 2022-01-06

(2021-12-17, 06:40)Klojum Wrote: Thread marked solved.

kidding? 
when I revert python I loose my VPN ... any other solution to have Kodi AND a VPN on the same computer?
thx


RE: Crash when using Python 3.10.1 - Klojum - 2022-01-06

(2022-01-06, 17:45)peram1 Wrote: any other solution to have Kodi AND a VPN on the same computer?

As per our VPN policy (wiki), we don't care about VPN solutions.


RE: Crash when using Python 3.10.1 - peram1 - 2022-01-06

(2022-01-06, 18:03)Klojum Wrote:
(2022-01-06, 17:45)peram1 Wrote: any other solution to have Kodi AND a VPN on the same computer?

As per our VPN policy (wiki), we don't care about VPN solutions.
so you deny any use of vPN? are you mad?
fantastic ... so I must not care about Kodi anymore ...

bye then ...


RE: Crash when using Python 3.10.1 - Klojum - 2022-01-07

(2022-01-06, 23:32)peram1 Wrote: so you deny any use of vPN? are you mad?

I guess it was too much to actually read the linked page I gave to you.
Goodbye it is.