Inkcut
search
  • chevron_right Threads
  • label Software Help

Inkscape 1.0 and Inkcut

Memo
May 11, 2020
chat_bubble_outline 2
  • link
    Memo
    Members 7 posts
    May 11, 2020, 11:19 p.m. May 11, 2020, 11:19 p.m.
    link

    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'

  • link
    frmdstryr
    Team 127 posts
    May 12, 2020, 2:52 p.m. May 12, 2020, 2:52 p.m.
    link

    For Inkscape 1.0 you need to use the updated plugin files from: github.com/inkcut/inkcut/tree/master/plugins/inkscape

    Also make sure you can start inkcut by running inkcut from the command line (if not you'll need to install it).

    Memo likes this.

    favorite 1

  • link
    Memo
    Members 7 posts
    May 12, 2020, 10:39 p.m. May 12, 2020, 10:39 p.m.
    link

    Thanks, that solved the plugin issue.. but seems there is a problem also with Python 3.8 .. getting errors in the plugin, and running inkcut alone is having stack overflows and crashing... (i upgraded from ubuntu 19.1 to 20 ) .. so going back again.

    updated.. no luck in ubuntu 19.1 .. same error in 2 diferent computers... really weird.. all was working good before the upgrade.

    Screenshot from 2020-05-13 00-44-55.png

    Screenshot from 2020-05-13 01-10-11.png

    Screenshot from 2020-05-13 01-10-11.png

    PNG, 122.9 KB, uploaded by Memo on May 13, 2020.

    Screenshot from 2020-05-13 00-44-55.png

    PNG, 125.1 KB, uploaded by Memo on May 13, 2020.

arrow_upward Go to top
  • Privacy policy
powered by misago