Thank you for the quick response. No trouble - just like to get to the bottom of it -
On Feb 24, 2008, at 12:27 PM, jiho wrote:
Hi,
Thanks for the detailed report and sorry for the trouble. My answers below.
On 2008-February-24 , at 17:05 , Stuart Edwards wrote:
Reboot Activate Inkscape Inkscape menu appears but no windows; X11 is not activated
console messages are:
2/24/08 9:59:29 AM [0x0-0x1a01a].org.inkscape.Inkscape[224] 2008-02-24 09:59:29.816 defaults[245:10b] 2/24/08 9:59:29 AM [0x0-0x1a01a].org.inkscape.Inkscape[224] The domain/ default pair of (kCFPreferencesAnyApplication, AppleAquaColorVariant) does not exist 2/24/08 9:59:29 AM defaults[246] The domain/default pair of (kCFPreferencesAnyApplication, AppleHighlightColor) does not exist 2/24/08 9:59:30 AM [0x0-0x1a01a].org.inkscape.Inkscape[224] 2008-02-24 09:59:29.922 defaults[246:10b] 2/24/08 9:59:30 AM [0x0-0x1a01a].org.inkscape.Inkscape[224] The domain/ default pair of (kCFPreferencesAnyApplication, AppleHighlightColor) does not exist
These are known and fixed in the latest versions (but there may not be a build yet, can't remember when I did the last one). To work around it you can open System prefs, change the appearance settings and it will generate those two keys in the preferences. You can then switch back to your previous settings (but in the meantime do yourself a favor and switch to graphite and grey highlighting ;) )
Ok - now Inkscape 'opens' (still no X11 windows) but there are no console messages either.
Activate X11 (this is X11.app at /Applications/Utilities/X11.app/ Contents/MacOS/X11 ) xterm window opens
Activate Inkscape Inkscape menu appears but no X11 windows
Console messages similar with a couple of additions, then the Activity Monitor goes a little crazy: [...] 2/24/08 10:10:26 AM Activity Monitor[271] *** -[NSCFArray objectAtIndex:]: index (24) beyond bounds (24) 2/24/08 10:10:46 AM Activity Monitor[271] *** -[NSCFArray objectAtIndex:]: index (24) beyond bounds (24) 2/24/08 10:10:46 AM Activity Monitor[271] *** -[NSCFArray objectAtIndex:]: index (24) beyond bounds (24) 2/24/08 10:10:46 AM Activity Monitor[271] *** -[NSCFArray objectAtIndex:]: index (24) beyond bounds (24) etc, once per second
These I don't know about. They are Activity Monitor messages so I guess there something wrong there. Do you notice it only with Inkscape? My guess is that this is just a display problem since a process was suppressed outside of activity monitor, while it was running.
Just triggered by Inkscape -- but not happening now after changing the settings / updating X11.
Quit Inkscape and console says:
2/24/08 10:17:12 AM [0x0-0x23023].org.inkscape.Inkscape[367] Platypus App: PID 368 killed brutally 2/24/08 10:17:12 AM com.apple.launchd[84] ([0x0-0x23023].org.inkscape.Inkscape[367]) Stray process with PGID equal to this dead job: PID 368 PPID 1 inkscape-bin
this is normal behavior when you force-quit inkscape.
ok -
Quit Activity Monitor
Try to activate Inkscape and X11 several times - same results. Inkscape did actually fire up a couple of days ago, but seemed to freeze a lot on file management tasks. Unfortunately I can't recreate that today.
Strange. The unknown keypairs are just for the gtk theme, Inkscape should start without it and just use the default. No clue at this point.
strange that nothing would induce it to start today
Go back to 0.45 Activate Inkscape (X11 is open) Inkscape window opens I usually have to have X11 open in order for Inkscape to find it -- been using it this way most of the time. 'Failed to start X11' screen is presented otherwise.
0.45 or 0.45.1? 0.45.1 universal was fixed to work on leopard and according to the new behavior of X11, 0.45 was not.
you're right - 0.45
Console messages are:
2/24/08 10:22:28 AM [0x0-0x2e02e].org.inkscape.Inkscape[685] / Applications/Inkscape/Inkscape.app/Contents/Resources/script: line 17: open-x11: command not found 2/24/08 10:22:28 AM [0x0-0x2e02e].org.inkscape.Inkscape[685] Unable to find application named 'XDarwin'
↑↑ This is probably 0.45 and not 0.45.
Yes, it's 0.45
2/24/08 10:22:31 AM [0x0-0x2e02e].org.inkscape.Inkscape[685] (inkscape- bin:686): Gtk-WARNING **: Locale not supported by C library. 2/24/08 10:22:31 AM [0x0-0x2e02e].org.inkscape.Inkscape[685] Using the fallback 'C' locale.
This is OK.
Not getting this now with xquartz
2/24/08 10:22:32 AM [0x0-0x2e02e].org.inkscape.Inkscape[685] ** (inkscape-bin:686): WARNING **: Unknown verb name: FullScreen
This is just a warning but we are having it a lot. This is related to the new version of X11 but I don't know where it comes from on Inkscape's side.
Nor this
2/24/08 10:22:34 AM [0x0-0x2e02e].org.inkscape.Inkscape[685] (inkscape- bin:686): Pango-WARNING **: Error loading GDEF table 85 2/24/08 10:22:34 AM [0x0-0x2e02e].org.inkscape.Inkscape[685] (inkscape- bin:686): Pango-WARNING **: Error loading GPOS table 85 2/24/08 10:22:34 AM [0x0-0x2e02e].org.inkscape.Inkscape[685] (inkscape- bin:686): Pango-WARNING **: Error loading GSUB table 85
These are regular warnings too.
ok, but they are gone too.
This may shed some light on the X11 problem
The X11 problem is the following: on Panther+Tiger X11 must be started to run X11 applications so we started it manually in Inkscape launcher, on Leopard, X11 is automatically launched when an applications queries the DISPLAY variable (and X11 thing). So we just had to surround the code which started X11 in the launcher by an if condition ( if version is < 10.5 then start X11, else just skip it ). This has been included in all recent devel versions of Inkscape (all those compiled on Leopard at least) and has been "backported" to 0.45.1. So all those should work on Leopard.
So this definitely doesn't seem to be happening with Leopard or 0.45.1 (see below)
In the devel version the gtk theme was added and this leads to problems when the default Aqua appearance was never changed. I knew about it last week or so, and fixed it. But in any case, it should just start with an ugly theme.
So my advice:
- do the appearance thing
done
- get the lastest build for leopard. It is kind of a pre-release build
so it has many bugs squashed out, better font support and python support for extensions is included (hence the size of the download) http://inkscape.modevia.com/macosx-snap/Inkscape-17373-10.5-i386.dmg
that's what I have - but I just downloaded it again to be sure.
- get the latest X11 from Xquartz (*much* better than the default one
on Leopard, and kind of official
done - unfortunately the net result is no change as far as 0.46 is concerned. I downloaded 0.45.1 and it opens briefly, triggers X11 which opens and then Inkscape is gone. There are no Inkscape related console messages.
With those, everything should be fine. If it is not, then let us know.
JiHO
So my fall back is opening X11 manually and running 0.45 -- that seems to be reasonably stable, although some of the effects are missing because of the lack of pyxml - but never mind. It's still a great program.
Stu