Package Details: fontypython 0.5-4

Git Clone URL: https://aur.archlinux.org/fontypython.git (read-only, click to copy)
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: 2
Popularity: 0.000000
First Submitted: 2018-03-05 21:21 (UTC)
Last Updated: 2019-01-19 19:50 (UTC)

Pinned Comments

SanskritFritz commented on 2021-04-12 12:20 (UTC)

Sadly this package doesn't work anymore, since python2-pillow does not exist anymore.

Latest Comments

« First ‹ Previous 1 2

dv-romanov commented on 2018-03-18 05:56 (UTC) (edited on 2018-03-18 06:00 (UTC) by dv-romanov)

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 )