Inkscape.org
Beyond the Basics Hard crash when unlocking or not visible a layer
  1. #1
    lobaluna lobaluna @lobaluna
    *

    Hello!

    As @brynn  recommended, I want to discuss if I experience a bug. I have a large file with 83 layers. All of them are not visible and locked, except for one.

    I try to unlock/show one of them, and the program crashes.

    I have already uploaded this same file for anothere question (which was solved, BTW): https://inkscape.org/forums/beyond/strange-crashing-when-trying-to-view-a-hidden-layer/

    The title is misguiding, and I cannot change it so it would reflect more the question about exporting multiple layers at once. I'm sorry.

    I'm in Lubuntu 20.10 with Inkscape 1.0.1 (3bc2e813f5, 2020-09-07). Pango version: 1.46.2.

    Here is the output from terminal:

    $ inkscape
    
    ** (org.inkscape.Inkscape:27204): WARNING **: 17:33:02.205: Failed to find resource file 'export_layers.py'. Looked in:
            /home/lobaluna/.config/inkscape/extensions/export_layers.py
            /usr/share/inkscape/extensions/export_layers.py
    
    ** (org.inkscape.Inkscape:27204): WARNING **: 17:33:02.205: Failed to find resource file 'export_layers.py'. Looked in:
            /home/lobaluna/.config/inkscape/extensions/export_layers.py
            /usr/share/inkscape/extensions/export_layers.py
    
    ** (org.inkscape.Inkscape:27204): WARNING **: 17:33:02.273: Fonts dir '/usr/share/inkscape/fonts' does not exist and will be ignored.
    
    ** (org.inkscape.Inkscape:27204): WARNING **: 17:33:07.285: <svg:g id="">: CSS Style property: "display" with default value (inline) not needed.
    
    ** (org.inkscape.Inkscape:27204): WARNING **: 17:33:11.663: <svg:g id="">: CSS Style property: "display" with default value (inline) not needed.
    
    (org.inkscape.Inkscape:27204): Gtk-CRITICAL **: 17:33:14.656: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GdlSwitcher
    
    ** (org.inkscape.Inkscape:27204): CRITICAL **: 17:33:24.153: Glib::ustring sp_attribute_clean_style(Inkscape::XML::Node*, const gchar*, unsigned int): assertion 'repr->type() == Inkscape::XML::ELEMENT_NODE' failed
    
    (org.inkscape.Inkscape:27204): glibmm-ERROR **: 17:33:24.153: 
    unhandled exception (type std::exception) in signal handler:
    what: basic_string::_M_construct null not valid
    
    Trace/breakpoint trap (core dumped)
    

    If I use the AppImage, I get the same error message.

    Could it be a Gtk vs Qt libraries thing?

    I looked up in Internet and there is an unsolved bug about the glibmm-ERROR message...

    So any ideas how to unlock all layers is very welcome!

Inkscape Inkscape.org Inkscape Forum Beyond the Basics Hard crash when unlocking or not visible a layer