After the latest update some applications no longer work

After the latest update some applications no longer work because they give some errors. The applications that no longer work for me are bottles, hypnotix, k3b and protontricks. Only k3b starts but warns me of missing modules. The others are not.

The same happens to me on arch, giving the same type of error.

I tried uninstalling and reinstalling the applications in question, but nothing changes.

Is this something that will be fixed in the next updates? Or can I do something to fix it?

Run them from a terminal and see what the specific errors you are getting are.

It could be related to the recent python version but it should be more clear if you share the errors.

1 Like

Ok, so, as far as bottles are concerned, this is the error it gives me:

> [sermor@sermor-eospc ~]$ bottles
/usr/share/bottles/bottles/backend/utils/generic.py:97: SyntaxWarning: invalid escape sequence '\d'
  [int(t) if t.isdigit() else t.lower() for t in re.split("(\d+)", text)]
Traceback (most recent call last):
  File "/usr/bin/bottles", line 45, in <module>
    from bottles.frontend import main
  File "/usr/share/bottles/bottles/frontend/main.py", line 36, in <module>
    from bottles.frontend.windows.main_window import MainWindow
  File "/usr/share/bottles/bottles/frontend/windows/main_window.py", line 30, in <module>
    from bottles.backend.managers.manager import Manager
  File "/usr/share/bottles/bottles/backend/managers/manager.py", line 31, in <module>
    import pathvalidate
ModuleNotFoundError: No module named 'pathvalidate'

For hypnotix:

> [sermor@sermor-eospc ~]$ hypnotix
System version of yt-dlp selected.
[sermor@sermor-eospc ~]$ Traceback (most recent call last):
  File "/usr/lib/hypnotix/hypnotix.py", line 30, in <module>
    from imdb import IMDb
ModuleNotFoundError: No module named 'imdb'

For protontricks:

> [sermor@sermor-eospc ~]$ protontricks
Traceback (most recent call last):
  File "/usr/bin/protontricks", line 5, in <module>
    from protontricks.cli.main import cli
ModuleNotFoundError: No module named 'protontricks'

For k3b:

> [sermor@sermor-eospc ~]$ k3b
21 21
QUrl("file:///home/sermor/")
QUrl("file:///home/sermor")  will be expanded.
Loaded plugin "/usr/lib/qt/plugins/k3b_plugins/k3baudiometainforenamerplugin.so"
Loaded plugin "/usr/lib/qt/plugins/k3b_plugins/k3baudioprojectcddbplugin.so"
Loaded plugin "/usr/lib/qt/plugins/k3b_plugins/k3bexternalencoder.so"
Loaded plugin "/usr/lib/qt/plugins/k3b_plugins/k3bffmpegdecoder.so"
Loaded plugin "/usr/lib/qt/plugins/k3b_plugins/k3bflacdecoder.so"
Loaded plugin "/usr/lib/qt/plugins/k3b_plugins/k3blameencoder.so"
Loaded plugin "/usr/lib/qt/plugins/k3b_plugins/k3blibsndfiledecoder.so"
Loaded plugin "/usr/lib/qt/plugins/k3b_plugins/k3bmaddecoder.so"
Loaded plugin "/usr/lib/qt/plugins/k3b_plugins/k3bmpcdecoder.so"
Loaded plugin "/usr/lib/qt/plugins/k3b_plugins/k3boggvorbisdecoder.so"
Loaded plugin "/usr/lib/qt/plugins/k3b_plugins/k3boggvorbisencoder.so"
Loaded plugin "/usr/lib/qt/plugins/k3b_plugins/k3bsoxencoder.so"
Loaded plugin "/usr/lib/qt/plugins/k3b_plugins/k3bwavedecoder.so"
(K3b::Device::Device)  "/dev/sr0" : init()
(K3b::Device::Device)  "/dev/sr0"  feature:  CD Mastering
(K3b::Device::Device)  "/dev/sr0"  feature:  CD Track At Once
(K3b::Device::Device)  "/dev/sr0"  feature:  CD-RW Media Write Support
(K3b::Device::Device)  "/dev/sr0"  feature:  DVD Read (MMC5)
(K3b::Device::Device)  "/dev/sr0"  feature:  DVD+R
(K3b::Device::Device)  "/dev/sr0"  feature:  DVD+RW
(K3b::Device::Device)  "/dev/sr0"  feature:  DVD+R Double Layer
(K3b::Device::Device)  "/dev/sr0"  feature:  DVD-R/-RW Write
(K3b::Device::Device)  "/dev/sr0"  feature:  Rigid Restricted Overwrite
(K3b::Device::Device)  "/dev/sr0"  feature:  Layer Jump Recording
(K3b::Device::Device)  "/dev/sr0"  unknown profile:  2 

(K3b::Device::Device)  "/dev/sr0" : buffer.size():  60
(K3b::Device::Device)  "/dev/sr0" : checking for TAO
(K3b::Device::Device)  "/dev/sr0" : checking for SAO
(K3b::Device::Device)  "/dev/sr0" : checking for SAO_R96P
(K3b::Device::Device)  "/dev/sr0" : checking for SAO_R96R
(K3b::Device::Device)  "/dev/sr0" : checking for RAW_R16
(K3b::Device::Device)  "/dev/sr0" : checking for RAW_R96P
(K3b::Device::Device)  "/dev/sr0" : checking for RAW_R96R
(K3b::Device::Device)  "/dev/sr0" :  Number of supported write speeds via GET PERFORMANCE:  1 

(K3b::Device::Device)  "/dev/sr0"  :  11080  KB/s 

(K3b::Device::DeviceManager) setting current write speed of device  "/dev/sr0"  to  11080
(K3b::Device::DeviceManager) found config entry for devicetype:  "HL-DT-ST DVDRAM GP57EB40"
no medium found
Devices: 
------------------------------ 

Blockdevice:     "/dev/sr0" 
Vendor:          "HL-DT-ST" 
Description:     "DVDRAM GP57EB40" 
Version:         "RF01" 
Write speed:     11080 
Profiles:        "DVD-ROM, DVD-R sequenziale, DVD-R sequenziale a doppio strato, DVD-R jump a doppio strato, DVD-RAM, DVD-RW a riscrittura limitata, DVD-RW sequenziale, DVD+RW, DVD+R, DVD+R a doppio strato, CD-ROM, CD-R, CD-RW" 
Read Cap:        "DVD-ROM, DVD-R, DVD-R sequenziale, DVD-R a doppio strato, DVD-R sequenziale a doppio strato, DVD-R jump a doppio strato, DVD-RW, DVD-RW a riscrittura limitata, DVD-RW sequenziale, DVD+RW, DVD+R, DVD+RW a doppio strato, DVD+R a doppio strato, CD-ROM, CD-R, CD-RW" 
Write Cap:       "DVD-R, DVD-R sequenziale, DVD-R a doppio strato, DVD-R sequenziale a doppio strato, DVD-R jump a doppio strato, DVD-RW, DVD-RW a riscrittura limitata, DVD-RW sequenziale, DVD+RW, DVD+R, DVD+R a doppio strato, CD-R, CD-RW" 
Writing modes:   "SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Riscrittura limitata, Salto di livello" 
------------------------------ 

(K3b::Core) System problems:
 CRITICAL
 PROBLEM:   "Impossibile trovare l'eseguibile cdrecord" 
 DETAILS:   "K3b usa cdrecord per scrivere realmente i CD." 
 SOLUTION:  "Installa il pacchetto cdrtools, in cui è presente cdrecord." 


 CRITICAL
 PROBLEM:   "Impossibile trovare l'eseguibile cdrdao" 
 DETAILS:   "K3b usa cdrdao per l'effettiva scrittura dei CD." 
 SOLUTION:  "Installa il pacchetto cdrdao." 


 CRITICAL
 PROBLEM:   "Impossibile trovare l'eseguibile growisofs" 
 DETAILS:   "K3b usa growisofs per l'effettiva scrittura dei DVD. Senza growisofs non potrai scrivere i DVD. Assicurati di installare almeno la versione 5.10." 
 SOLUTION:  "Installa il pacchetto dvd+rw-tools." 


 CRITICAL
 PROBLEM:   "Impossibile trovare l'eseguibile dvd+rw-format" 
 DETAILS:   "K3b usa il formato DVD+RW per formattare DVD-RW e DVD+RW." 
 SOLUTION:  "Installa il pacchetto dvd+rw-tools." 


21 21
23 23
(K3b::Core) System problems:
 CRITICAL
 PROBLEM:   "Impossibile trovare l'eseguibile cdrecord" 
 DETAILS:   "K3b usa cdrecord per scrivere realmente i CD." 
 SOLUTION:  "Installa il pacchetto cdrtools, in cui è presente cdrecord." 


 CRITICAL
 PROBLEM:   "Impossibile trovare l'eseguibile cdrdao" 
 DETAILS:   "K3b usa cdrdao per l'effettiva scrittura dei CD." 
 SOLUTION:  "Installa il pacchetto cdrdao." 


 CRITICAL
 PROBLEM:   "Impossibile trovare l'eseguibile growisofs" 
 DETAILS:   "K3b usa growisofs per l'effettiva scrittura dei DVD. Senza growisofs non potrai scrivere i DVD. Assicurati di installare almeno la versione 5.10." 
 SOLUTION:  "Installa il pacchetto dvd+rw-tools." 


 CRITICAL
 PROBLEM:   "Impossibile trovare l'eseguibile dvd+rw-format" 
 DETAILS:   "K3b usa il formato DVD+RW per formattare DVD-RW e DVD+RW." 
 SOLUTION:  "Installa il pacchetto dvd+rw-tools." 


21 21
23 23
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found

Except for k3b, those are all python errors, you need to rebuild those packages from AUR, just don’t reinstall them, rebuild them.

For k3b can you try this:

LANG=C k3b

That will hopefully let me read those errors.

Ok thanks, but I’m new to the Linux environment. How do I rebuild them?

I tried, but it didn’t work. Indeed, a notification has been added.

> [sermor@sermor-eospc ~]$ LANG=C k3b
21 21
QUrl("file:///home/sermor/")
QUrl("file:///home/sermor")  will be expanded.
Loaded plugin "/usr/lib/qt/plugins/k3b_plugins/k3baudiometainforenamerplugin.so"
Loaded plugin "/usr/lib/qt/plugins/k3b_plugins/k3baudioprojectcddbplugin.so"
Loaded plugin "/usr/lib/qt/plugins/k3b_plugins/k3bexternalencoder.so"
Loaded plugin "/usr/lib/qt/plugins/k3b_plugins/k3bffmpegdecoder.so"
Loaded plugin "/usr/lib/qt/plugins/k3b_plugins/k3bflacdecoder.so"
Loaded plugin "/usr/lib/qt/plugins/k3b_plugins/k3blameencoder.so"
Loaded plugin "/usr/lib/qt/plugins/k3b_plugins/k3blibsndfiledecoder.so"
Loaded plugin "/usr/lib/qt/plugins/k3b_plugins/k3bmaddecoder.so"
Loaded plugin "/usr/lib/qt/plugins/k3b_plugins/k3bmpcdecoder.so"
Loaded plugin "/usr/lib/qt/plugins/k3b_plugins/k3boggvorbisdecoder.so"
Loaded plugin "/usr/lib/qt/plugins/k3b_plugins/k3boggvorbisencoder.so"
Loaded plugin "/usr/lib/qt/plugins/k3b_plugins/k3bsoxencoder.so"
Loaded plugin "/usr/lib/qt/plugins/k3b_plugins/k3bwavedecoder.so"
(K3b::Device::Device)  "/dev/sr0" : init()
(K3b::Device::Device)  "/dev/sr0"  feature:  CD Mastering
(K3b::Device::Device)  "/dev/sr0"  feature:  CD Track At Once
(K3b::Device::Device)  "/dev/sr0"  feature:  CD-RW Media Write Support
(K3b::Device::Device)  "/dev/sr0"  feature:  DVD Read (MMC5)
(K3b::Device::Device)  "/dev/sr0"  feature:  DVD+R
(K3b::Device::Device)  "/dev/sr0"  feature:  DVD+RW
(K3b::Device::Device)  "/dev/sr0"  feature:  DVD+R Double Layer
(K3b::Device::Device)  "/dev/sr0"  feature:  DVD-R/-RW Write
(K3b::Device::Device)  "/dev/sr0"  feature:  Rigid Restricted Overwrite
(K3b::Device::Device)  "/dev/sr0"  feature:  Layer Jump Recording
(K3b::Device::Device)  "/dev/sr0"  unknown profile:  2 

(K3b::Device::Device)  "/dev/sr0" : buffer.size():  60
(K3b::Device::Device)  "/dev/sr0" : checking for TAO
(K3b::Device::Device)  "/dev/sr0" : checking for SAO
(K3b::Device::Device)  "/dev/sr0" : checking for SAO_R96P
(K3b::Device::Device)  "/dev/sr0" : checking for SAO_R96R
(K3b::Device::Device)  "/dev/sr0" : checking for RAW_R16
(K3b::Device::Device)  "/dev/sr0" : checking for RAW_R96P
(K3b::Device::Device)  "/dev/sr0" : checking for RAW_R96R
(K3b::Device::Device)  "/dev/sr0" :  Number of supported write speeds via GET PERFORMANCE:  1 

(K3b::Device::Device)  "/dev/sr0"  :  11080  KB/s 

(K3b::Device::DeviceManager) setting current write speed of device  "/dev/sr0"  to  11080
(K3b::Device::DeviceManager) found config entry for devicetype:  "HL-DT-ST DVDRAM GP57EB40"
no medium found
Devices: 
------------------------------ 

Blockdevice:     "/dev/sr0" 
Vendor:          "HL-DT-ST" 
Description:     "DVDRAM GP57EB40" 
Version:         "RF01" 
Write speed:     11080 
Profiles:        "DVD-ROM, DVD-R Sequential, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump, DVD-RAM, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW" 
Read Cap:        "DVD-ROM, DVD-R, DVD-R Sequential, DVD-R Dual Layer, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump, DVD-RW, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+RW Dual Layer, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW" 
Write Cap:       "DVD-R, DVD-R Sequential, DVD-R Dual Layer, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump, DVD-RW, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-R, CD-RW" 
Writing modes:   "SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Restricted Overwrite, Layer Jump" 
------------------------------ 

(K3b::Core) System problems:
 CRITICAL
 PROBLEM:   "Unable to find cdrecord executable" 
 DETAILS:   "K3b uses cdrecord to actually write CDs." 
 SOLUTION:  "Install the cdrtools package which contains cdrecord." 


 CRITICAL
 PROBLEM:   "Unable to find cdrdao executable" 
 DETAILS:   "K3b uses cdrdao to actually write CDs." 
 SOLUTION:  "Install the cdrdao package." 


 CRITICAL
 PROBLEM:   "Unable to find growisofs executable" 
 DETAILS:   "K3b uses growisofs to actually write DVDs. Without growisofs you will not be able to write DVDs. Make sure to install at least version 5.10." 
 SOLUTION:  "Install the dvd+rw-tools package." 


 CRITICAL
 PROBLEM:   "Unable to find dvd+rw-format executable" 
 DETAILS:   "K3b uses dvd+rw-format to format DVD-RWs and DVD+RWs." 
 SOLUTION:  "Install the dvd+rw-tools package." 


 WARNING
 PROBLEM:   "System locale charset is ANSI_X3.4-1968" 
 DETAILS:   "Your system's locale charset (i.e. the charset used to encode filenames) is set to ANSI_X3.4-1968. It is highly unlikely that this has been done intentionally. Most likely the locale is not set at all. An invalid setting will result in problems when creating data projects." 
 SOLUTION:  "To properly set the locale charset make sure the LC_* environment variables are set. Normally the distribution setup tools take care of this." 


21 21
23 23
(K3b::Core) System problems:
 CRITICAL
 PROBLEM:   "Unable to find cdrecord executable" 
 DETAILS:   "K3b uses cdrecord to actually write CDs." 
 SOLUTION:  "Install the cdrtools package which contains cdrecord." 


 CRITICAL
 PROBLEM:   "Unable to find cdrdao executable" 
 DETAILS:   "K3b uses cdrdao to actually write CDs." 
 SOLUTION:  "Install the cdrdao package." 


 CRITICAL
 PROBLEM:   "Unable to find growisofs executable" 
 DETAILS:   "K3b uses growisofs to actually write DVDs. Without growisofs you will not be able to write DVDs. Make sure to install at least version 5.10." 
 SOLUTION:  "Install the dvd+rw-tools package." 


 CRITICAL
 PROBLEM:   "Unable to find dvd+rw-format executable" 
 DETAILS:   "K3b uses dvd+rw-format to format DVD-RWs and DVD+RWs." 
 SOLUTION:  "Install the dvd+rw-tools package." 


 WARNING
 PROBLEM:   "System locale charset is ANSI_X3.4-1968" 
 DETAILS:   "Your system's locale charset (i.e. the charset used to encode filenames) is set to ANSI_X3.4-1968. It is highly unlikely that this has been done intentionally. Most likely the locale is not set at all. An invalid setting will result in problems when creating data projects." 
 SOLUTION:  "To properly set the locale charset make sure the LC_* environment variables are set. Normally the distribution setup tools take care of this." 


21 21
23 23
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found

For k3b, try installing cdrtools

yay -S hypnotix protontricks bottles --rebuild
1 Like

I was going to ask this as well. Thanks for sharing that.

2 Likes

(it’s a great thing to know. wonder if it uninstalls/reinstalls? or builds over existing? who knows, I love that there is that option.)

1 Like

I installed it

Done, but it doesn’t work. For example protontricks:

> [sermor@sermor-eospc ~]$ protontricks
Traceback (most recent call last):
  File "/usr/bin/protontricks", line 5, in <module>
    from protontricks.cli.main import cli
  File "/usr/lib/python3.12/site-packages/protontricks/__init__.py", line 1, in <module>
    from .steam import *
  File "/usr/lib/python3.12/site-packages/protontricks/steam.py", line 9, in <module>
    import vdf
ModuleNotFoundError: No module named 'vdf'

One question: when it asks you at the beginning of the operation “Packages to compile cleanly?” what should I put? I put “none” (pressing N) in this case.

If I were to say yes instead, the operation “blocks” after showing me some code with the final line (END), and I don’t know what to do to continue. What should I press to continue the operation?

You need to choose “A” for all.

If you are seeing a diff, you can press “q” to exit(quit).

Done, pressed A and then Q. The procedure was successful. But those three applications still don’t work (I think it’s the same initial error):

> [sermor@sermor-eospc ~]$ bottles
/usr/share/bottles/bottles/backend/utils/generic.py:97: SyntaxWarning: invalid escape sequence '\d'
  [int(t) if t.isdigit() else t.lower() for t in re.split("(\d+)", text)]
Traceback (most recent call last):
  File "/usr/bin/bottles", line 45, in <module>
    from bottles.frontend import main
  File "/usr/share/bottles/bottles/frontend/main.py", line 36, in <module>
    from bottles.frontend.windows.main_window import MainWindow
  File "/usr/share/bottles/bottles/frontend/windows/main_window.py", line 30, in <module>
    from bottles.backend.managers.manager import Manager
  File "/usr/share/bottles/bottles/backend/managers/manager.py", line 31, in <module>
    import pathvalidate
ModuleNotFoundError: No module named 'pathvalidate'
> [sermor@sermor-eospc ~]$ protontricks
Traceback (most recent call last):
  File "/usr/bin/protontricks", line 5, in <module>
    from protontricks.cli.main import cli
  File "/usr/lib/python3.12/site-packages/protontricks/__init__.py", line 1, in <module>
    from .steam import *
  File "/usr/lib/python3.12/site-packages/protontricks/steam.py", line 9, in <module>
    import vdf
ModuleNotFoundError: No module named 'vdf'
> [sermor@sermor-eospc ~]$ hypnotix
System version of yt-dlp selected.
[sermor@sermor-eospc ~]$ Traceback (most recent call last):
  File "/usr/lib/hypnotix/hypnotix.py", line 30, in <module>
    from imdb import IMDb
ModuleNotFoundError: No module named 'imdb'

You might have dependencies that also need to be rebuilt.

For example, for hyptnotix, try rebuilding python-cinemagoer

I think we are on the right track, because I have fixed the addiction you told me about and now hypnotix works. I guess it could work for the other two applications too. Is there a way to fix them all at once, rather than one by one?

Try this:

yay -S protontricks bottles --rebuildtree

I spoke too soon, I ran the command, it was successful, but the apps don’t work (same errors as before).

Did you select “A” to cleanbuild all the packages?

Yes

If you did, you can just rebuild the packages throwing errors.

yay -S python-pathvalidate python-vdf --rebuildall