Many icons missing

Bug #1218578 reported by Karl Mochel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned

Bug Description

OS X, Mountain Lion, X-Quartz 2.7.4

See attached image.

Terminal output:
(Canopy 32bit) SFO1212396291M:bin 212316291$ ./inkscape
Setting Language: en_US.UTF-8
/Users/212316291/.inkscape-etc/gtkrc:56: Clearlooks configuration option "menuitemstyle" is not supported and will be ignored.
/Users/212316291/.inkscape-etc/gtkrc:57: Clearlooks configuration option "listviewitemstyle" is not supported and will be ignored.
/Users/212316291/.inkscape-etc/gtkrc:58: Clearlooks configuration option "progressbarstyle" is not supported and will be ignored.

** (inkscape-bin:762): CRITICAL **: Inkscape::XML::Document* sp_repr_read_file(const gchar*, const gchar*): assertion `Inkscape::IO::file_test( filename, G_FILE_TEST_EXISTS )' failed

** (inkscape-bin:762): WARNING **: Unable to read keys file Contents/Resources/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-bin:762): WARNING **: Null pixbuf for 0x41e0ec0 [Contents/Resources/icons/remove-color.png]

(inkscape-bin:762): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(inkscape-bin:762): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(inkscape-bin:762): Gtk-WARNING **: Could not find the icon 'object-visible'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
 http://icon-theme.freedesktop.org/releases

** (inkscape-bin:762): WARNING **: Could not open units file 'Contents/Resources/ui/units.txt': No such file or directory

** (inkscape-bin:762): WARNING **: * INKSCAPE_DATADIR is: '/Users/mjwybrow/tmp/inkscape-0.48.2/packaging/macosx/../../Build/share'

** (inkscape-bin:762): WARNING **: * INKSCAPE_UIDIR is: 'Contents/Resources/ui'

** (inkscape-bin:762): WARNING **: Could not open units file 'Contents/Resources/ui/units.txt': No such file or directory

** (inkscape-bin:762): WARNING **: * INKSCAPE_DATADIR is: '/Users/mjwybrow/tmp/inkscape-0.48.2/packaging/macosx/../../Build/share'

** (inkscape-bin:762): WARNING **: * INKSCAPE_UIDIR is: 'Contents/Resources/ui'

** (inkscape-bin:762): WARNING **: Could not open units file 'Contents/Resources/ui/units.txt': No such file or directory

** (inkscape-bin:762): WARNING **: * INKSCAPE_DATADIR is: '/Users/mjwybrow/tmp/inkscape-0.48.2/packaging/macosx/../../Build/share'

** (inkscape-bin:762): WARNING **: * INKSCAPE_UIDIR is: 'Contents/Resources/ui'

(inkscape-bin:762): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(inkscape-bin:762): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(inkscape-bin:762): Gtk-WARNING **: Attempting to store changes into `/Users/212316291/.local/share/recently-used.xbel', but failed: Failed to create file '/Users/212316291/.local/share/recently-used.xbel.HPYB2W': No such file or directory

(inkscape-bin:762): Gtk-WARNING **: Attempting to set the permissions of `/Users/212316291/.local/share/recently-used.xbel', but failed: No such file or directory

Tags: cli osx packaging
Revision history for this message
Karl Mochel (kalmdown) wrote :
Revision history for this message
su_v (suv-lp) wrote :

You appear to treat the bundled OS X application Inkscape.app (0.48.2) as if it is a regular linux command line application - which it is not (nor does it claim to be).

> Terminal output:
> (Canopy 32bit) SFO1212396291M:bin 212316291$ ./inkscape

You cannot launch inkscape from inside the OS X application bundle on the command line like this. The best way if you really have to use the pre-compiled Inkscape.app from the command line (or in a shell script) is to launch the outer shell script wrapper, and always use absolute paths for any files referenced as command line arguments (input as well as output). Only thus inkscape-bin can find all the required resource files stored inside the application bundle (because the two outer wrapper shell scripts set up the environment).

Example:
$ /Applications/Inkscape.app/Contents/Resources/script -f /path/to/drawing.svg --export-png=/path/to/export/drawing.png

Revision history for this message
su_v (suv-lp) wrote :

Proposing to link as duplicate to
- Bug #181639 "Command-line invocation on Mac OSX partially broken”
  <https://bugs.launchpad.net/inkscape/+bug/181639>

(Some of the details may have changed since bug #181639 was filed, but the underlying difficulties are still the same: the current available OS X package (Inkscape 0.48.2) still depends on relative paths to find resources and linked shared libraries, and on a set of shell scripts which define the proper environment for the inkscape binary inside the self-contained and fully relocatable OS X application)

tags: added: cli osx packaging
Revision history for this message
su_v (suv-lp) wrote :

Closing - no feedback by the reporter on whether Inkscape.app was able to load the shared resources (icons, etc) correctly if following the provided instructions, or whether the problem still persisted.

Changed in inkscape:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.