Trying to get inkcut to run as an extension from inkcut. Inkcut standalone runs fine.
New Install of Ubuntu 20.04
Inkscape 1.0.1-0767f8302a-2020-10-17
Inkcut 2.1.3
Python 3.8.5
Think I've got all the python modules loaded: python3-pip python3-pyqt5 python3-setuptools libcups2-dev python3-pyqt5.qtsvg
Loaded all the extension files into the .config/inkscapes/extensions: inkcut.py, inkcut_cut.py ...
Getting this error when I try to activate the extension:
inkcut_cut.py:27: DeprecationWarning: inkex.localize was moved to inkex.localization.localize
inkex.localize()
inkcut_cut.py:73: DeprecationWarning: Effect.affect is now Effect.run()
. The output
argument has changed.
effect.affect()
inkcut_cut.py:44: DeprecationWarning: Effect.selected is now a dict in the svg. Use self.svg.selected
.
nodes = self.selected
inkcut_cut.py:50: DeprecationWarning: Effect.selected is now a dict in the svg. Use self.svg.selected
.
if contains_text(self.selected.values()):
Traceback (most recent call last):
File "inkcut_cut.py", line 73, in <module>
effect.affect()
File "/snap/inkscape/8049/share/inkscape/extensions/inkex/deprecated.py", line 181, in affect
return self.run(args=args)
File "/snap/inkscape/8049/share/inkscape/extensions/inkex/base.py", line 140, in run
self.save_raw(self.effect())
File "inkcut_cut.py", line 67, in effect
close_fds=sys.platform != "win32")
File "/snap/inkscape/8049/usr/lib/python3.6/subprocess.py", line 729, in init
restore_signals, start_new_session)
File "/snap/inkscape/8049/usr/lib/python3.6/subprocess.py", line 1364, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'inkcut': 'inkcut'
Thoughts? Thanks!