Re: [Inkscape-devel] Please clean up console output
Bulia Byak wrote: [mailto:buliabyak@...400...]
Here are some specific problems I found:
- Several "** Message: arg" lines every time GUI is started.
I think this is from the axonometric grid code by Johan Engelen (though I may be wrong).
- "(inkscape:12768): Gtk-CRITICAL **: gtk_style_detach:
assertion `style->attach_count > 0' failed" every time I quit Inkscape. Has been there for a long time already, though I don't know who's the culprit.
- Three "(inkscape:12772): GLib-GObject-CRITICAL **:
g_object_set_qdata_full: assertion `quark > 0' failed" warnings when I run Inkscape with a query, for example "inkscape -W file.svg". This warning originates in paramnotebook.cpp code, also by Johan - most likely the new code is unaware that Inkscape can be run without GUI, tries to do something GUIish and fails.
- A stream of "(inkscape:12776): GLib-GObject-WARNING **:
invalid cast from `SPCAxonomGrid' to `SPCGrid'" when I'm trying to use the new axonometric grid.
- A "(inkscape:12778): Gtk-CRITICAL **: gtk_misc_set_alignment:
assertion `GTK_IS_MISC (misc)' failed" when I open the Document Properties.
Ad 1. Correct. Removed the stupid debug message. I forgot about it. It is actually not that handy to have a window in Inkscape which you have to enable to see these messages :( Ad 2. I cannot reproduce this one. Ad 3. Will look into this later. I already knew in the back of my head that Inkscape can be run without UI. On WinXP because the console output didn't work, I forgot about it; thanks for making me remember! Ad 5. Fixed. Had to do with the entry of the radiobutton-widget (which gridtype to use) in the widgetlist.
Ad 4. Solution: do not use the axonometric grid with snapping! :P I haven't had time to code the snapping thing yet for the axonometric grid; and it is clear that some generalization of grid/snapping code and mechanism is needed for this to work nicely. At the moment, I haven't changed any of the snapping code, therefore invalid casts result.
I am sorry that the axonometric grid commit gives so many warnings/errors. Especially the invalid cast to SPCGrid is nasty. I committed it so all can see what the grid looks like on which I am working, so I can get comments on how to improve things. Use on your own risk! :P
participants (1)
-
Johan Engelen