glyphtracer
glyphtracer copied to clipboard
name 'i_haz_potrace' is not defined
File "/home/jsbien/git/glyphtracer/glyphtracer/./build/scripts-3.9/glyphtracer.py", line 429, in start_program
if not i_haz_potrace():
NameError: name 'i_haz_potrace' is not defined
potrace is installed from the Debian package:
potrace -v
potrace 1.16. Copyright (C) 2001-2019 Peter Selinger.
That function is in gtlib.py
. It should be installed next to glyphtracer.py
for it to work. setup.py
should do this automatically.
It is installed but looks like it is not used. I run the program from the build/scripts-3.9/
directory. Can this be the reason? Anyway I circumvented the problem by copying gtlib.py
to scripts-3.9
directory.