Inkscape won't launch in Leopard

Asked by HCD on 2008-04-02

I downloaded X-11 2.1.4 and Inkscape .46 and installed. Inkscape displays window that says: "The first time Inkscape is run, it may take a few minutes to start." When I click Okay, Inkscape vanishes and never starts.

Before I click Okay, the Inkscape icon is in the dock, after, it's gone.

X11 never displays a window.

I checked the version number for each, Inkscape is .46, the X11 version in application/utilities is 2.0.

Suggestions?

I'm running OS X 10.5.2

Question information

Language:
English Edit question
Status:
Answered
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Last query:
2008-04-02
Last reply:
2009-10-31
shownomercy (katie-sexton) said : #1

I have this exact same problem.

Running 10.5.2, downloaded the newest x-11, downloaded and installed inkscape .46. Same error msg and behavior.

dmnd (dbrand) said : #2

I have this exact problem too.

Inkscape 0.46-2 and X11 2.1.1

How can I help to solve this?

dmnd (dbrand) said : #3

OK, I got it to work. First I installed X11 2.2.0.2 from http://trac.macosforge.org/projects/xquartz

That didn't really do anything though. But then I tried launching Inkscape directly from xterm, and that seems to work. So open xterm, and run /Applications/Inkscape.app/Contents/MacOS/Inkscape

I get a few errors but it works. If this is of any use to anyone, here:

2008-05-01 22:22:48.796 defaults[66019:10b]
The domain/default pair of (kCFPreferencesAnyApplication, AppleAquaColorVariant)
 does not exist
2008-05-01 22:22:48.817 defaults[66020:10b]
The domain/default pair of (kCFPreferencesAnyApplication, AppleHighlightColor) d
oes not exist

(inkscape-bin:65982): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.

(inkscape-bin:65982): Pango-WARNING **: Error loading GDEF table 85

(inkscape-bin:65982): Pango-WARNING **: Error loading GSUB table 85

(inkscape-bin:65982): Pango-WARNING **: Error loading GPOS table 85

(inkscape-bin:65982): Pango-WARNING **: Error loading GDEF table 85

(inkscape-bin:65982): Pango-WARNING **: Error loading GSUB table 85

(inkscape-bin:65982): Pango-WARNING **: Error loading GPOS table 85

(inkscape-bin:65982): Pango-WARNING **: Error loading GDEF table 85

(inkscape-bin:65982): Pango-WARNING **: Error loading GSUB table 85

(inkscape-bin:65982): Pango-WARNING **: Error loading GPOS table 85

(inkscape-bin:65982): Pango-WARNING **: Error loading GDEF table 85

(inkscape-bin:65982): Pango-WARNING **: Error loading GSUB table 85

(inkscape-bin:65982): Pango-WARNING **: Error loading GPOS table 85

(inkscape-bin:65982): Gtk-CRITICAL **: gtk_file_system_unix_get_info: assertion
`g_path_is_absolute (filename)' failed

ocq (owenocq) said : #4

Inkscape 0.46, X11 2.2.1, Leopard 10.5.2

I have the same problem and have tried "/Applications/Inkscape.app/Contents/MacOS/Inkscape" into xterm but it just comes up with the same prompt:

"While Inkscape is open, its windows can be displayed or hidden by displaying or hiding the X11 applications.

The first time version of inkscape is run it may take several minutes before the main window is displayed while font caches are built."

then it quits...

anybody have any fixes, tips or aw-inspiring tricks?

ocq (owenocq) said : #5

OK i've got a FIX, its really easy i've just made it look hard by breaking it down into simple steps.

open the Terminal application (its in Applications/Utilities)
1. "nano /Applications/Inkscape.app/Contents/Resources/script" (paste this into a terminal window without quotes and press ENTER)
2. then press CTRL+V (scrolls down a page)

3. change the code (use the arrows keys to get to the right part) from:

"""
else
        # Leopard onwards...

        # Warn the user about time-consuming generation of fontconfig caches.
        test -d ${HOME}/.fontconfig || exit 12
"""

to:

"""
else
        # Leopard onwards...

        # Warn the user about time-consuming generation of fontconfig caches.
        test -d ${HOME}/.fontconfig
"""
4. save changes - press CTRL+O and then ENTER to confirm
5. open Inkscape, go eat some snacks (it takes a few minutes for the first time - just like the popup window said)
6. Happiness

shownomercy (katie-sexton) said : #6

ocq, awesome fix

(sorta silly bug tho haha)

groomedmonkey (groomedmonkey) said : #7

Heya OCQ,

Thanks for fix. I had the same bug report open here:
https://bugs.launchpad.net/inkscape/+bug/226355

Hope yo don't mind I posted your fix there as well to the install wiki:
http://wiki.inkscape.org/wiki/index.php/InstallHelp

tGM

Greg (greg-woods) said : #8

An easier way.

The line:
    test -d $(HOME)/.fontconfig || exit 12
is checking if the directory .fontconfig exists and if not quits.... so in terminal type
    mkdir $(HOME)/.fontconfig
or since terminal starts in your home
   mkdir .fontconfig

Vilja (vilja81) said : #9

Thanks ocq, your fix worked for me also even though I use tiger. (I removed the II exit 12 in two places.)

Hopefully this bug will be corrected though, so that future inkscape users don't have to go through the same problem?

Can you help with this problem?

Provide an answer of your own, or ask HCD for more information if necessary.

To post a message you must log in.