You are not logged in.
I found a couple broken packages as well.
proton-git from AUR was broken until I rebuilt it.
plasma widget panon is still broken after rebuilding, getting python related errors when switching to PulseAudio as backend
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/b314c/.local/share/plasma/plasmoids/panon/contents/scripts/panon/backend/client.py", line 53, in <module>
spectrum_source = source.SoundCardSource(spectrum.NUM_CHANNEL, sample_rate, arguments['--device-index'], cfg_fps)
File "/home/b314c/.local/share/plasma/plasmoids/panon/contents/scripts/panon/backend/source.py", line 113, in __init__
self.start()
File "/home/b314c/.local/share/plasma/plasmoids/panon/contents/scripts/panon/backend/source.py", line 172, in start
stream.__enter__()
File "/home/b314c/.local/share/plasma/plasmoids/panon/contents/scripts/soundcard/pulseaudio.py", line 638, in __enter__
if isinstance(self.channels, collections.Iterable):
AttributeError: module 'collections' has no attribute 'Iterable'
Offline
I think Arch should post a news item at every major Python release (which is about once per year) to remind users to rebuild all their Python based AUR packages.
Offline
Protonvpn-cli is an aur package, have you tried rebuilding it against python 3.10.1 ?
So I did try doing that but there also seems to be a conflict one of that AUR package’s dependencies such that I had to install protonvpn-cli explicitly first. Once I did that and rebuilt all was good. Bad timing to run into that!
Anyway this helped me find and rebuild all the packages (in case it’s helpful to others):
yay -S —rebuildall —noconfirm $(yay -Qqo /usr/lib/python3.9/)
I guess the youtube-dl update that landed last week forced an implicit re-build owing to the package update? In any case it’s now working for me having done nothing.
Also, regarding Kodi I think that’s related to something else entirely. A regression in 3.10.1 ?
Last edited by BobbyTables (2021-12-19 09:07:52)
Offline
I think Arch should post a news item at every major Python release (which is about once per year) to remind users to rebuild all their Python based AUR packages.
As it happens I did try seeing if there was any advice/post/news anywhere. The only mention I could find was this forum post which I then contributed to. I think an announcement like that would’ve at least helped me. Though I’ll be prepared for it next time now anyway.
Offline
AUR packages have always been the users own responsibility, and rebuilds are frequently required, especially with soname bumps.
This is not only a python issue, meaning that such announcements would be needed with all soname changes. This would lead to a lot of unnecessary noise on the announcements.
Besides, it is, in my opinion, your own responsibility to keep track of this with any unofficial packages on your system. Another reason why I dislike most AUR helpers as they frequently blur the line between installing an Arch package, and installing an unofficial package.
Offline
Maybe I'm here right. I've update my system today, which included an upgrade from "python-3.9.9-1" to "python-3.10.1-1". Now RabbitVCS (I've to use Subversion...) is broken:
org.gnome.Nautilus[2395]: ModuleNotFoundError: No module named 'pysvn'
org.gnome.Nautilus[2395]: import pysvn
org.gnome.Nautilus[2395]: File "/usr/share/nautilus-python/extensions/RabbitVCS.py", line 69, in <module>
org.gnome.Nautilus[2395]: Traceback (most recent call last):
The actual code there:
53 # import sys
54 # sys.excepthook = log_all_exceptions
55
56 import copy
57
58 import os
59 import os.path
60 from os.path import isdir, isfile, realpath, basename, dirname
61 import datetime
62
63 from rabbitvcs.util import helper
64
65 sa = helper.SanitizeArgv()
66 from gi.repository import Nautilus, GObject, Gtk, GdkPixbuf
67 sa.restore()
I've now clue of Python and actually don't know why recompilation of Python-Packages is sometimes required? But I did run makepkg upon rabbitvcs, rabbitvcs-cli and rabbitvcs-nautilus and installed them again. No improvement.
Any guess what I can do? And if I share the same issue as the others here? I'm not sure
// edit
Had to recompile all package with Python. Works now.
Last edited by hoschi (2021-12-21 17:44:19)
Offline
/usr/bin/checkrebuild from [community]/rebuild-detector can help you identify which packages need rebuilding.
Mod note: Moving to AUR Issues.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
I’m seeing *many* broken python tools too. This has to be the biggest breakage I’ve seen when using Arch in years… I’m surprised it’s not a bigger deal?
I tried pacman -S python=python-3.10.0-1 but I get target not found. How do I downgrade to 3.10 I only have 3.9 in my /var/cache/pacman/pkg and the broken one in the remote packages.
Thoughts?
https://archive.archlinux.org/packages/p/python/
Last edited by DB44 (2021-12-22 07:35:38)
Offline
Mod note: Moving to AUR Issues.
@mod, this topic started with a Kodi issue which is not an AUR rebuild issue, but a genuine perl 3.10.1 bug affecting Kodi (see FS#73002).
Offline
My bad, moving to Applications & DEs.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
So whats the status?
I see that 3.10.1-2 has come out, so does that mean kodi works with this new update or do I have to downgrade and be at 3.10.0?
Thanks.
OZooHA
Offline
So whats the status?
I see that 3.10.1-2 has come out, so does that mean kodi works with this new update or do I have to downgrade and be at 3.10.0?
No, -2 does not fix kodi plugins, see:
https://bugs.python.org/issue46070
https://bugs.archlinux.org/task/73002
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Thank you.
Offline
I commented out line 83 in /usr/lib/python3.10/sqlite3/dbapi2.py
#register_converter("timestamp", convert_timestamp)
Not an elegant solution but youtube plugin is working again.
Offline
plasma widget panon is still broken after rebuilding, getting python related errors when switching to PulseAudio as backend
I fixed panon with this https://github.com/rbn42/panon/issues/7 … 1003631632
Last edited by b314c (2022-01-01 23:06:53)
Offline
ozooha wrote:So whats the status?
I see that 3.10.1-2 has come out, so does that mean kodi works with this new update or do I have to downgrade and be at 3.10.0?No, -2 does not fix kodi plugins, see:
https://bugs.python.org/issue46070
https://bugs.archlinux.org/task/73002
In the 2nd link above Aaron Barany (akb825) states that the patch solves the crash issue.
How does one compile it with the patch?
Can you help out with CLI instructions using a simple illustration? OR simply point me to a wiki/reference.
Thanks
OZooHA
Offline
I commented out line 83 in /usr/lib/python3.10/sqlite3/dbapi2.py
#register_converter("timestamp", convert_timestamp)
Not an elegant solution but youtube plugin is working again.
Thanks for the post, it seems that commenting all four of those is needed, https://bugs.archlinux.org/task/73002#comment204321
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Thanks for the post, it seems that commenting all four of those is needed, https://bugs.archlinux.org/task/73002#comment204321
Glad you mentioned that, because just commenting out line 83 didn't work for me. Kodi still froze. Now I can finally run kodi again without it crashing after a few seconds.
Can you say what problems or limitations may result from commenting out the four lines? I expect there is some potential issue that can result from this.
luser: an epithet applied by Windows users to linux users
Offline
Thanks for the post, it seems that commenting all four of those is needed, https://bugs.archlinux.org/task/73002#comment204321
Glad you mentioned that, because just commenting out line 83 didn't work for me. Kodi still froze. Now I can finally run kodi again without it crashing after a few seconds.
Can you say what problems or limitations may result from commenting out the four lines? I expect there is some potential issue that can result from this.
Thanks for this "fix"/ workaround. It also worked for me and i can start Kodi again yay.
I am also worrying about the possible side-effects, so maybe someone can clarify them ...?
Additionally i am pretty surprised that this is still an issue. Effectively since the Python 3.10 update, which was quite a while ago, Kodi was unusable for me.
IMHO This should have a higher priority. Couldn't the Python package be rebuilt with some patch mentioned above?
Offline
Kodi is working well again with python 3.10.2-1, currently in [testing].
Offline
Good to know. Guess i will just have to wait until this is distributed down to Manjaro Stable.
Offline
Good to know. Guess i will just have to wait until this is distributed down to Manjaro Stable.
...why?
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Because i use Manjaro and Python 3.10.2 is not yet here...?
Offline
luser wrote:Thanks for the post, it seems that commenting all four of those is needed, https://bugs.archlinux.org/task/73002#comment204321
Glad you mentioned that, because just commenting out line 83 didn't work for me. Kodi still froze. Now I can finally run kodi again without it crashing after a few seconds.
Can you say what problems or limitations may result from commenting out the four lines? I expect there is some potential issue that can result from this.
Thanks for this "fix"/ workaround. It also worked for me and i can start Kodi again yay.
I am also worrying about the possible side-effects, so maybe someone can clarify them ...?Additionally i am pretty surprised that this is still an issue. Effectively since the Python 3.10 update, which was quite a while ago, Kodi was unusable for me.
IMHO This should have a higher priority. Couldn't the Python package be rebuilt with some patch mentioned above?
The comment out fix works for some plugins and not others. Some will hang your hold system.
I am running armv7h. Anyone know how to get the testing python package. I see it for x86.64 but can't find for the arm.
Offline
You need to ask for help on the ALARM boards
Offline