I was running Leap 15.2 and the GUI for backintime stopped launching. I had been mucking around and figured I’d broken something, so I decided to update to Leap 15.3. I did a fresh install not an upgrade. I formatted the ‘/’ drive. All went went, everything is working well apart from backintime. I am using KDE.
Version; backintime-qt-1.2.1-bp153.1.12.noarch
Traceback (most recent call last):
File “/usr/share/backintime/qt/app.py”, line 35, in <module>
import qttools
File “/usr/share/backintime/qt/qttools.py”, line 47, in <module>
import snapshots
File “/usr/share/backintime/common/snapshots.py”, line 34, in <module>
import config
File “/usr/share/backintime/common/config.py”, line 32, in <module>
import tools
File “/usr/share/backintime/common/tools.py”, line 51, in <module>
import dbus
ModuleNotFoundError: No module named ‘dbus’
I was originally getting an error about PyQt5 not being installed, so I used pip install PyQt5 and it did install, so I assume it was missing. Then I get the above error.
I’ve done some searching and nothing quite fits my error. I have deleted my /home/username/.config/backintime/config file based on the suggestion of a possibly corrupted file. It had no effect.
Can anyone suggest a fix? I feel someone lost and vulnerable without a working backup system…
I think with your action using pip you have a python mismatch…
It is working:
stephan@linux64:~> backintime-qt
Back In Time
Version: 1.2.1
Back In Time comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; type `backintime --license' for details.
Back In Time
Version: 1.2.1
Back In Time comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; type `backintime --license' for details.
INFO: Lock
INFO: Take a new snapshot. Profile: 1 Hauptprofil
INFO: Call rsync to take the snapshot
INFO: Save config file
INFO: Save permissions
INFO: Create info file
INFO: Unlock
stephan@linux64:~>
I’m not really sure I’m making progress. As I said, before I likely made things worse, backintime was not launching the GUI. I have since removed the PyQt5 I installed with pip and I am back to a similar, although not identical, error to what I had originally;
Traceback (most recent call last):
File “/usr/share/backintime/qt/app.py”, line 35, in <module>
import qttools
File “/usr/share/backintime/qt/qttools.py”, line 21, in <module>
from PyQt5.QtGui import (QFont, QColor, QKeySequence)
ModuleNotFoundError: No module named ‘PyQt5.QtGui’
And if I launch from a su terminal it works fine.
So my question remains, can somebody please suggest a possible cause and fix for my issue? That would be most appreciated.
Loading repository data...
Warning: Repository 'openSUSE:Backports:SLE-15-SP3' appears to be outdated. Consider using a different mirror or server.
Reading installed packages...
S | Name | Type | Version | Arch | Repository
---+-------------+---------+-------------------+--------+----------------
i+ | python3-qt5 | package | 5.13.1-lp153.1.36 | x86_64 | Main Repository
Because that is what was there after the install. I did not select them, they were added during the installation process. I was somewhat surprised as 15.2 did not use any of those repositories. Many have given me error messages, so I have disabled them, but not removed them as I was unsure if they were required. I have absolutely no idea what the minimum amount of repositories I need for my system, so it is near impossible for me to second guess the official install.
I am posting on this forum as I do not know all the settings and how to troubleshoot my problem. If I did know this, I would not need assistance.
And to reiterate, I was having an identical problem with 15.2 and backintime where it did not want to start the GUI. That was part of the motivation for upgrading to 15.3.
Some additional info that does not solve problem but could, perhaps, help direct efforts to a solution.
I run backintime leap 15.3 successfully. I have used this for maybe 5 or more years. Current running version is 1.2.1. It runs for me as a user and also as root. I use primarily root version for desire to restore system files as well as user files if needed.
backintime has never complained about python3-qt5. Here is search for this file in zypper.
**DesktopPC:/home/tom #** zypper se -si python3-qt5
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
---+-----------------+---------+-------------------+--------+----------------
i | python3-qt5 | package | 5.13.1-lp153.1.36 | x86_64 | Main Repository
i+ | python3-qt5-sip | package | 12.8.1-bp153.1.13 | x86_64 | Main Repository
**DesktopPC:/home/tom #**
I was using openSUSE LEAP 15.2. I fail to see how it could be relevant anyway as I wiped my system during the install of 15.3. I may not be the most brilliant Linux user, but I’m sure I would have noticed adding all those repositories. They were part of the install process.
Getting back to my original question, can somebody please help me troubleshoot my issue with backintime, as we seem to be off track right now.
Loading repository data...
Warning: Repository 'openSUSE:Backports:SLE-15-SP3' appears to be outdated. Consider using a different mirror or server.
Reading installed packages...
Forcing installation of 'python3-dbus-python-1.2.16-6.3.1.x86_64' from repository 'Update repository with updates from SUSE Linux Enterprise 15'.
Resolving package dependencies...
The following package is going to be reinstalled:
python3-dbus-python
1 package to reinstall.
Overall download size: 123.4 KiB. Already cached: 0 B. No additional space will be used or freed after the operation.
Continue? [y/n/v/...? shows all options] (y):
Retrieving package python3-dbus-python-1.2.16-6.3.1.x86_64 (1/1), 123.4 KiB (469.3 KiB unpacked)
Retrieving: python3-dbus-python-1.2.16-6.3.1.x86_64.rpm ........................................................................................................................[done]
Checking for file conflicts: ...................................................................................................................................................[done]
(1/1) Installing: python3-dbus-python-1.2.16-6.3.1.x86_64 ......................................................................................................................[done]
(base) username@pc_name:~> backintime-qt
Traceback (most recent call last):
File "/usr/share/backintime/qt/app.py", line 35, in <module>
import qttools
File "/usr/share/backintime/qt/qttools.py", line 21, in <module>
from PyQt5.QtGui import (QFont, QColor, QKeySequence)
ModuleNotFoundError: No module named 'PyQt5.QtGui'