why no glade module for python 3?
by Paolo Galtieri
Folks,
for years I've been using sbackup for doing my backups. I've tried
others and none come close to being as easy to use as sbackup.
Unfortunately there doesn't seem to be any further development occurring
on it. It was written originally to work with python2 and I have managed
to get it to work with python2 on FC31 and FC32. However, with the
removal of most of the necessary python2 packages from FC33 it no longer
works. So I tried to get it to run under python3, and the first problem
I encountered is the following:
Traceback (most recent call last):
File "/usr/sbin/simple-backup-config", line 30, in <module>
import gtk.glade
ImportError: No module named glade
With python2 this module was located in
/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/glade.so
from package
pygtk2-libglade-2.24.0-27.fc31.x86_64
This package does not exist in FC33 nor is there a corresponding package
for FC33. So why is there no glade.so module/package for python2 or
python3?
Since there is no pygtk2-libglade in FC33 I tried to port it, but it
fails if using with both python2 and python3 due to various errors, e.g.
the following when using python3
File "/usr/share/pygobject/2.0/codegen/codegen.py", line 429
except argtypes.ArgTypeError, ex:
^
SyntaxError: invalid syntax
make: *** [Makefile:1151: pango.c] Error 1
I don't want to try to port all the f31 python2 packages which are
needed, I tried and it's a pain :(
Any help is appreciated.
Paolo
3 years, 4 months
ffmpeg
by Patrick Dupre
Hello,
dnf install ffmpeg
Last metadata expiration check: 1:14:38 ago on Mon 01 Feb 2021 07:59:27 AM CET.
No match for argument: ffmpeg
Error: Unable to find a match: ffmpeg
but
on rpmfind, there is
ffmpeg-4.2.4-3.fc32.x86_64.rpm
When I try to install it, I get:
Unable to install ffmpeg
Could not depsolve transaction; 1 problem detected:
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire interdisciplinaire Carnot de Bourgogne
9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
Tel: +33 (0)380395988
===========================================================================
3 years, 4 months
xnview
by Patrick Dupre
Hello,
I did not find xnview for fedora.
Is there an alternative?
I also installed XnViewMP-linux-x64.tgz, but I get:
/usr/src/misc/XnView/XnView: error while loading shared libraries: libbz2.so.1.0: cannot open shared object file: No such file or directory
Can I fix this issue?
Thanks.
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire interdisciplinaire Carnot de Bourgogne
9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
Tel: +33 (0)380395988
===========================================================================
3 years, 4 months