Comments (9)
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.
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: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 /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
from gitnub.
This is SL 10.6 issue, apply this fix http://github.com/Caged/gitnub/commit/b23158d8483762fb849fe477233ce6851fbf8e8d
from gitnub.
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.
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.
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.
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.
http://github.com/Caged/gitnub/issues#issue/1/comment/89294 Worked for me
from gitnub.
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)
- [Catroid] [Stakeholder Analysis] HOT 1
- Hackson_2017
- Clear List button does'n work correctly
- Warning message upon launch HOT 6
- Compiled version? HOT 1
- Application crashes on launch
- Get "uninitialized constant TexturedWindow::NSMinYEdge" when launching HOT 2
- nub script fails on os x 10.7 (lion)
- Mountain Lion Support HOT 1
- Crashes on launch (Mac OS X 10.6.8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitnub.