Inkscape.org
Beyond the Basics Error while copying anything as long as Clipboard manager (Clipdiary) is active
  1. #1
    Mathe172 Mathe172 @mathe172
    *

    I am encountering an incompatibility between Inkscape 1.0 and Clipdiary: While Clipdiary is active, I get the following error message as soon as I try to copy something:

    Traceback (most recent call last):
      File "ink2canvas.py", line 72, in <module>
        Html5Canvas().run()
      File "C:\Program Files\WindowsApps\25415Inkscape.Inkscape_1.0.0.0_x64__9waqn51p1ttv2\VFS\ProgramFilesX64\Inkscape\share\inkscape\extensions\inkex\base.py", line 123, in run
        self.save_raw(self.effect())
      File "C:\Program Files\WindowsApps\25415Inkscape.Inkscape_1.0.0.0_x64__9waqn51p1ttv2\VFS\ProgramFilesX64\Inkscape\share\inkscape\extensions\inkex\base.py", line 146, in save_raw
        self.save(self.options.output)
      File "ink2canvas.py", line 36, in save
        self.walk_tree(svg_root, canvas)
      File "ink2canvas.py", line 58, in walk_tree
        class_name = node.TAG.capitalize()
      File "C:\Program Files\WindowsApps\25415Inkscape.Inkscape_1.0.0.0_x64__9waqn51p1ttv2\VFS\ProgramFilesX64\Inkscape\share\inkscape\extensions\inkex\elements\_base.py", line 96, in TAG
        assert self.tag_name
    AssertionError

    Some details:

    • Versions used:
      • Windows 10 1909
      • Inkscape 1.0 (4035a4fb49, 2020-05-01), issue not present with 0.92.5 (2060ec1f9f, 2020-04-08)
      • Clipdiary 5.4 (Portable version also causes the issue)
    • Steps to reproduce:
      • Launch Clipdiary & Inkscape
      • Draw some path
      • Try to copy (CTRL+C) the path
      • Get error popup
    • Tested with a clean install of both versions (Windows Sandbox) & the portable version of Clipdiary
      • The error also appears when the clipboard manager is running on the host OS of the Windows Sandbox
    • While the error popup appears every time, copying itself seems to work (you just have to close the popup
    • The popup also appears when doing the following:
      • Close Clipdiary (if running) & Launch Inkscape
      • Draw some path
      • Copy the path to the clipboard (CTRL+C)
      • Launch Clipdiary
      • Now the error appears

    Is this an issue on Inkscape's side or on Clipdiary's? As noted above, the issue only occurs in version 1.0, so something seems to have changed on Inkscape's side at least. Also, I have never experienced any issues/incompatibilities with Clipdiary before (but there has to be a first time of course).

  2. #2
    phiscribe phiscribe @phiscribe

    Seems to me you should take this up with Clipdiary.  Things work normally, then you start Clipdiary and they don't  Not sure what the Inkiscape people can do to fix Clipdiary.

  3. #3
    Tyler Durden Tyler Durden @TylerDurden
    🔧*
    mathe172

    As noted above, the issue only occurs in version 1.0, so something seems to have changed on Inkscape's side at least.

    I tend to agree.

    I suggest presenting this to the developers as a bug. https://inkscape.org/forums/beyond/how-to-report-bugs-or-request-new-features/

    Likely this bug:  https://gitlab.com/inkscape/extensions/-/issues/186

Inkscape Inkscape.org Inkscape Forum Beyond the Basics Error while copying anything as long as Clipboard manager (Clipdiary) is active