Crash at start
Reported by Juan Falgueras | November 11th, 2009 @ 10:49 AM
Finder opening doesn't work…
Opening in Terminal
$ pwd /Applications/GitNub.app/Contents/MacOS $ GitNub
2009-11-11 19:44:48.102 GitNub[9112:903]
TexturedWindow#initWithContentRect_styleMask_backing_defer:
NameError: uninitialized constant
TexturedWindow::NSMinYEdge
/System/Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/objc/oc_import.rb:192:in `const_missing'
/Applications/GitNub.app/Contents/Resources/TexturedWindow.rb:14:in `initWithContentRect_styleMask_backing_defer'
/Applications/GitNub.app/Contents/Resources/rb_main.rb:23:in `NSApplicationMain'
/Applications/GitNub.app/Contents/Resources/rb_main.rb:23
/System/Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/objc/oc_import.rb:192:in
const_missing': uninitialized constant
TexturedWindow::NSMinYEdge (NameError)
from /Applications/GitNub.app/Contents/Resources/TexturedWindow.rb:14:in `initWithContentRect_styleMask_backing_defer'
from /Applications/GitNub.app/Contents/Resources/rb_main.rb:23:in `NSApplicationMain'
from /Applications/GitNub.app/Contents/Resources/rb_main.rb:23
Comments and changes to this ticket
-
Chris Corbyn December 12th, 2009 @ 01:20 AM
If any of you guys are still awaiting a fix, you can fix it yourself in the meantime by editing a file in the Resources directory. I patched 0.9.1 based on this commit:
http://github.com/Caged/gitnub/commit/b23158d8483762fb849fe477233ce...
Open: /Applications/GitNub.app/Contents/Resources/TexturedWindow.rb
(It's only 18 lines long) Find: self.setContentBorderThickness_forEdge(44.0, NSMinYEdge)
Replace: self.setContentBorderThickness_forEdge(44.0, CGRectMinYEdge)Done.
-
Ravi January 5th, 2010 @ 06:39 PM
Want to confirm that Chris' tip worked (apologies if such comments are inappropriate on tickets). Thank you Chris.
-
Hamza September 9th, 2010 @ 12:22 AM
- Milestone order changed from 0 to 0
This fix worked for me with version 9.1 under Snow leopard. It was refusing to load up before.
Thanks.
Hamza
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป