Diffuse don't start in Linuxmint 19.1
Status: Beta
Brought to you by:
dtmoser
Diffuse is not starint anymore.
$ diffuse
File "/usr/bin/diffuse", line 74
print codecs.encode(unicode(s, 'utf_8'), sys.getfilesystemencoding())
^
SyntaxError: invalid syntax
My system:
$ apt version diffuse
0.4.8-3
$ uname -orvsi
Linux 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 19.1 Tessa
Release: 19.1
Codename: tessa
$ apt version cinnamon
4.0.9+tessa
Looks like you have done something to make Python 3 the default on your system or you are directly invoking it with Python 3, since this is Python 2 code. If you are using Python 3 in an active virtual environment, then you will get this error since the virtual environment sittings will override the Python 2 system default with Python 3. Mint 19.1 uses Python 2 as default so it should work fine. You will have to find out what you have done to cause it to be run under Python 3.
In the meantime you should be able to explicitly run it under Python 2 by using the command:
$ python2 /usr/bin/diffuse