Memory Document Inkscape issue

Asked by Vishal Virmani on 2018-07-02

I have built inkscape from source code ( i took 0.92.03.tar.bz2) on Lubuntu 16.04. When i run the application the application is running fine.

Subsequent to this i have tried using Eclipse Oxygen 1CDT for doing development on the application. The process which i followed is as follows

1. Took the inkscape source code (0.92.3.tar.bz2), extracted it into a folder in Downloads directory(calling it eclipseoxygensource which contains another folder inkscape.0.92.3 which contains the unzipped source code repository

2. Used CMake 3.11.4 from console to generate Eclipse solution files in a separate folder in Downloads directory ( calling it eclipseoxyegenbuild)

3. I am using Eclipse Oxygen 1 CDT, and then used Open project from File System menu in the File Option of Eclipse, pointing to the Eclipse solution generated in the previous step

4. The project gets opened in the eclipse IDE. Now i use Build option

5. Subsequent to doing the Build i, the inkscape projects gets compiled and generates the binaries in the eclipseoxyegenbuild folder

6. Now when i run the application using the Run option, the inkscape application opens up, but there are no icons associated with the application along with this the tile of the document comes as Memory document 1 - Inkscape

7.I looked back the console for some messages, i get series of warnings which i am including below

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

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

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

** (inkscape:10545): WARNING **: Unable to read keys file /share/inkscape/keys/default.xml
GtkWidget *IconImple::newFull(): lsize != trySize: lsize: 8 try Size: 7 object-visible
GtkWidget *IconImple::newFull(): lsize != trySize: lsize: 8 try Size: 7 object-hidden
GtkWidget *IconImple::newFull(): lsize != trySize: lsize: 8 try Size: 7 object-unlocked
GtkWidget *IconImple::newFull(): lsize != trySize: lsize: 8 try Size: 7 object-locked
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:10545): WARNING **: Null pixbuf for 0x24fab70 [/share/inkscape/icons/remove-color.png]

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

(inkscape:10545): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

** (inkscape:10545): WARNING **: Did not find old unit

** (inkscape:10545): WARNING **: Did not find old unit

** (inkscape:10545): WARNING **: Did not find old unit

** (inkscape:10545): WARNING **: Did not find old unit

** (inkscape:10545): WARNING **: Did not find old unit

** (inkscape:10545): WARNING **: Did not find old unit

** (inkscape:10545): CRITICAL **: void sp_lpetool_toolbox_prep(SPDesktop*, GtkActionGroup*, GObject*): assertion 'unit != NULL' failed

** (inkscape:10545): WARNING **: Did not find old unit

** (inkscape:10545): WARNING **: Did not find old unit
GtkWidget *IconImple::newFull(): lsize != trySize: lsize: 8 try Size: 7 object-unlocked
GtkWidget *IconImple::newFull(): lsize != trySize: lsize: 8 try Size: 7 transform-affect-stroke
GtkWidget *IconImple::newFull(): lsize != trySize: lsize: 8 try Size: 7 transform-affect-rounded-corners
GtkWidget *IconImple::newFull(): lsize != trySize: lsize: 8 try Size: 7 transform-affect-gradient
GtkWidget *IconImple::newFull(): lsize != trySize: lsize: 8 try Size: 7 transform-affect-pattern
GtkWidget *IconImple::newFull(): lsize != trySize: lsize: 8 try Size: 7 draw-use-pressure
GtkWidget *IconImple::newFull(): lsize != trySize: lsize: 8 try Size: 7 draw-use-pressure
GtkWidget *IconImple::newFull(): lsize != trySize: lsize: 8 try Size: 7 draw-use-pressure
GtkWidget *IconImple::newFull(): lsize != trySize: lsize: 8 try Size: 7 draw-use-pressure

** (inkscape:10545): CRITICAL **: void sp_rtb_value_changed(GtkAdjustment*, GObject*, const gchar*, void (SPRect::*)(gdouble)): assertion 'unit != NULL' failed

** (inkscape:10545): CRITICAL **: void sp_rtb_value_changed(GtkAdjustment*, GObject*, const gchar*, void (SPRect::*)(gdouble)): assertion 'unit != NULL' failed

** (inkscape:10545): CRITICAL **: void sp_rtb_value_changed(GtkAdjustment*, GObject*, const gchar*, void (SPRect::*)(gdouble)): assertion 'unit != NULL' failed

** (inkscape:10545): CRITICAL **: void sp_rtb_value_changed(GtkAdjustment*, GObject*, const gchar*, void (SPRect::*)(gdouble)): assertion 'unit != NULL' failed

** (inkscape:10545): CRITICAL **: void sp_rtb_value_changed(GtkAdjustment*, GObject*, const gchar*, void (SPRect::*)(gdouble)): assertion 'unit != NULL' failed

** (inkscape:10545): CRITICAL **: void sp_rtb_value_changed(GtkAdjustment*, GObject*, const gchar*, void (SPRect::*)(gdouble)): assertion 'unit != NULL' failed

** (inkscape:10545): CRITICAL **: void sp_rtb_value_changed(GtkAdjustment*, GObject*, const gchar*, void (SPRect::*)(gdouble)): assertion 'unit != NULL' failed

** (inkscape:10545): CRITICAL **: void sp_rtb_value_changed(GtkAdjustment*, GObject*, const gchar*, void (SPRect::*)(gdouble)): assertion 'unit != NULL' failed
GtkWidget *IconImple::newFull(): lsize != trySize: lsize: 8 try Size: 7 perspective-parallel
GtkWidget *IconImple::newFull(): lsize != trySize: lsize: 8 try Size: 7 perspective-parallel
GtkWidget *IconImple::newFull(): lsize != trySize: lsize: 8 try Size: 7 perspective-parallel
GtkWidget *IconImple::newFull(): lsize != trySize: lsize: 8 try Size: 7 draw-use-pressure
GtkWidget *IconImple::newFull(): lsize != trySize: lsize: 8 try Size: 7 draw-trace-background
GtkWidget *IconImple::newFull(): lsize != trySize: lsize: 8 try Size: 7 draw-use-tilt

** (inkscape:10545): CRITICAL **: void paintbucket_offset_changed(GtkAdjustment*, GObject*): assertion 'unit != NULL' failed

** (inkscape:10545): CRITICAL **: void paintbucket_offset_changed(GtkAdjustment*, GObject*): assertion 'unit != NULL' failed

** (inkscape:10545): CRITICAL **: void sp_text_lineheight_value_changed(GtkAdjustment*, GObject*): assertion 'unit != NULL' failed

(inkscape:10545): Gtk-WARNING **: LPEToolModeAction: missing action LPEToolModeAction

(inkscape:10545): Gtk-WARNING **: LPEShowBBoxAction: missing action LPEShowBBoxAction

(inkscape:10545): Gtk-WARNING **: LPEBBoxFromSelectionAction: missing action LPEBBoxFromSelectionAction

(inkscape:10545): Gtk-WARNING **: LPELineSegmentAction: missing action LPELineSegmentAction

(inkscape:10545): Gtk-WARNING **: LPEMeasuringAction: missing action LPEMeasuringAction

(inkscape:10545): Gtk-WARNING **: LPEToolUnitsAction: missing action LPEToolUnitsAction

(inkscape:10545): Gtk-WARNING **: LPEOpenLPEDialogAction: missing action LPEOpenLPEDialogAction
GtkWidget *IconImple::newFull(): lsize != trySize: lsize: 8 try Size: 7 object-unlocked
GtkWidget *IconImple::newFull(): lsize != trySize: lsize: 8 try Size: 7 connector-orthogonal
GtkWidget *IconImple::newFull(): lsize != trySize: lsize: 8 try Size: 7 distribute-graph-directed
GtkWidget *IconImple::newFull(): lsize != trySize: lsize: 8 try Size: 7 distribute-remove-overlaps

8. Now when i click the preferences submenu of the Edit option in the inkscape application it says that inkscape encountered an internal error and will close now

I see that in eclipseoxuyegenbuilkd folder there is inkcape.desktop file which when i double click or execute the inkscape application opens with all the associated icons, but there is another folder by the name bin . In this bin there is inkscape and inkview executable.

When i execute inkscape directly from here i get the same view of the inkscape application with no icons and the Preferences option of the Edit menu of Inkscape application shutting down the application with the same message that inkscape has encountered an internal error and will close now

I need direction to sought out these issues

What should i do....?

Question information

Language:
English Edit question
Status:
Expired
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Last query:
2018-07-04
Last reply:
2018-07-20
Mc (mc...) said : #1

You have to run "make install" after building to actually launch Inkscape

Vishal Virmani (vvishal) said : #3

I followed the instruction you mentioned. But when i do make install i get following errors

Install the project...
-- Install Configuration: "Release"
-- Installing: /usr/local/share/man/man1/inkscape.1
CMake Error at cmake_install.cmake:49 (file):
   file INSTALL cannot copy file
  "/home/vishal/Downloads/codeblocks2build/man/inkscape.1" to
 "/usr/local/share/man/man1/inkscape.1"

Makefile:61: recipe for target 'install' failed
make: *** [Install] Error 1

vishal@vishal-VirtualBox:~/Downloads/codeblocks2build$

Following this i ran sudo make install, this ran the entire procedure and installed the changed inkscape application

Now when i ran the inkscape, i found that the icons are missing and same behaviour is reflected upon clicking the Preferences menu options from the Edit menu of the inkscape application

So the original installation of inkscape where i was having all the icons and correct behavior of the application got replaced with this one

What should i do now....

Mc (mc...) said : #4

When you run cmake, make sure to give it a custom prefix with -DCMAKE_INSTALL_PREFIX=/home/me/whatever
as for "what to do now", uninstall and reinstall the system's inkscape

Vishal Virmani (vvishal) said : #5

I took a fresh vm having Lubuntu 16.04

I followed these steps

1. Downloaded the inkscape source code (0.92.3.tar.gz)

2. Installed all the build dependencies required for building inkscape from source which are in the follwoing order

    a) sudo add-apt-repository ppa:inkscape.dev/trunk

    b) sudo vim /etc/apt/sources.list.d/inkscape_dev-ubuntu-trunk-zesty.list

    c) Uncommented the # mark

    d) sudo apt update

    e) sudo apt build-dep inkscape-trunk

3. Subsequent to this i entered into inkscape source code folder, where in i created a build directory

4. Inside build directory ran the following command

      sudo cmake ..

     Post this i came across a dependency problem which stated that libgtkmm-2.4 was missing

     I ran

    sudo apt-get install libgtkmm-2.4-dev

5. Re ran the sudo cmake .. from the build directory

    The CMakeCache.txt got built correctly

6. Next i ran sudo make, which did all the compilation correctly

7. I did sudo make install

 I checked that there are following folders created

    /usr/local/lib/ikscape --------------> This is having libinkscape_base.so and associated libraries
   /usr/local/share/inkscape ----------------> This is having several folders like attribute, fonts, ui etc
   /usr/local/bin ---------------------> This is having inkscape and inkview

  So i suppose so far correct installations were done

But when i ran inkscape , ii opens with the same document ie Memory document - Inkscape

Am i missing anything here ...

Launchpad Janitor (janitor) said : #6

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