stewartadam / fwbackups

A feature-rich, user-friendly backup program [bugfixes only]
http://www.diffingo.com/oss/fwbackups/
GNU General Public License v2.0
86 stars 20 forks source link

ImportError #5

Closed simoneromano96 closed 6 years ago

simoneromano96 commented 6 years ago

Hello, i get the following error code when trying to launch the application:

Traceback (most recent call last):

  File "/usr/share/fwbackups/fwbackups-runapp.pyw", line 47, in <module>
    from fwbackups import interface

  File "/usr/lib/python2.7/dist-packages/fwbackups/interface.py", line 23, in <module>
    import gtk.glade
ImportError: No module named glade
stewartadam commented 6 years ago

Please make sure GTK2 and (its glade module) are installed from your OS package manager. What OS are you using?

simoneromano96 commented 6 years ago

I'm using Debian 9 with Gnome as DE. Some modules from GTK2 are installed (libgtk2.0-0, bin and common) and the python-gtk2 binding. Glade is installed but not libglade2-0, should I install this? What modules/packages should I look for? Thanks

simoneromano96 commented 6 years ago

My missing modules were: libglade2-0 and python-glade2. After installing them the program works. Thank you again

Klakurka commented 3 years ago

We're missing the Glade module (Centos 8), and the only repository with that seems to be behind a paywall which we'd be happy to pay for if we knew it would work...

https://centos.pkgs.org/8/getpagespeed-x86_64/glade-3.22.1-1.el8.x86_64.rpm.html

Is this the module that needs to be installed to get fwbackups to run after running into the above error?

[edit] We paid to have Glade installed, but it still gives the same error. Running glade on its own definitely works, but fwbackups doesn't seem to know or care about it.

Are there any troubleshooting steps you would suggest that we can try?

stewartadam commented 3 years ago

Unfortunately that package provides the Glade binary+library for version 3, not the Python binding for version 2 that fwbackups requires.

I'm not aware of any such packages available for CentOS 8, as the Python binding for glade2 was removed from the PyGTK 2 package. The changelog references bug RHBZ#1622134 but it is not available to the public, so the details why are not known.

Klakurka commented 3 years ago

Is there a known list of supported Linux distros?

It would be good to know as it sounds like this may be a more common problem as time goes on.

stewartadam commented 3 years ago

I haven't tried recently, but Fedora 32 appears to still have the package in question, as does CentOS 7 in EPEL.