Package Details: fontypython 0.5-2

Git Clone URL: https://aur.archlinux.org/fontypython.git (read-only)
Package Base: fontypython
Description: Manage, view and find your fonts.
Upstream URL: https://savannah.nongnu.org/projects/fontypython
Licenses: GPL3
Submitter: SanskritFritz
Maintainer: SanskritFritz
Last Packager: SanskritFritz
Votes: 0
Popularity: 0.000000
First Submitted: 2018-03-05 21:21
Last Updated: 2018-03-21 10:35

Latest Comments

SanskritFritz commented on 2018-03-21 10:35

Thank you Dmitry!

dv-romanov commented on 2018-03-18 05:56

It is broken on systems with both python2 and python3 installed; symptoms are error message about missing /usr/lib/python2.7/site-packages/fontypythonmodules when you run the fontypython.

Origin of the error is in /usr/lib/python2.7/site-packages/fontypythonmodules/segwrapfonty.py where the author makes new command line python <other stuff> which assumes we will actually run the python3 interpreter rather than python2.

Fix: rename python to python2 in the command he generates and uses.

Patch:

--- segwrapfonty.py 2018-03-18 12:35:43.750110683 +0700
+++ segwrapfonty2.py    2018-03-18 12:33:05.000111232 +0700
@@ -62,7 +62,7 @@
# I want the window manager to think of it as 'fontypython' 
# This seems to work.
# Try: xprop 
-c1 = [ "python", os.path.join(fontyroot,'fontypython') ]
+c1 = [ "python2", os.path.join(fontyroot,'fontypython') ]

## Append any args
for arg in sys.argv[1:]: c1.append( arg )