Re: [Inkscape-devel] [Inkscape-user] 0.46, 0.45 startup problems on Leopard
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
Hi again,
On 2008-February-24 , at 22:40 , Stuart Edwards wrote:
On Feb 24, 2008, at 12:27 PM, jiho wrote:
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- [...] (inkscape- bin:686): Pango-WARNING **: Error loading GSUB table 85
These are regular warnings too.
ok, but they are gone too.
Glad to know these warnings are gone. But actually this makes me think there's an other problem. Indeed, they should be there actually... read on.
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)
It does work and has worked on several systems already so that makes me think the problem is elsewhere.
[...]
- 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.
What log are you watching? By default when you open Console.app on Leopard you're on a sort of table view in which messages come in from several places. Just switch to LOG FILES > System log in the side bar. Here's what I get when I start Inkscape devel (latest on modevia), with X11 not yet running, on OS X 10.5.2, Xquartz 2.1.4. I've inserted markers where appropriate:
Monday, 2008 February 25 00:07:09,652Europe/Paris ---->
Starting Inkscape Feb 25 00:07:13 jiho-ibook [0x0-0x388388].org.inkscape.Inkscape[15189]: (inkscape-bin:15190): Gtk- WARNING **: Locale not supported by C library. Feb 25 00:07:13 jiho-ibook [0x0-0x388388].org.inkscape.Inkscape[15189]: Using the fallback 'C' locale. Feb 25 00:07:13 jiho-ibook org.x.X11[15224]: xauth: creating new authority file /Users/jiho/.serverauth.15224 Feb 25 00:07:13 jiho-ibook org.x.X11[15224]: xinit: Detected Xquartz startup, setting file=X, argv[0]=/Applications/Utilities/X11.app/ Contents/MacOS/X11 Feb 25 00:07:13 jiho-ibook org.x.X11[15224]: XQuartz starting: Feb 25 00:07:13 jiho-ibook org.x.X11[15224]: X.org Release 7.2 Feb 25 00:07:13 jiho-ibook org.x.X11[15224]: X.Org X Server 1.3.0- apple10 Feb 25 00:07:13 jiho-ibook org.x.X11[15224]: Build Date: 20080213 Feb 25 00:07:13 jiho-ibook org.x.X11[15224]: TransformProcessType: Success Feb 25 00:07:13 jiho-ibook org.x.X11[15224]: Xquartz: run by launchd for fd 0
Monday, 2008 February 25 00:07:23,286Europe/Paris --->
Inkscape window appears Feb 25 00:07:14 jiho-ibook [0x0-0x388388].org.inkscape.Inkscape[15189]: (inkscape-bin:15190): Pango-WARNING **: Error loading GDEF table 28333 Feb 25 00:07:14 jiho-ibook [0x0-0x388388].org.inkscape.Inkscape[15189]: (inkscape-bin:15190): Pango-WARNING **: Error loading GSUB table 28333 Feb 25 00:07:14 jiho-ibook [0x0-0x388388].org.inkscape.Inkscape[15189]: (inkscape-bin:15190): Pango-WARNING **: Error loading GPOS table 28333 Feb 25 00:07:17 jiho-ibook [0x0-0x388388].org.inkscape.Inkscape[15189]: (inkscape-bin:15190): Pango-WARNING **: Error loading GDEF table 28333 Feb 25 00:07:17 jiho-ibook [0x0-0x388388].org.inkscape.Inkscape[15189]: (inkscape-bin:15190): Pango-WARNING **: Error loading GSUB table 28333 Feb 25 00:07:17 jiho-ibook [0x0-0x388388].org.inkscape.Inkscape[15189]: (inkscape-bin:15190): Pango-WARNING **: Error loading GPOS table 28333 Feb 25 00:07:34 jiho-ibook org.x.X11[15224]: rlCopy.c:59: null pointer
Monday, 2008 February 25 00:08:07,286Europe/Paris --->
Quitting X11 Feb 25 00:08:23: --- last message repeated 1 time --- Feb 25 00:08:11 jiho-ibook org.x.X11[15224]: Quitting XQuartz... Feb 25 00:08:11 jiho-ibook org.x.X11[15224]: xinit: connection to X server lost.
The locale issue has been here for ever, I guess it's something in our starting script but it is harmless. Then come messages from Xquartz The Pango errors take some tim to appear and are, in my experience, associated at least in part with the use of Lucida Grande as Inkscape's UI font. Once again, the font is still displayed fine. This is harmless Then again messages from Xquartz when quitting.
So basically, if you get any of these messages, don't worry, it's the normal behavior (not perfect but it works).
We'll try something else now: do you have any custom templates or the like in ~/.inkscape? Could you try moving away those and your preferences. In aTerminal: mkdir -p inkscape-bkp mv ~/.inkscape* inkscape-bkp Then start Inkscape. To put them back in place: mv inkscape-bkp/.ink* ~ rmdir inkscape-bkp If this is indeed the problem, please try to find which file causes it (by moving back only part of your customizations. Are comfortable enough with a terminal?) and then submit a bug report with it on Launchpad.
From: rygle <pittos@...1208...> Jiho (and others),
If any of these issues are common enough, can you please contribute some wisdom to the http://wiki.inkscape.org/wiki/index.php/InstallHelp InstallHelp section on the wiki?
I'm not a Mac user, but after some frustration helping my brother install decided I could make a meaningful contribution for Mac users that could help them navigate the X11 version nightmare. But this stuff I have no idea about.
Well I would if I could. These different versions of X11 are a mess. The bug reports open on this are usually still lacking information while precise steps were given. I've never had a single problem with it so I don't have first hand experience. The information currently in the wiki is excellent IMHO. You did a great job. And if everyone followed these I think we would have had much less bug reports in the Panther-Tiger transition. As for Leopard, I personally use Xquartz but would not recommend it to people unless they have problems (like Stuart here). As usual: "Don't fix what ain't broken". The update Apple shipped with 10.5.2 should have improved the matter enough anyway.
Cheers,
JiHO --- http://jo.irisson.free.fr/
Hi -
Mixed success. Still no joy with 0.46, but 0.45.1 is starting up properly now.
See notes below.
A related question -- when I moved the .inkscape files, I had a quick look in them and one is a console log titled 'extensions-errors.log' and it is essentially a list of extensions that have failed to load because of missing dependencies. These are all the Input / Output extensions such as DXF Input, Output, EPS Input, Output etc. and the deps are things like dxf2svg and pstoedit. I actually have pstoedit but the message says 'must be installed to run'. I was trying to use the DXF output function when things got so messed up last week. So the question is - are these deps included in the OSX binaries or do they need to be installed independently?
Here's the notes from my attempts this morning. Looks like one problem may be not being in Paris -- have to see how that could be remedied!
Stu
switched to 'system.log' from 'Console Messages' Activated 0.46 No Inkscape related console messages; Inkscape 'startup' lacks X11
Ran command line routine to move .inkscape out of the way Activated 0.46 Ah ha! -- New screen 'Inkscape on Mac OS X' with X11 hide and delay advise/warning X11 is open ....... an hour + later, still no sign of an Inkscape window - no console messages announcing the startup of Inkscape - nothing in the activity monitor that looks like Inkscape But Inkscape apparently still thinks it's running - it shows up in the list of running apps (command - tab), but can't be made active. Hmm. It's going to be hard to shut it down. Go to force quit. 'Inkscape not responding'. Force quit Finally, something on the console Feb 25 10:56:43 sesmacpro /usr/sbin/spindump[8781]: process 8134 is being monitored Feb 25 10:56:46 sesmacpro /usr/sbin/spindump[8781]: process 8134 is being force quit Feb 25 10:56:49 sesmacpro com.apple.launchd[149] ([0x0-0x91091].org.inkscape.Inkscape[8134]): Stray process with PGID equal to this dead job: PID 8187 PPID 1 inkscape-bin Feb 25 10:56:49 sesmacpro com.apple.launchd[149] ([0x0-0x91091].org.inkscape.Inkscape[8134]): Exited: Terminated
Quit X11 Reactivate 0.46 Inkscape opens, but no X11
Redo moving .inkscape Noticed an X11 process in the Activity Monitor, but not showing on the active apps bar. Kill X11 at command line (kill 1234) 'No such process'. Double click 1234 in Activity Monitor click 'sample' 'sample cannot examine process 1234 because the process does not exist' reboot X11 ghost is gone
Activate 0.46 hide window/delay warning Inkscape opens, no X11 Inkscape 'not responding' in 'Force Quit ' after ~ 1min. No console messages. Force quit Inkscape Console shows it terminated
But .... the good news is that 0.45.1 now fires up - even starts X11 automatically. Progress.
On Feb 24, 2008, at 7:05 PM, jiho wrote:
Hi again,
On 2008-February-24 , at 22:40 , Stuart Edwards wrote:
On Feb 24, 2008, at 12:27 PM, jiho wrote:
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- [...] (inkscape- bin:686): Pango-WARNING **: Error loading GSUB table 85
These are regular warnings too.
ok, but they are gone too.
Glad to know these warnings are gone. But actually this makes me think there's an other problem. Indeed, they should be there actually... read on.
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)
It does work and has worked on several systems already so that makes me think the problem is elsewhere.
[...]
- 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.
What log are you watching? By default when you open Console.app on Leopard you're on a sort of table view in which messages come in from several places. Just switch to LOG FILES > System log in the side bar. Here's what I get when I start Inkscape devel (latest on modevia), with X11 not yet running, on OS X 10.5.2, Xquartz 2.1.4. I've inserted markers where appropriate:
> Monday, 2008 February 25 00:07:09,652Europe/Paris ---->
Starting Inkscape Feb 25 00:07:13 jiho-ibook [0x0-0x388388].org.inkscape.Inkscape[15189]: (inkscape-bin:15190): Gtk-WARNING **: Locale not supported by C library. Feb 25 00:07:13 jiho-ibook [0x0-0x388388].org.inkscape.Inkscape[15189]: Using the fallback 'C' locale. Feb 25 00:07:13 jiho-ibook org.x.X11[15224]: xauth: creating new authority file /Users/jiho/.serverauth.15224 Feb 25 00:07:13 jiho-ibook org.x.X11[15224]: xinit: Detected Xquartz startup, setting file=X, argv[0]=/Applications/Utilities/X11.app/ Contents/MacOS/X11 Feb 25 00:07:13 jiho-ibook org.x.X11[15224]: XQuartz starting: Feb 25 00:07:13 jiho-ibook org.x.X11[15224]: X.org Release 7.2 Feb 25 00:07:13 jiho-ibook org.x.X11[15224]: X.Org X Server 1.3.0- apple10 Feb 25 00:07:13 jiho-ibook org.x.X11[15224]: Build Date: 20080213 Feb 25 00:07:13 jiho-ibook org.x.X11[15224]: TransformProcessType: Success Feb 25 00:07:13 jiho-ibook org.x.X11[15224]: Xquartz: run by launchd for fd 0
> Monday, 2008 February 25 00:07:23,286Europe/Paris --->
Inkscape window appears Feb 25 00:07:14 jiho-ibook [0x0-0x388388].org.inkscape.Inkscape[15189]: (inkscape-bin:15190): Pango-WARNING **: Error loading GDEF table 28333 Feb 25 00:07:14 jiho-ibook [0x0-0x388388].org.inkscape.Inkscape[15189]: (inkscape-bin:15190): Pango-WARNING **: Error loading GSUB table 28333 Feb 25 00:07:14 jiho-ibook [0x0-0x388388].org.inkscape.Inkscape[15189]: (inkscape-bin:15190): Pango-WARNING **: Error loading GPOS table 28333 Feb 25 00:07:17 jiho-ibook [0x0-0x388388].org.inkscape.Inkscape[15189]: (inkscape-bin:15190): Pango-WARNING **: Error loading GDEF table 28333 Feb 25 00:07:17 jiho-ibook [0x0-0x388388].org.inkscape.Inkscape[15189]: (inkscape-bin:15190): Pango-WARNING **: Error loading GSUB table 28333 Feb 25 00:07:17 jiho-ibook [0x0-0x388388].org.inkscape.Inkscape[15189]: (inkscape-bin:15190): Pango-WARNING **: Error loading GPOS table 28333 Feb 25 00:07:34 jiho-ibook org.x.X11[15224]: rlCopy.c:59: null pointer
> Monday, 2008 February 25 00:08:07,286Europe/Paris --->
Quitting X11 Feb 25 00:08:23: --- last message repeated 1 time --- Feb 25 00:08:11 jiho-ibook org.x.X11[15224]: Quitting XQuartz... Feb 25 00:08:11 jiho-ibook org.x.X11[15224]: xinit: connection to X server lost.
The locale issue has been here for ever, I guess it's something in our starting script but it is harmless. Then come messages from Xquartz The Pango errors take some tim to appear and are, in my experience, associated at least in part with the use of Lucida Grande as Inkscape's UI font. Once again, the font is still displayed fine. This is harmless Then again messages from Xquartz when quitting.
So basically, if you get any of these messages, don't worry, it's the normal behavior (not perfect but it works).
We'll try something else now: do you have any custom templates or the like in ~/.inkscape? Could you try moving away those and your preferences. In aTerminal: mkdir -p inkscape-bkp mv ~/.inkscape* inkscape-bkp Then start Inkscape. To put them back in place: mv inkscape-bkp/.ink* ~ rmdir inkscape-bkp If this is indeed the problem, please try to find which file causes it (by moving back only part of your customizations. Are comfortable enough with a terminal?) and then submit a bug report with it on Launchpad.
From: rygle <pittos@...1208...> Jiho (and others),
If any of these issues are common enough, can you please contribute some wisdom to the http://wiki.inkscape.org/wiki/index.php/InstallHelp InstallHelp section on the wiki?
I'm not a Mac user, but after some frustration helping my brother install decided I could make a meaningful contribution for Mac users that could help them navigate the X11 version nightmare. But this stuff I have no idea about.
Well I would if I could. These different versions of X11 are a mess. The bug reports open on this are usually still lacking information while precise steps were given. I've never had a single problem with it so I don't have first hand experience. The information currently in the wiki is excellent IMHO. You did a great job. And if everyone followed these I think we would have had much less bug reports in the Panther-Tiger transition. As for Leopard, I personally use Xquartz but would not recommend it to people unless they have problems (like Stuart here). As usual: "Don't fix what ain't broken". The update Apple shipped with 10.5.2 should have improved the matter enough anyway.
Cheers,
JiHO
Hi -
Thanks Jiho for the advice - this is more of a follow up fyi than request for help -
The problem definitely seems to be an X11 issue rather than Inkscape. I set up a new user and 0.46 runs just fine using Inkscape and X11 from the same Applications directory, so the problem must be in my normal user settings or files somewhere. I found the following for anyone having problems with X11 startup at: http://lists.apple.com/archives/X11-users/2007/Nov/msg00498.html and specifically a short routine to check all the user controlled set up files (.rc, .profile etc) for incorrect DISPLAY settings:
$ grep DISPLAY ~/.*rc ~/.login ~/.*profile ~/.MacOSX/environment.plist 2>/dev/null $ grep -r DISPLAY /opt/local/etc /sw/etc /etc 2>/dev/null
In my case this came up with the ~/.profile file that included a line :
export DISPLAY=:0.0
and when I ran
"echo $DISPLAY" the result was
:0.0
Apparently this is a bad thing and what causes the problem - a common issue, and the offending line in ~/.profile should be deleted
Then after running Inkscape you will find that running
"echo $DISPLAY" will produce
/tmp/launch-LGD5sz/:0
or something similar in format.
So now 0.46 runs in the new user and 045.1 starts reliably in my old user - still no 0.46 in the old user yet -- need to keep hunting for the culprit! Any ideas?
Stu
On Feb 24, 2008, at 7:05 PM, jiho wrote:
Hi again,
On 2008-February-24 , at 22:40 , Stuart Edwards wrote:
On Feb 24, 2008, at 12:27 PM, jiho wrote:
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- [...] (inkscape- bin:686): Pango-WARNING **: Error loading GSUB table 85
These are regular warnings too.
ok, but they are gone too.
Glad to know these warnings are gone. But actually this makes me think there's an other problem. Indeed, they should be there actually... read on.
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)
It does work and has worked on several systems already so that makes me think the problem is elsewhere.
[...]
- 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.
What log are you watching? By default when you open Console.app on Leopard you're on a sort of table view in which messages come in from several places. Just switch to LOG FILES > System log in the side bar. Here's what I get when I start Inkscape devel (latest on modevia), with X11 not yet running, on OS X 10.5.2, Xquartz 2.1.4. I've inserted markers where appropriate:
> Monday, 2008 February 25 00:07:09,652Europe/Paris ---->
Starting Inkscape Feb 25 00:07:13 jiho-ibook [0x0-0x388388].org.inkscape.Inkscape[15189]: (inkscape-bin:15190): Gtk-WARNING **: Locale not supported by C library. Feb 25 00:07:13 jiho-ibook [0x0-0x388388].org.inkscape.Inkscape[15189]: Using the fallback 'C' locale. Feb 25 00:07:13 jiho-ibook org.x.X11[15224]: xauth: creating new authority file /Users/jiho/.serverauth.15224 Feb 25 00:07:13 jiho-ibook org.x.X11[15224]: xinit: Detected Xquartz startup, setting file=X, argv[0]=/Applications/Utilities/X11.app/ Contents/MacOS/X11 Feb 25 00:07:13 jiho-ibook org.x.X11[15224]: XQuartz starting: Feb 25 00:07:13 jiho-ibook org.x.X11[15224]: X.org Release 7.2 Feb 25 00:07:13 jiho-ibook org.x.X11[15224]: X.Org X Server 1.3.0- apple10 Feb 25 00:07:13 jiho-ibook org.x.X11[15224]: Build Date: 20080213 Feb 25 00:07:13 jiho-ibook org.x.X11[15224]: TransformProcessType: Success Feb 25 00:07:13 jiho-ibook org.x.X11[15224]: Xquartz: run by launchd for fd 0
> Monday, 2008 February 25 00:07:23,286Europe/Paris --->
Inkscape window appears Feb 25 00:07:14 jiho-ibook [0x0-0x388388].org.inkscape.Inkscape[15189]: (inkscape-bin:15190): Pango-WARNING **: Error loading GDEF table 28333 Feb 25 00:07:14 jiho-ibook [0x0-0x388388].org.inkscape.Inkscape[15189]: (inkscape-bin:15190): Pango-WARNING **: Error loading GSUB table 28333 Feb 25 00:07:14 jiho-ibook [0x0-0x388388].org.inkscape.Inkscape[15189]: (inkscape-bin:15190): Pango-WARNING **: Error loading GPOS table 28333 Feb 25 00:07:17 jiho-ibook [0x0-0x388388].org.inkscape.Inkscape[15189]: (inkscape-bin:15190): Pango-WARNING **: Error loading GDEF table 28333 Feb 25 00:07:17 jiho-ibook [0x0-0x388388].org.inkscape.Inkscape[15189]: (inkscape-bin:15190): Pango-WARNING **: Error loading GSUB table 28333 Feb 25 00:07:17 jiho-ibook [0x0-0x388388].org.inkscape.Inkscape[15189]: (inkscape-bin:15190): Pango-WARNING **: Error loading GPOS table 28333 Feb 25 00:07:34 jiho-ibook org.x.X11[15224]: rlCopy.c:59: null pointer
> Monday, 2008 February 25 00:08:07,286Europe/Paris --->
Quitting X11 Feb 25 00:08:23: --- last message repeated 1 time --- Feb 25 00:08:11 jiho-ibook org.x.X11[15224]: Quitting XQuartz... Feb 25 00:08:11 jiho-ibook org.x.X11[15224]: xinit: connection to X server lost.
The locale issue has been here for ever, I guess it's something in our starting script but it is harmless. Then come messages from Xquartz The Pango errors take some tim to appear and are, in my experience, associated at least in part with the use of Lucida Grande as Inkscape's UI font. Once again, the font is still displayed fine. This is harmless Then again messages from Xquartz when quitting.
So basically, if you get any of these messages, don't worry, it's the normal behavior (not perfect but it works).
We'll try something else now: do you have any custom templates or the like in ~/.inkscape? Could you try moving away those and your preferences. In aTerminal: mkdir -p inkscape-bkp mv ~/.inkscape* inkscape-bkp Then start Inkscape. To put them back in place: mv inkscape-bkp/.ink* ~ rmdir inkscape-bkp If this is indeed the problem, please try to find which file causes it (by moving back only part of your customizations. Are comfortable enough with a terminal?) and then submit a bug report with it on Launchpad.
From: rygle <pittos@...1208...> Jiho (and others),
If any of these issues are common enough, can you please contribute some wisdom to the http://wiki.inkscape.org/wiki/index.php/InstallHelp InstallHelp section on the wiki?
I'm not a Mac user, but after some frustration helping my brother install decided I could make a meaningful contribution for Mac users that could help them navigate the X11 version nightmare. But this stuff I have no idea about.
Well I would if I could. These different versions of X11 are a mess. The bug reports open on this are usually still lacking information while precise steps were given. I've never had a single problem with it so I don't have first hand experience. The information currently in the wiki is excellent IMHO. You did a great job. And if everyone followed these I think we would have had much less bug reports in the Panther-Tiger transition. As for Leopard, I personally use Xquartz but would not recommend it to people unless they have problems (like Stuart here). As usual: "Don't fix what ain't broken". The update Apple shipped with 10.5.2 should have improved the matter enough anyway.
Cheers,
JiHO
participants (2)
-
jiho
-
Stuart Edwards