gitx -c crashes: could not load "PBGitCommitView"
Reported by Ryan D Johnson | April 1st, 2009 @ 06:59 PM
gitx -c from the shell crashes. Stack trace
Present in 0.6.2 as well as current master HEAD 69838a47248bedb30b7bcafc7266523e555b96ae
gitx:master gitx $ gitx -c 2009-04-01 09:55:26.665 gitx[62283:10b] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '[NOTE: this exception originated in the server.] -[NSViewController loadView] could not load the "PBGitCommitView" nib.' 2009-04-01 09:55:26.667 gitx[62283:10b] Stack: (
2485084427, 2415971899, 2485083185, 2475728934, 2475726793, 2485107050, 2485107154, 12367
) Trace/BPT trap
Comments and changes to this ticket
gitx opens GitX.app 0.6.2
But running GitX.app gets 0.6.2 (0.6.2.7)
How could this have happened? I deleted the old GitX.app.
The gitx cli is just a symlink:
$ ls -l
which gitxlrwxr-xr-x 1 root wheel 46B Apr 1 09:29 /usr/local/bin/gitx@ -> /Applications/GitX.app/Contents/Resources/gitx
I've already done
rm -rf /Applications/GitX.app rm -rf build rake install
Are there other steps I can take to try to get back to a consistent state?
the cli just asks OS X to open the program with the 'nl.frim.gitx' identifier. I'm not sure how Cocoa finds that app, but my guess would be that it first looks in /Applications and ~/Applications for the GitX.app, and then uses the most recent one if it can't find any there.
The gitx cli is a symlink, so if it doesn't work anymore you can probably reinstall it from with GitX. The location the symlink links to does not influence the version of GitX.app that is opened.
Yeah, hmm, 'open -b nl.from.gitx' is still opening the old version, even though 'open /Applications/GitX.app' is opening the new version.
ps saves the day, look where it found it:
/var/folders/Q1/Q1s1yfTmEbCXv8a6DkxwCU+++TI/-Tmp-/GitX 0.6.1 Update/GitX.app/Contents/MacOS/GitX -psn_0_5330197
That is about the weirdest thing I've ever seen.