Cannot run backintime-gnome on Centos 7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Back In Time |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
On running backintime-gnome on Centos 7, receive the following error.
Traceback (most recent call last):
File "/usr/share/
import pynotify
ImportError: No module named pynotify
It used to work in Centos 6. I have noticed the following package which was available in 6, is no longer available in 7.
notify-
This package contained the following files
rpm -ql notify-
/usr/lib64/
/usr/lib64/
/usr/lib64/
/usr/lib64/
/usr/lib64/
/usr/lib64/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
I haven't been able to find an equivalent (ie a package with new name that replaces it).
sudo yum whatprovides \*pynotify\*
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.
* epel: fedora.
* extras: centos.
* updates: centos.
No matches found
Another change between Centos 6 and 7 is a move from 2.6 to 2.7 of Python.
Because this appears to be an omission by the distribution to include the required library, I appreciate this makes it difficult for you guys to resolve. I've attempted to compile the missing library manually, but I get an error:
pynotify.c: In function '_wrap_
pynotify.c:168:5: error: unknown type name 'GtkWidget'
GtkWidget *attach = NULL;
^
I am wondering whether the gui version of backintime could have a configure option that omits the desktop notification system (I certainly don't need it), such that it still works on Centos7? Not sure how much effort this would require on your team's part.
Thanks for the great software guys.
Damien.
Related branches
Changed in backintime: | |
status: | New → Fix Committed |
milestone: | none → 1.0.42 |
Hmm. I don't have time to test this at the moment but please try to remove the line 'import pynotify' from /usr/share/ backintime/ gnome/app. py notify- send some time ago.
I'm pretty sure this is just an old leftover as we moved to /usr/bin/