Inkscape.org
Beyond the Basics Inkscape crashes in many different situations
  1. #1
    lobaluna lobaluna @lobaluna

    Hello to everyone:

    I have used Inkscape since ages (since year 2004), and I really love it. But lately, unfortunateley, it keeps crashing all the time in many different situations.

    I'm using Inkscape 0.92.4 in Ubuntu 19.04.

    Here is the last message thatI got in a crash: (obviously not all crash messages are similar; it all depends on what file I was working on)

     

    Traceback (most recent call last): File "ink2canvas.py", line 91, in ink.affect() File "/usr/share/inkscape/extensions/inkex.py", line 283, in affect self.effect() File "ink2canvas.py", line 86, in effect self.walk_tree(svg_root) File "ink2canvas.py", line 77, in walk_tree self.walk_tree(node) File "ink2canvas.py", line 76, in walk_tree elem.draw() File "/usr/share/inkscape/extensions/ink2canvas/svg.py", line 292, in draw path = self.get_data() File "/usr/share/inkscape/extensions/ink2canvas/svg.py", line 329, in get_data pt = map(float, pt) ValueError: could not convert string to float:

     

    Most of the time I open an SVG file with some content, then I select some objects on canvas and copy them with Ctrl+C in order to paste them in another document. This action triggers the crashing.

    I already read and followed brynn's suggestions (https://forum.inkscapecommunity.com/index.php?action=articles;sa=view;article=35) so I could minimize crashes, but it keeps crashing, no matter what.

    I keep all the logos of my organization that I have created over the years in SVG in Inkscape, but now it is so difficult to reuse them in new banners. I'm getting frustated.

    I ask for help ion order to debug and find the cause of crashing.

     

     

  2. #2
    brynn brynn @brynn

    Welcome to the forum!

    It sounds like we might need to define whether you are having crashes, or just errors, where something doesn't work.  When you see the little Traceback windows, that usually happens when an extension doesn't work properly.  It's not usually a crash.  A crash is when the whole Inkscape window suddenly closes, and usually with no more info than "Inkscape encountered and error and will close now" but sometimes with no info at all.  Sometimes it just blinks out.

    The confusing part is when you say

    lobaluna

    Most of the time I open an SVG file with some content, then I select some objects on canvas and copy them with Ctrl+C in order to paste them in another document. This action triggers the crashing.

    I would not expect that to produce a Traceback error message.  For that particular problem, I would want to look at the SVG file which is having this problem.  Are you able to share one?

  3. #3
    Maren Hachmann Maren Hachmann @Moiniโš–

    The crash on Ctrl+C is caused by an incompatibility between another application installed on your computer and Inkscape. Most frequently, it's clipman (on XFCE) or another clipboard manager, but other (e.g. Java based) software is known to cause this, too. The only way is to turn the offending application off while Inkscape is running.

  4. #4
    lobaluna lobaluna @lobaluna

    Hi, @brynn! Of course! And thanks for the welcome message :D

    I am sharing two of the offending files here.

    @Moini, I was copying an Inkscape SVG file into another Inkscape SVG file. I use either copyq or qlipper. I will try your suggestion and report back. Thanks!

     

    Ppudm Logo.V4 Doradas Slabo27 Circular
    Ppudm Logo.V4
  5. #5
    brynn brynn @brynn

    I can't reproduce the Ctrl + C crash.  It sounds like Moini has the right answer for that one.

    If you have a specific traceback error, please post it, along with which extension you were using when it happened.  Then we can tell you more about it.

  6. #6
    Maren Hachmann Maren Hachmann @Moiniโš–

    (as far as I know, this isn't an actual crash, just a popup from output extensions failing)

  7. #7
    lobaluna lobaluna @lobaluna

    @Moini  It is always a crash because after the messages, the GUI turns useless (title changes to Memory instead of the name of the file) and sometimes it disapears completely.

  8. #8
    Maren Hachmann Maren Hachmann @Moiniโš–

    The window title is only a decorative issue, it still works normally for me. The disappearing is something I haven't experienced myself yet. Maybe make a short screencast?

  9. #9
    brynn brynn @brynn
    *

    The file (the first one above) is somewhat large.  Certainly not huge, but on the large side.  I don't think this file was made originally in Inkscape, because of some objects that I don't usually see in Inkscape (Line, Object Polyline and Object Polygon, for example).  So there may have been a file conversion at some point, in the history of the file.  The file name is pretty long, and I would say unusual.  Lots of groups and nested groups.

    None of those things by themselves would be a problem.  But when you put them altogether, it makes it hard to sort out what might be happening.  It's just a complex file.  So that could explain Inkscape freezing as you describe.  Not that we expect that as normal, but we're just trying to gather info.

    But anyway, can you give an example of an extension that is producing a traceback error?  Then we could test to see if we can reproduce it.

    In your first message, part of the traceback error mentions ink2canvas, which is an extension to convert SVG to HTML5.  I'd have to install that, since I've never used it.  But I'd be glad to test.  Or any extension that's giving you a problem, would help us to identify something more specific.

  10. #10
    lobaluna lobaluna @lobaluna

    @brynn, the file was originally made in Inkscape, but later I had to make changes in Gravit Designer because I couldn't complete the modifications (due to numerous crashes).

    Now I am testing without a clipboard manager, as @Moini suggested. So far so good. Well, it crashed once because I believe I had many objects selected at once. Anyway, I just wanted to thank both of you, and if you let me, I'll post here if I happen to have another inexplicable crash.

    Thanks also for the difference between crashes and problems with extensions.

    BTW, I didin't ever installed the ink2canvas SVG to HTML extension, not on purpose. That's why I noted something wrong in the first place. Maybe something wicked this way comes… ๐Ÿ˜

  11. #11
    brynn brynn @brynn

    Interesting....  Maybe the"ink2canvas" in that traceback has some other meaning besides referencing that extension?  Or part of ink2canvas extension being used in a different extension?  I don't know.

    Yes, absolutely if you have problems in the future, you're welcome to post it.

    Good luck!

  12. #12
    Maren Hachmann Maren Hachmann @Moiniโš–

    It's an output extension. Probably just the first one that is being called. Or the last. Or the first one that breaks. The mechanism and bug are known for a long time, no fix is available other than deactivating the offending other software.

  13. #13
    Martin Owens Martin Owens @doctormo๐ŸŒนโš–๐Ÿง€

    Hi John, welcome to the forums.

    Yes you can report specific crashes to the issues tracker on GitLab, the forums are where you can talk about crashes in a more abstract way. So say you were getting crashes but didn't know how to track them down and needed advice on how to do that. For example as a developer knowing that you get a crash is fairly useless, but having a crash report with specific steps to reproduce the issue and making sure you were using the latest 1.0 (or even the master build) would be much more likely to be fixed. (and quality of reporting is super important to the community so we're always available to guide users).

  14. #14
    brynn brynn @brynn

    Well first, you should start your own topic for your problem -- even if it seems identical to an existing one.ย  Just so you know for the futureย  ๐Ÿ˜‰

    The most common reason we see crashes reported in the forum, is large file size.ย  The file is simply too large for the resources on your computer.

    If we can eliminate that issue, we move on to the next most likely scenario, and the user usually already has a clue about that.

    But in any case, we try and narrow down the issue here -- or else developers (whose time is less available) would have to do it in GL.

    Note that printing issues are numerous, in general.ย  Although crashes with printing are not very common.

    How large is the PDF file that you're trying to print?ย  Can you share the file with us?

Inkscape Inkscape.org Inkscape Forum Beyond the Basics Inkscape crashes in many different situations