[Intervention potentially required] Python 3.10 and you

whoogle-git work again for me.

Useless without link or answer here in forum :wink:


That's weird, I coined Eicar by putting together random letters from my name.

1 Like

╭─[email protected] in ~ took 39s
╰─λ pacman -Qi jellyfin-mpv-shim
Name : jellyfin-mpv-shim
Version : 2.0.1-1
Description : Cast media from Jellyfin Mobile and Web apps to MPV
Architecture : any
URL : GitHub - jellyfin/jellyfin-mpv-shim: MPV Cast Client for Jellyfin
Licenses : MIT
Groups : None
Provides : None
Depends On : mpv python>=3.6 python-mpv python-mpv-jsonipc>=1.1.9 python-jellyfin-apiclient>=1.7.2 tk
Optional Deps : python-pystray: systray support
python-jinja: display mirroring support [installed]
python-pywebview>=3.3.1: display mirroring support
svp: SmoothVideo Project server [installed]
mpv-shim-default-shaders: default shader pack
python-pypresence: Discord Rich Presence integration [installed]
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 826,12 KiB
Packager : Unknown Packager
Build Date : wo 15 dec 2021 18:32:51
Install Date : wo 15 dec 2021 18:32:55
Install Reason : Explicitly installed
Install Script : Yes
Validated By : None

The packages python-mpv-jsonipc and python-jellyfin-apiclient still need a rebuild. I also had to rebuild jellyfin-mpv-shim I think, but I don't quite remember.

Hey, been using bauh to help me manage flatpaks and other updates not otherwise captured by update. However, since the last update, running bauh errors out with this:

bauh terminal output with error
❯ bauh
Icon theme "gnome" 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
  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 0x00007f9863fff640 (most recent call first):
  File "/usr/lib/python3.10/site-packages/bauh/view/qt/thread.py", line 822 in run

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

Thread 0x00007f98837fe640 (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 0x00007f98bbcfa740 (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: PyQt5.QtCore, yaml._yaml, PyQt5.QtGui, PyQt5.QtWidgets, PyQt5.QtNetwork, lxml._elementpath, lxml.etree (total: 7)
[1]    36441 abort (core dumped)  bauh

Honestly not sure how to go about resolving this....anyone have any insights? Thank you!!!

EDIT: Never mind, found this: Problem with the new bauh - #3 by RodneyCK

1 Like

Install bauh-staging for now. That's what was suggested to me and it works perfectly.

1 Like

This is broken:

$ syncthing-gtk

Traceback (most recent call last):
  File "/usr/bin/syncthing-gtk", line 21, in <module>
    from syncthing_gtk.tools import init_logging, init_locale
ModuleNotFoundError: No module named 'syncthing_gtk'

I keep reading about rebuilding packages in the comments, but I am unaware of how to do this… is there any tutorial or wiki that I could read?

Thanks in advance. Kudos to a great distro. I love opinionated when they agree with my opinions :wink:

The terms rebuilding and reinstalling are pretty much synonymous.


That is what I assumed. Thanks... Anyway, I have already reinstalled the application from AUR. The same error message during import is there. I thought of doing some 'ln -s' in the python site packages... but even if that solves the issue for me it would be a mess to maintain. I am puzzled about how should I treat each python minor version upgrade. Not only that, but I guessed the Python article on Archwiki should mention some tip, or give any clue...

I hate it when my problems turn to be so obvious that I don't find my way around them.

How shall I proceed?

PS. Also, I see no helpful tips on AUR (en) - syncthing-gtk-python3

1 Like