You are not logged in.

#1 2021-12-13 16:29:59

bibinne
Member
Registered: 2018-11-01
Posts: 43

Problem with latest python upgrade

Hi,

Yesterday, i did an update and all my python package were updated. Since this morning, kodi, seafile, deluge..., basically everything which works with python doesnt work anymore.
I succeeded to make deluge works, by downgrading (spend all my morning on downgrading package by package), but kodi still doesnt work.
I get the same error than here : https://bbs.archlinux.org/viewtopic.php?id=272121

Any help would be appreciated ^^.

2021-12-13 12:20:12.072 T:20176    INFO <general>: [ context.venom ]  service started
2021-12-13 12:20:12.072 T:20176    INFO <general>: [ context.venom ]  menu item enabled: context.venom.settings
2021-12-13 12:20:12.072 T:20176    INFO <general>: [ context.venom ]  menu item enabled: context.venom.traktManager
2021-12-13 12:20:12.072 T:20176    INFO <general>: [ context.venom ]  menu item enabled: context.venom.clearProviders
2021-12-13 12:20:12.072 T:20176    INFO <general>: [ context.venom ]  menu item enabled: context.venom.clearBookmark
2021-12-13 12:20:12.073 T:20176    INFO <general>: [ context.venom ]  menu item enabled: context.venom.rescrape
2021-12-13 12:20:12.073 T:20176    INFO <general>: [ context.venom ]  menu item enabled: context.venom.playFromHere
2021-12-13 12:20:12.073 T:20176    INFO <general>: [ context.venom ]  menu item enabled: context.venom.autoPlay
2021-12-13 12:20:12.073 T:20176    INFO <general>: [ context.venom ]  menu item enabled: context.venom.sourceSelect
2021-12-13 12:20:12.073 T:20176    INFO <general>: [ context.venom ]  menu item enabled: context.venom.findSimilar
2021-12-13 12:20:12.073 T:20176    INFO <general>: [ context.venom ]  menu item enabled: context.venom.browseSeries
2021-12-13 12:20:12.074 T:20176    INFO <general>: [ context.venom ]  menu item enabled: context.venom.browseEpisodes
2021-12-13 12:20:12.176 T:20177    INFO <general>: CPythonInvoker(3, /usr/share/kodi/addons/inputstream.ffmpegdirect/resources/lib/runner.py): script successfully run
2021-12-13 12:20:12.190 T:20177    INFO <general>: Python interpreter stopped
2021-12-13 12:20:12.502 T:20179    INFO <general>: CPythonInvoker(5, /home/bibi/.kodi/addons/plugin.video.catchuptvandmore/service.py): script successfully run
2021-12-13 12:20:12.506 T:20179    INFO <general>: Python interpreter stopped
2021-12-13 12:20:12.766 T:20167 WARNING <general>: No information found for item '/donnees/encours/Apocalypse - la guerre des mondes (1945-1991)/Apocalypse - la guerre des mondes (1945-1991) - episode 01 - La grande rupture 1945-1946.m>
2021-12-13 12:20:12.826 T:20194    INFO <general>: [service.upnext] UpNextMonitor -> Service started
2021-12-13 12:20:13.076 T:20167 WARNING <general>: No information found for item '/donnees/encours/Apocalypse - la guerre des mondes (1945-1991)/Apocalypse - la guerre des mondes (1945-1991) - episode 02 - L'escalade de la peur 1947-19>
2021-12-13 12:20:13.115 T:20188   ERROR <general>: Exception ignored deletion of interned string failed
2021-12-13 12:20:13.115 T:20188   ERROR <general>: :

2021-12-13 12:20:13.115 T:20188   ERROR <general>: Traceback (most recent call last):

2021-12-13 12:20:13.115 T:20188   ERROR <general>:   File "/usr/lib/python3.10/sqlite3/dbapi2.py", line 83, in register_adapters_and_converters

2021-12-13 12:20:13.131 T:20188   ERROR <general>:
2021-12-13 12:20:13.131 T:20188   ERROR <general>: register_converter("timestamp", convert_timestamp)
2021-12-13 12:20:13.131 T:20188   ERROR <general>:

2021-12-13 12:20:13.131 T:20188   ERROR <general>: KeyError
2021-12-13 12:20:13.131 T:20188   ERROR <general>: :
2021-12-13 12:20:13.131 T:20188   ERROR <general>: 'timepart_full'
2021-12-13 12:20:13.131 T:20188   ERROR <general>:

############### END LOG FILE ################

Offline

#2 2021-12-13 16:35:40

bibinne
Member
Registered: 2018-11-01
Posts: 43

Re: Problem with latest python upgrade

Here the logs for seafile, django-pylibmc is installed :

InvalidCacheBackendError at /

Could not find backend 'django_pylibmc.memcached.PyLibMCCache': No module named 'django_pylibmc'

Request Method: 	GET
Request URL: 	http://localhost:8000/
Django Version: 	2.2.14
Exception Type: 	InvalidCacheBackendError
Exception Value: 	

Could not find backend 'django_pylibmc.memcached.PyLibMCCache': No module named 'django_pylibmc'

Exception Location: 	/home/seafile/seafile-server-8.0.7/seahub/thirdpart/django/core/cache/__init__.py in _create_cache, line 52
Python Executable: 	/usr/bin/python3
Python Version: 	3.10.1
Python Path: 	

['/home/seafile/seafile-server-8.0.7/seahub/thirdpart/bin',
 '/home/seafile/seafile-server-8.0.7/seafile/lib/python3.6/site-packages',
 '/home/seafile/seafile-server-8.0.7/seafile/lib64/python3.6/site-packages',
 '/home/seafile/seafile-server-8.0.7/seahub',
 '/home/seafile/seafile-server-8.0.7/seahub/thirdpart',
 '/home/seafile',
 '/usr/lib/python310.zip',
 '/usr/lib/python3.10',
 '/usr/lib/python3.10/lib-dynload',
 '/usr/lib/python3.10/site-packages',
 '/home/seafile/seafile-server-8.0.7/seahub/seahub/auth/../../../../conf',
 '/home/seafile/seafile-server-8.0.7/seahub/seahub/api2/endpoints/../../../../../conf',
 '/home/seafile/seafile-server-8.0.7/seahub/seahub/api2/endpoints/../../../../../conf',
 '/home/seafile/seafile-server-8.0.7/seahub/seahub/oauth/../../../../conf']

Server time: 	lun, 13 Déc 2021 16:34:11 +0000

Offline

#3 2021-12-13 16:37:02

bibinne
Member
Registered: 2018-11-01
Posts: 43

Re: Problem with latest python upgrade

Recompiling django (delete all the yay cache) made it works.
Still working on Kodi.

Offline

#4 2021-12-13 16:45:31

bibinne
Member
Registered: 2018-11-01
Posts: 43

Re: Problem with latest python upgrade

Too quick, didnt solve seafile :

ServerDown at /accounts/login/

1 keys failed

Request Method: 	POST
Request URL: 	http://localhost:8000/accounts/login/?next=/
Django Version: 	2.2.14
Exception Type: 	ServerDown
Exception Value: 	

1 keys failed

Exception Location: 	/home/seafile/seafile-server-8.0.7/seahub/thirdpart/django/core/cache/backends/memcached.py in incr, line 110
Python Executable: 	/usr/bin/python3
Python Version: 	3.10.1
Python Path: 	

'/home/seafile/seafile-server-8.0.7/seahub/thirdpart/bin',
 '/home/seafile/seafile-server-8.0.7/seafile/lib/python3.6/site-packages',
 '/home/seafile/seafile-server-8.0.7/seafile/lib64/python3.6/site-packages',
 '/home/seafile/seafile-server-8.0.7/seahub',
 '/home/seafile/seafile-server-8.0.7/seahub/thirdpart',
 '/home/seafile',
 '/usr/lib/python310.zip',
 '/usr/lib/python3.10',
 '/usr/lib/python3.10/lib-dynload',
 '/usr/lib/python3.10/site-packages',
 '/home/seafile/seafile-server-8.0.7/seahub/seahub/auth/../../../../conf',
 '/home/seafile/seafile-server-8.0.7/seahub/seahub/api2/endpoints/../../../../../conf',
 '/home/seafile/seafile-server-8.0.7/seahub/seahub/api2/endpoints/../../../../../conf',
 '/home/seafile/seafile-server-8.0.7/seahub/seahub/oauth/../../../../conf']

Server time: 	lun, 13 Déc 2021 16:44:15 +0000

Offline

#5 2021-12-13 17:04:44

bibinne
Member
Registered: 2018-11-01
Posts: 43

Re: Problem with latest python upgrade

Kodi Log :

  GNU nano 5.9                                                                                    /home/bibi/kodi_crashlog-20211213_130205.log                                                                                              
#6  0x000055aa3729f948 in  ()
#7  0x00007f30ff0fc3c4 in std::execute_native_thread_routine(void*) (__p=0x55aa3e1db150) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:82
#8  0x00007f31006ee259 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f30ff7215e3 in clone () at /usr/lib/libc.so.6

Thread 47 (Thread 0x7f3058eb0640 (LWP 2150)):
#0  0x00007f31006fa8ca in __futex_abstimed_wait_common64 () at /usr/lib/libpthread.so.0
#1  0x00007f31006f4842 in pthread_cond_clockwait () at /usr/lib/libpthread.so.0
#2  0x000055aa36ee0747 in XBMCAddon::xbmc::Monitor::waitForAbort(double) ()
#3  0x000055aa36ea7bcd in  ()
#4  0x00007f310084e1f5 in  () at /usr/lib/libpython3.10.so.1.0
#5  0x00007f310083db05 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.10.so.1.0
#6  0x00007f310083c422 in  () at /usr/lib/libpython3.10.so.1.0
#7  0x00007f31008f1370 in PyEval_EvalCode () at /usr/lib/libpython3.10.so.1.0
#8  0x00007f3100901f54 in  () at /usr/lib/libpython3.10.so.1.0
#9  0x00007f31008fda2b in  () at /usr/lib/libpython3.10.so.1.0
#10 0x00007f310079f220 in  () at /usr/lib/libpython3.10.so.1.0
#11 0x00007f310081c672 in PyRun_FileExFlags () at /usr/lib/libpython3.10.so.1.0
#12 0x000055aa36ea9c94 in CPythonInvoker::executeScript(_IO_FILE*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, _object*) ()
#13 0x000055aa36ebb99a in CPythonInvoker::execute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t>
#14 0x000055aa36ebcd23 in CPythonInvoker::execute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std:>
#15 0x000055aa37a05863 in CLanguageInvokerThread::Process() ()
#16 0x000055aa372a5794 in CThread::Action() ()
#17 0x000055aa37bf7dab in  ()
#18 0x000055aa3729f948 in  ()
#19 0x00007f30ff0fc3c4 in std::execute_native_thread_routine(void*) (__p=0x55aa3e1b83e0) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:82
#20 0x00007f31006ee259 in start_thread () at /usr/lib/libpthread.so.0
#21 0x00007f30ff7215e3 in clone () at /usr/lib/libc.so.6

Thread 46 (Thread 0x7f302e7fc640 (LWP 2161)):
#0  0x00007f31006fa8ca in __futex_abstimed_wait_common64 () at /usr/lib/libpthread.so.0
#1  0x00007f31006f6ae8 in __new_sem_wait_slow64.constprop.0 () at /usr/lib/libpthread.so.0
#2  0x00007f310081da99 in PyThread_acquire_lock () at /usr/lib/libpython3.10.so.1.0
#3  0x00007f310077c3ec in  () at /usr/lib/libpython3.10.so.1.0
#4  0x00007f310085f3c6 in  () at /usr/lib/libpython3.10.so.1.0
#5  0x00007f310084aeb5 in  () at /usr/lib/libpython3.10.so.1.0
#6  0x00007f31008423bf in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.10.so.1.0
#7  0x00007f310084d4e8 in _PyFunction_Vectorcall () at /usr/lib/libpython3.10.so.1.0
#8  0x00007f31008f43d8 in  () at /usr/lib/libpython3.10.so.1.0
#9  0x00007f31008f9bcf in  () at /usr/lib/libpython3.10.so.1.0
#10 0x00007f3100867f69 in  () at /usr/lib/libpython3.10.so.1.0
#11 0x00007f3100834049 in  () at /usr/lib/libpython3.10.so.1.0
#12 0x00007f3100867ae5 in  () at /usr/lib/libpython3.10.so.1.0
#13 0x00007f310085930f in  () at /usr/lib/libpython3.10.so.1.0
#14 0x00007f310083d887 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.10.so.1.0
#15 0x00007f310084d4e8 in _PyFunction_Vectorcall () at /usr/lib/libpython3.10.so.1.0
#16 0x00007f310084cc74 in  () at /usr/lib/libpython3.10.so.1.0
#17 0x00007f310085ef7b in _PyObject_CallMethodIdObjArgs () at /usr/lib/libpython3.10.so.1.0
#18 0x00007f310085dd18 in PyImport_ImportModuleLevelObject () at /usr/lib/libpython3.10.so.1.0
#19 0x00007f310084114a in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.10.so.1.0
#20 0x00007f310083c422 in  () at /usr/lib/libpython3.10.so.1.0
#21 0x00007f31008f1370 in PyEval_EvalCode () at /usr/lib/libpython3.10.so.1.0

Offline

#6 2021-12-13 19:05:23

bibinne
Member
Registered: 2018-11-01
Posts: 43

Re: Problem with latest python upgrade

With Blueman :

blueman-manager
Traceback (most recent call last):
  File "/usr/bin/blueman-manager", line 16, in <module>
    from blueman.main.Manager import Blueman
  File "/usr/lib/python3.9/site-packages/blueman/main/Manager.py", line 5, in <module>
    from blueman.bluez.Adapter import Adapter
  File "/usr/lib/python3.9/site-packages/blueman/bluez/Adapter.py", line 3, in <module>
    from gi.repository import GLib
ModuleNotFoundError: No module named 'gi.repository'

Offline

#7 2021-12-13 19:19:51

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,098

Re: Problem with latest python upgrade

bibinne wrote:

With Blueman :

blueman-manager
Traceback (most recent call last):
  File "/usr/bin/blueman-manager", line 16, in <module>
    from blueman.main.Manager import Blueman
  File "/usr/lib/python3.9/site-packages/blueman/main/Manager.py", line 5, in <module>
    from blueman.bluez.Adapter import Adapter
  File "/usr/lib/python3.9/site-packages/blueman/bluez/Adapter.py", line 3, in <module>
    from gi.repository import GLib
ModuleNotFoundError: No module named 'gi.repository'

Your system is outdated.

Offline

#8 2021-12-13 20:52:02

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,785

Re: Problem with latest python upgrade

arojas wrote:

Your system is outdated.

Yet, it also seems to have today's Pacman upgrade.

Is this a partial upgrade? or was some alternate method used to install Python 3.10?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#9 2021-12-16 14:27:11

bibinne
Member
Registered: 2018-11-01
Posts: 43

Re: Problem with latest python upgrade

I had to downgrade to make kodi works, see here : https://bugs.python.org/issue46070
For now i have to choose between a working kodi or all the other python programs.
Like i use kodi daily...

Offline

Board footer

Powered by FluxBB