FS#73442 - [python] 3.10.1 (and all newer) are breaking kodi

Attached to Project: Community Packages
Opened by Andreas Richter (df8oe) - Friday, 21 January 2022, 09:35 GMT
Last edited by Antonio Rojas (arojas) - Friday, 21 January 2022, 10:13 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Using python 3.10.1 (or newer) leads kodi to crash at startup with the following in its error log:

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'

Downgrade to 3.10.0 solves the issue.

Additional info:
It maybe this reason: https://bugs.python.org/issue46070

Steps to reproduce:
install Kodi
start kodi
This task depends upon

Closed by  Antonio Rojas (arojas)
Friday, 21 January 2022, 10:13 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#73179   FS#73109   FS#73004   FS#73002   FS#73087 

Loading...