You are not logged in.

#1 2024-04-29 18:34:45

DenalB
Member
From: Germany
Registered: 2024-04-05
Posts: 26

[SOLVED] Problems after python update

I also got lots of updates - more than 150. Now, I have noticed that apps which started without problems before the update no longer start. I found "Pinta" (https://archlinux.org/packages/extra/any/pinta/) and "ProtonUp-Qt" (https://aur.archlinux.org/packages/protonup-qt). Clicking the icons and nothing happens.

When starting them in Terminal, these errors appear:

Pinta

You must install or update .NET to run this application.

App: /usr/lib/pinta/Pinta.dll
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '6.0.0' (x64)
.NET location: /usr/share/dotnet/

The following frameworks were found:
  7.0.18 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Learn more:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=6.0.0&arch=x64&rid=arch-x64&os=arch

ProtonUp-Qt

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/lib/python3.12/site-packages/pupgui2/__main__.py", line 1, in <module>
    from pupgui2.pupgui2 import main
  File "/usr/lib/python3.12/site-packages/pupgui2/pupgui2.py", line 16, in <module>
    from pupgui2 import ctloader
  File "/usr/lib/python3.12/site-packages/pupgui2/ctloader.py", line 9, in <module>
    from pupgui2.util import create_msgbox
  File "/usr/lib/python3.12/site-packages/pupgui2/util.py", line 26, in <module>
    from pupgui2.steamutil import remove_steamtinkerlaunch, is_valid_steam_install
  File "/usr/lib/python3.12/site-packages/pupgui2/steamutil.py", line 11, in <module>
    from steam.utils.appcache import parse_appinfo
ModuleNotFoundError: No module named 'steam'

As I mentioned earlier, both apps started before the big update. What could be the reason here? sad

Last edited by DenalB (2024-05-13 12:22:10)

Offline

#2 2024-04-29 21:52:47

seth
Member
Registered: 2012-09-03
Posts: 52,328

Re: [SOLVED] Problems after python update

https://aur.archlinux.org/packages/prot … ent-951652 but I'm not so sure this is because of some pip interference and not because the python code uses previously deprecated and now unsuported API (there were several packages affected by the 3.12 update this way

Wrt pinta:

pacman -Qikk pinta

None of that has anything to do with the topic of this thread, so please report your post to be split off.

Offline

#3 2024-04-30 09:43:41

DenalB
Member
From: Germany
Registered: 2024-04-05
Posts: 26

Re: [SOLVED] Problems after python update

seth wrote:

None of that has anything to do with the topic of this thread, so please report your post to be split off.

Absolutely right. Done!

seth wrote:

but I'm not so sure this is because of some pip interference and not because the python code uses previously deprecated and now unsuported API (there were several packages affected by the 3.12 update this way

Removed "ProtonUp-Qt" and another app that was using version 3.11 of Python. Then reinstalled both apps, and now they depend on Python 3.12. That fixed the issue.

seth wrote:

Wrt pinta:

pacman -Qikk pinta

Pinta depends on "gtk3>=3.24.21", "dotnet-runtime-7.0" and "webp-pixbuf-loader". All these packages are installed. I had to install "dotnet-runtime-6.0" and now Pinta is working again. I think it's a bug in the new Pinta release. Hopefully it will be fixed.

Thanks a lot, @seth! smile

Last edited by DenalB (2024-04-30 09:44:16)

Offline

#4 2024-04-30 10:58:50

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,020

Re: [SOLVED] Problems after python update

Moderator Note : split off from https://bbs.archlinux.org/viewtopic.php?id=295270


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2024-04-30 14:34:35

seth
Member
Registered: 2012-09-03
Posts: 52,328

Re: [SOLVED] Problems after python update

Is the pinta package intact though (no md5 differences)?

type pinta

For protonup, see https://wiki.archlinux.org/title/Arch_U … g_packages
And yeah, if there're plenty of python rebuilds and you've an AUR package that uses python and now produces a python error, rebuilding is is always a good idea wink

Offline

#6 2024-04-30 16:33:22

DenalB
Member
From: Germany
Registered: 2024-04-05
Posts: 26

Re: [SOLVED] Problems after python update

Lone_Wolf wrote:

Thanks a lot!

seth wrote:

Is the pinta package intact though (no md5 differences)?

Looks good, I think ...

[denalb@LENOVO-ArchLinux ~]$ type pinta
pinta ist gehasht (/usr/bin/pinta)
seth wrote:

rebuilding is is always a good idea

Now I know. wink
But what does "rebuild" mean in that case? Is it the same as remove and reinstall? Or is there a better way to rebuild an AUR package?

Offline

#7 2024-04-30 16:35:03

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,655

Re: [SOLVED] Problems after python update

Building a package and installing a package are two separate steps. Reinstalling won't help, you need to actually rebuild the package.

https://wiki.archlinux.org/title/Arch_U … he_package

Offline

#8 2024-04-30 16:41:48

DenalB
Member
From: Germany
Registered: 2024-04-05
Posts: 26

Re: [SOLVED] Problems after python update

Scimmia wrote:

Reinstalling won't help

But for me, it worked in two cases ... I removed the packages with dependencies (yay -Rs) and installed the packages (yay -S) again.

Offline

#9 2024-04-30 16:42:03

seth
Member
Registered: 2012-09-03
Posts: 52,328

Re: [SOLVED] Problems after python update

Pinta looks like pinta…
Still please post the entire Qikk output and then you might have to file a bug at https://gitlab.archlinux.org/archlinux/ … a/-/issues in case it really require the dotnet-runtime-6.0 and not dotnet-runtime-7.0

Edit: if there's no built left in the yay cache you had to actually rebuild the package on re-installation.
Still, re-installing an old build and rebuilding a package are different things, even if yay hides that from you.
One more reason to not rely on pacman wrappers…

Last edited by seth (2024-04-30 16:44:29)

Offline

#10 2024-04-30 16:51:08

DenalB
Member
From: Germany
Registered: 2024-04-05
Posts: 26

Re: [SOLVED] Problems after python update

seth wrote:

Still please post the entire Qikk output

Here's the output:

[denalb@LENOVO-ArchLinux ~]$ pacman -Qikk pinta
Name                     : pinta
Version                  : 2.1.2-1
Beschreibung             : Drawing/editing program modeled after Paint.NET. It's goal is to provide
                           a simplified alternative to GIMP for casual users
Architektur              : any
URL                      : https://pinta-project.com/
Lizenzen                 : MIT
Gruppen                  : Nichts
Stellt bereit            : Nichts
Hängt ab von             : gtk3>=3.24.21  dotnet-runtime-7.0  webp-pixbuf-loader
Optionale Abhängigkeiten : Nichts
Benötigt von             : Nichts
Optional für             : Nichts
In Konflikt mit          : Nichts
Ersetzt                  : Nichts
Installationsgröße       : 8,67 MiB
Packer                   : Antonio Rojas <arojas@archlinux.org>
Erstellt am              : So 28 Apr 2024 18:27:02 CEST
Installiert am           : Mo 29 Apr 2024 15:28:21 CEST
Installationsgrund       : Ausdrücklich installiert
Installations-Skript     : Nein
Verifiziert durch        : Signatur

pinta: 364 Dateien gesamt, 0 veränderte Dateien
seth wrote:

and then you might have to file a bug at https://gitlab.archlinux.org/archlinux/ … a/-/issues in case it really require the dotnet-runtime-6.0 and not dotnet-runtime-7.0

That will be my next step. wink

seth wrote:

One more reason to not rely on pacman wrappers…

That's one topic on my to-do to learn about. wink

Offline

#11 2024-04-30 17:12:36

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,655

Re: [SOLVED] Problems after python update

DenalB wrote:
Scimmia wrote:

Reinstalling won't help

But for me, it worked in two cases ... I removed the packages with dependencies (yay -Rs) and installed the packages (yay -S) again.

The fact that you have no idea what yay is actually doing is the problem here. You should not be using helpers like yay until you actually understand what's going on.

Offline

#12 2024-04-30 17:18:41

DenalB
Member
From: Germany
Registered: 2024-04-05
Posts: 26

Re: [SOLVED] Problems after python update

Scimmia wrote:

The fact that you have no idea what yay is actually doing is the problem here. You should not be using helpers like yay until you actually understand what's going on.

Sorry, that I'm not a professional Arch user like every other user here ... I'm new to Arch Linux and try to learn. I'm using Arch Linux since 3 or 4 weeks now and think that I learned a lot. And I'm willing to learn more about Arch Linux. So, thanks for your help. I appreciate that.

Last edited by DenalB (2024-04-30 17:19:16)

Offline

Board footer

Powered by FluxBB