Seems inkcut is not working in the new Inkscape 1.0, or am i missing something ? ...
Output when sending a selection
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/7627/share/inkscape/extensions/inkex/deprecated.py", line 180, in affect
return self.run(args=args)
File "/snap/inkscape/7627/share/inkscape/extensions/inkex/base.py", line 123, in run
self.save_raw(self.effect())
File "inkcut_cut.py", line 67, in effect
close_fds=sys.platform != "win32")
File "/snap/inkscape/7627/usr/lib/python3.6/subprocess.py", line 729, in init
restore_signals, start_new_session)
File "/snap/inkscape/7627/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'