#47 new
Juan Falgueras

Crash at start

Reported by Juan Falgueras | 2009-11-11 10:49:54 UTC

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

  • Jason Baker

    Jason Baker 2009-11-21 06:28:42 UTC

    I'm getting the same problem. I'm running Snow Leopard.

  • Chris Corbyn

    Chris Corbyn 2009-12-12 01:07:57 UTC

    Me too, same error, Snow Leopard.

  • Chris Corbyn

    Chris Corbyn 2009-12-12 01:20:24 UTC

    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

    Ravi 2010-01-05 18:39:12 UTC

    Want to confirm that Chris' tip worked (apologies if such comments are inappropriate on tickets). Thank you Chris.

  • Hamza

    Hamza 2010-09-09 00:22:08 UTC

    • 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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Tags

Pages