Code Monkey home page Code Monkey logo

Comments (9)

kch avatar kch commented on August 26, 2024

I'm not sure your issue is the same I had. A million different things can cause an app to die on launch. But, here's what got it running for me:

$ sudo /usr/bin/gem install grit

from gitnub.

foertter avatar foertter commented on August 26, 2024

thanks kch, but that fix didn't work for me :(

Here is my error

TexturedWindow#initWithContentRect_styleMask_backing_defer: NameError: uninitialized constant TexturedWindow::NSMinYEdge
/Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/objc/oc_import.rb:192:in const_missing' /Applications/GitNub.app/Contents/Resources/TexturedWindow.rb:14:ininitWithContentRect_styleMask_backing_defer'
/Applications/GitNub.app/Contents/Resources/rb_main.rb:23:in NSApplicationMain' /Applications/GitNub.app/Contents/Resources/rb_main.rb:23 /Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/objc/oc_import.rb:192:inconst_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:inNSApplicationMain'
from /Applications/GitNub.app/Contents/Resources/rb_main.rb:23

from gitnub.

cstamas avatar cstamas commented on August 26, 2024

This is SL 10.6 issue, apply this fix http://github.com/Caged/gitnub/commit/b23158d8483762fb849fe477233ce6851fbf8e8d

from gitnub.

petermumford avatar petermumford commented on August 26, 2024

I'm getting this error as well (ApplicationController#awakeFromNib: SystemStackError: stack level too deep) I've check to make sure the above link is using CGRectMinYEdge not NSMinYEdge, which it is. below this error I'm getting:

14/07/2010 14:26:11 [0x0-0xfb0fb].com.alternateidea.rubycocoa.GitNubApp[3480] /Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/objc/oc_attachments.rb:1723:in `size'

14/07/2010 14:26:11 [0x0-0xfb0fb].com.alternateidea.rubycocoa.GitNubApp[3480] /Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/objc/oc_attachments.rb:1723:in `count'

Do you have any idea why I might be getting this?

from gitnub.

bramn avatar bramn commented on August 26, 2024

I'm having the same issue I guess. Don't know where to look for the log file, but the icon pops up and instantly disappears again from the Dock. Too bad, the app looks great, better than GitX ;-)

from gitnub.

bramn avatar bramn commented on August 26, 2024

Sorry, should have read the other issues too, this one fixed it for me:
http://github.com/Caged/gitnub/issues/unreads#issue/2 :-)

from gitnub.

petermumford avatar petermumford commented on August 26, 2024

it still fails for me when I change the file in the above link. I'm still getting the same error as before. Would really like to get this working. bramn: are you running Snow Leopard (10.6.4)? I only ask because a lot of my settings changed when I upgraded!

from gitnub.

 avatar commented on August 26, 2024

http://github.com/Caged/gitnub/issues#issue/1/comment/89294 Worked for me

from gitnub.

peterhost avatar peterhost commented on August 26, 2024

the Leopard fix cstammas mentions (for those who would wonder) consists of editing the
/Applications/GitNub.app/Contents/Resources/TexturedWindow.rb file (inside the app) and replacing the line :

self.setContentBorderThickness_forEdge(44.0, NSMinYEdge)

with :
self.setContentBorderThickness_forEdge(44.0, CGRectMinYEdge)
self.registerForDraggedTypes([NSURLPboardType, NSFilenamesPboardType])

(second line is not modified in the diff (http://github.com/Caged/gitnub/commit/b23158d8483762fb849fe477233ce6851fbf8e8d), but it wasn't in the TextureWindow.rb file in the prepackaged GitNub.app either)

from gitnub.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.