glyphtracer icon indicating copy to clipboard operation
glyphtracer copied to clipboard

name 'i_haz_potrace' is not defined

Open jsbien opened this issue 1 year ago • 2 comments

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.

jsbien avatar Apr 18 '23 03:04 jsbien

That function is in gtlib.py. It should be installed next to glyphtracer.py for it to work. setup.py should do this automatically.

jpakkane avatar May 06 '23 10:05 jpakkane

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.

jsbien avatar May 06 '23 12:05 jsbien