Missig toolbars after building from the new Gitlab repository

Asked by Mihai Sorin Dobrescu on 2017-07-05

I have switched the repository, from bzr to git, on a clean directory.
I have built Inkscape following the procedure here: https://inkscape.org/en/develop/getting-started/, under Sabayon 64 bit.
I have one amendment to the procedure, I set the install path to ~/inkscape, because I avoid the official Sabayon Inkscape installation.
Despite the bzr code compiled and installed correctly in the past, the new built version from git has no toolbars, along with the colors in the toolbar at the bottom of the window. I can't make the toolbars show. Am I the only one facing this issue?

Thank you.

Question information

Language:
English Edit question
Status:
Open
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Last query:
2017-08-13
Last reply:
2017-08-09
Hachmann (marenhachmann) said : #1

It seems it's not loading the new toolbar files, which have been worked on (and moved, as far as I understand) during the hackfest.
What does it say on the command line when you start Inkscape? (perhaps it says where it's looking for those files?)

Does it work if instead, you follow the instructions in the README file for 'running without installing'?

Hello, the command line output is as follows:

~/inkscape/install/bin/inkscape

** (process:11690): WARNING **: Units file ~/inkscape/install/share/inkscape/ui/units.xml is missing: Failed to open file '~/inkscape/install/share/inkscape/ui/units.xml': No such file or directory

(inkscape:11690): Gtk-WARNING **: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version

(inkscape:11690): Gtk-WARNING **: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version

(inkscape:11690): Gtk-WARNING **: Theme parsing error: gtk.css:70:34: The style property GtkCheckButton:indicator-size is deprecated and shouldn't be used anymore. It will be removed in a future version

(inkscape:11690): Gtk-WARNING **: Theme parsing error: gtk.css:71:36: The style property GtkCheckMenuItem:indicator-size is deprecated and shouldn't be used anymore. It will be removed in a future version

(inkscape:11690): Gtk-WARNING **: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version

(inkscape:11690): Gtk-WARNING **: Theme parsing error: gtk.css:76:30: The style property GtkExpander:expander-size is deprecated and shouldn't be used anymore. It will be removed in a future version

(inkscape:11690): Gtk-WARNING **: Theme parsing error: gtk.css:83:29: The style property GtkStatusbar:shadow-type is deprecated and shouldn't be used anymore. It will be removed in a future version

** (inkscape:11690): WARNING **: Failed to load resource: style.css

** (inkscape:11690): WARNING **: Unable to open PowerPoint fontfix file: ~/inkscape/install/share/inkscape/extensions/fontfix.conf
PowerPoint ungrouping compensation in WMF/EMF export will not be available.

** (inkscape:11690): WARNING **: Failed to load resource: default.svg

** (inkscape:11690): WARNING **: Failed to load resource: default.svg

** (inkscape:11690): WARNING **: Can't open file: ~/inkscape/install/share/inkscape/keys/default.xml (doesn't exist)

** (inkscape:11690): WARNING **: Unable to read keys file ~/inkscape/install/share/inkscape/keys/default.xml
Unable to find: org.inkscape.help.manual
Unable to find: org.inkscape.help.keys
Unable to find: org.inkscape.help.askaquestion
Unable to find: org.inkscape.help.commandline
Unable to find: org.inkscape.help.faq
Unable to find: org.inkscape.help.relnotes
Unable to find: org.inkscape.help.reportabug
Unable to find: org.inkscape.help.svgspec

** (inkscape:11690): WARNING **: Null pixbuf for 0x5561df1deb50 [~/inkscape/install/share/inkscape/icons/remove-color.png]

(inkscape:11690): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(inkscape:11690): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
Hmm, NULL in None

** (inkscape:11690): WARNING **: Failed to load resource: tool-toolbar.ui

** (inkscape:11690): WARNING **: Failed to load : Failed to open file '': No such file or directory

** (inkscape:11690): WARNING **: Failed to load resource: select-toolbar.ui

** (inkscape:11690): WARNING **: Failed to load aux toolbar : Failed to open file '': No such file or directory

(inkscape:11690): Gtk-CRITICAL **: gtk_widget_show_now: assertion 'GTK_IS_WIDGET (widget)' failed

(inkscape:11690): Gtk-CRITICAL **: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed

(inkscape:11690): Gtk-CRITICAL **: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed

(inkscape:11690): Gtk-CRITICAL **: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed

(inkscape:11690): Gtk-CRITICAL **: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed

(inkscape:11690): Gtk-CRITICAL **: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed

(inkscape:11690): Gtk-CRITICAL **: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed

(inkscape:11690): Gtk-CRITICAL **: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed

(inkscape:11690): Gtk-CRITICAL **: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed

(inkscape:11690): Gtk-CRITICAL **: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed

(inkscape:11690): Gtk-CRITICAL **: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed

(inkscape:11690): Gtk-CRITICAL **: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed

(inkscape:11690): Gtk-CRITICAL **: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed

(inkscape:11690): Gtk-CRITICAL **: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed

(inkscape:11690): Gtk-CRITICAL **: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed

(inkscape:11690): Gtk-CRITICAL **: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed

(inkscape:11690): Gtk-CRITICAL **: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed

(inkscape:11690): Gtk-CRITICAL **: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed

(inkscape:11690): Gtk-CRITICAL **: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed

(inkscape:11690): Gtk-CRITICAL **: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed

(inkscape:11690): Gtk-CRITICAL **: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed

(inkscape:11690): Gtk-CRITICAL **: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed

** (inkscape:11690): WARNING **: Failed to load resource: commands-toolbar.ui

** (inkscape:11690): WARNING **: Failed to load : Failed to open file '': No such file or directory

** (inkscape:11690): WARNING **: Failed to load resource: snap-toolbar.ui

** (inkscape:11690): WARNING **: Failed to load : Failed to open file '': No such file or directory

(inkscape:11690): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

I have checked, all the above files are in place.

As for running Inkscape without installing it, I see the following in the README:

```bash
ln -s . share/inkscape
mkdir -p build/conf
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=$PWD/../ ..
make -j4
export INKSCAPE_PROFILE_DIR=$PWD/conf
./bin/inkscape
```

I presume '.' here is the same directory where the README is found, isn't it?

Hachmann (marenhachmann) said : #5

Yes, that's the one.

Probably you'd get different error messages when you don't have set the correct permissions on the files?
Can you post the file tree for the directory that you get with

tree -d ~/inkscape/install/share/inkscape/

, please?

And also try the same with absolute paths?

IMHO, the permissions are correct.

Here is the tree:

tree -d ~/inkscape/install/share/inkscape/
/home/my_user/inkscape/install/share/inkscape/
├── attributes
├── branding
├── examples
├── extensions
│   ├── alphabet_soup
│   ├── Barcode
│   ├── ink2canvas
│   ├── Poly3DObjects
│   └── xaml2svg
├── filters
├── fonts
├── gradients
├── icons
├── keys
├── markers
├── palettes
├── patterns
├── screens
├── symbols
├── templates
├── tutorials
└── ui

I have set the install dir as always, it worked for me before, with relative paths.

Hachmann (marenhachmann) said : #7

@Mc: can you help here? Do you know of a current issue with the changed ui file locations? Or of something Mihai could do to fix?

Mc (mc...) said : #8

The symptoms are the ones that we have if "make install" was not run, so I'd re-run it...

I did run make install.

Hi, I have started from scratch, getting the sources again, I have even set a fixed path to install in my home directory, avoiding paths with '~', but I have the same results.
I'll try using $PWD and, if doesn't work, the whole run without installing it procedure, this evening.

BTW, the default is a squared document called "Memory document 1".

Launchpad Janitor (janitor) said : #12

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

After pulling each day building and setting the make install prefix a full path instead of ~, it works, although it could resolve a ~ path before. Still, the default color palette is "compressed" horizontally, having a few pixels in height and I could not resize it even if I select another palette and I select back the default.

Launchpad Janitor (janitor) said : #14

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Hi, could this be fixed? Is this correct from the general application development point of view?

Mc (mc...) said : #16

IIRC, the toolbar height is a problem of the gtk3 theme putting a huge scrollbar over it

I am not sure what you mean, but 'No such file or directory' errors are the source of the problem here, as if I provide a non relative path to ~ , it works fine. I'd like to have a ~ path or relative path resolution in the code. Would this be right?

Can you help with this problem?

Provide an answer of your own, or ask Mihai Sorin Dobrescu for more information if necessary.

To post a message you must log in.