Python 3.10 update needs possible rebuild packages like Optimus-manager and others

gwe ( Gitlab ) is also currently broken (won’t start) after the python 3.10 update. They are aware of the issue, but no fix yet. Issues being tracked here on Github and here on Gitlab.

gnome-documents also currently doesn’t start. Though admittedly it’s not software I use often so I can’t say it wasn’t broken before this update, but it’s definitely broken now.

Currently testing each application I have to see if there are others, but so far that’s the only ones I’ve noticed issues with.

Currently broken:

gwe
gnome-documents
openshot
PulseAudio Preferences

Will update this list if I find others.

1 Like

Yeah the big updates that affects system stuff not just applications, although both apply.

As far a s VMs go I’ve once used them and that was back with a Mac in 2007. I don’t have the RAM to mess about with them but I do have 4 machines running Linux (currently all EnOS). There is always one that will work. I don’t care for VMs personally (just my choice, no offence). If it breaks I will learn why and fix it. I live on the edge, and you know what? If you don’t have a backup then that is just plain wrong.

My motto for computing: Fear is the mind killer! And that especially applies to people who have come here from the Windows world. You have been brainwashed into a world of FUD (look it up).

Back up, enjoy yourselves! :crazy_face: :grin: :laughing: :rofl:

OpenRazer and Polychromatic had to be rebuilt for me. Thanks for posting how to do this.

1 Like

What does the second command do?

Clean builds all packages found with the first command.

–answerclean <All|None|Installed|NotInstalled|…>

Set a predetermined answer for the clean build menu question. This answer will be used instead of reading from standard input but will be parsed exactly the same.

–cleanmenu

Show the clean menu. This menu gives you the chance to fully delete the downloaded build files from Yay’s cache before redownloading a fresh copy.

4 Likes

The second command takes the output of “sudo pacman -Qoq” and uses it to tell yay what packages to reinstall/rebuild. The added “–answerclean All” just tells yay to always answer that question with “All” when it comes up during the rebuild.
.
If you open a terminal window and type “man pacman”, you can see how “pacman -Qoq” is defined. Similarly, “man yay” will give you info on that command as well.

3 Likes

#yay
##updates your systems main Arch/EndeavourOS repos, then checks the AUR for updates as well.

#yay -S $(pacman -Qoq /usr/lib/python3.9) --answerclean All
##Checks what AUR packages need a python rebuild and cleanbuilds them. Most packages don’t rely on a specific python version, so it’s safe to rebuild them with the latest python version. There are a few packages that are an exception, but in general this method is safe to use. The less AUR packages you have, the less likely you’ll run into any issues as well. I’ve got +40 AUR packages myself, had to rebuild about a dozen of them and they all work just fine now after a cleanbuild.

#sudo systemctl reboot
##turns computer off and on again.

6 Likes

Thank you all and appreciate the feedback.

Always learning new :slight_smile:

:enos: :+1:t3:

5 Likes

Thanks for the heads up! Haven’t updated in a couple of days.

1 Like

Hi Scotty_Trees
Does the below command fix gwe issue with python 3.10 with the below command

#yay -S $(pacman -Qoq /usr/lib/python3.9) --answerclean All

I am struggling for 2 days with no snapshot or backup.
Thanks

1 Like
pacman -Qoq /usr/lib/python3.9
error: No package owns /usr/lib/python3.9

Edit: I’m lucky i don’t have this issue.

:wink:

I get that same error. But when I try to open Bauh it crashes after few seconds. It must have something to do with new python 3.10. I’m not at my laptop at them moment so I can’t post any log. Anybody else have problems with Bauh?

Python 3.10 broke GWE in the AUR at the moment. If you need GWE, you have to use the flatpak version for now as that was just updated yesterday with a fix. The GWE AUR package isn’t yet updated, but hopefully is soon, no ETA at this time though.

1 Like

thank you

1 Like

Indeed. While bauh tries to update data, it crashes.

bauh
Icon theme "ubuntu-mono-dark" not found.
Icon theme "Mint-X" not found.
Icon theme "elementary" not found.
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/bauh/view/qt/window.py", line 702, in _finish_refresh_packages
    if self.update_pkgs(res['installed'], as_installed=as_installed, types=res['types']):
  File "/usr/lib/python3.10/site-packages/bauh/view/qt/window.py", line 964, in update_pkgs
    self._update_table(pkgs_info=pkgs_info)
  File "/usr/lib/python3.10/site-packages/bauh/view/qt/window.py", line 842, in _update_table
    self._resize(accept_lower_width=len(self.pkgs) > 0)
  File "/usr/lib/python3.10/site-packages/bauh/view/qt/window.py", line 1079, in _resize
    self.resize(new_width, self.height())
TypeError: arguments did not match any overloaded call:
  resize(self, QSize): argument 1 has unexpected type 'float'
  resize(self, int, int): argument 1 has unexpected type 'float'
Fatal Python error: Aborted

Thread 0x00007f46567fc640 (most recent call first):
  File "/usr/lib/python3.10/site-packages/bauh/view/qt/prepare.py", line 140 in run

Thread 0x00007f46557fa640 (most recent call first):
  File "/usr/lib/python3.10/site-packages/bauh/view/qt/thread.py", line 822 in run

Thread 0x00007f4675ffb640 (most recent call first):
  File "/usr/lib/python3.10/site-packages/bauh/view/util/cache.py", line 96 in run
  File "/usr/lib/python3.10/threading.py", line 1009 in _bootstrap_inner
  File "/usr/lib/python3.10/threading.py", line 966 in _bootstrap

Current thread 0x00007f46a104a740 (most recent call first):
  File "/usr/lib/python3.10/site-packages/bauh/app.py", line 57 in main
  File "/usr/bin/bauh", line 33 in <module>

Extension modules: _cffi_backend, PyQt5.QtCore, yaml._yaml, PyQt5.QtGui, PyQt5.QtWidgets, unicodedata2, simplejson._speedups, PyQt5.QtNetwork, cchardet._cchardet, lxml._elementpath, lxml.etree (total: 11)
Abgebrochen (Speicherabzug geschrieben)

1 Like

Yes, that is the output in konsole here also.

pacman -Qoq /usr/lib/python3.9
Fehler: Kein Paket besitzt /usr/lib/python3.9

Having no package owing /usr/lib/python3.9 doesn’t save you from having problems at all. :wink:

2 Likes

Well not having hybrid graphics helps! :grinning_face_with_smiling_eyes:

1 Like

Optimus-manager is only one of the problems. There are a lot more. Maybe you’re just lucky, you don’t have the problematic programs installed, or you simply didn’t run into existing problems on your system yet.

1 Like

Ya i said I’m lucky i don’t have this issue …yet! :slightly_smiling_face:

1 Like