Launching GitNub?
Reported by Adam Schilling | August 22nd, 2008 @ 12:51 AM
Hi,
Really looking forward to using GitNub!
I've installed the latest release (0.9.1) along with RubyCocoa (0.13.2), but can't seem to launch GitNub from the git directory (resembles: /Volumes/directory/directory
).
When I cd
to the git directory and run nub
, nothing happens.
If I launch nub
from any other directory, all is well - GitNub launches, but is blank (as expected). I'm a Terminal/git-n00b ... so, apologies if I'm missing something obvious.
I've checked console.app
, here's what I get:
22/08/08 5:07:45 PM GitNub[3901] ApplicationController#awakeFromNib: NoMethodError: undefined method `name' for nil:NilClass
22/08/08 5:07:45 PM [0x0-0xa40a4].com.alternateidea.rubycocoa.GitNubApp[3901] /Applications/GitNub.app/Contents/Resources/ApplicationController.rb:142:in `setup_refs_view_menu'
22/08/08 5:07:45 PM [0x0-0xa40a4].com.alternateidea.rubycocoa.GitNubApp[3901] /Applications/GitNub.app/Contents/Resources/ApplicationController.rb:66:in `awakeFromNib'
22/08/08 5:07:45 PM [0x0-0xa40a4].com.alternateidea.rubycocoa.GitNubApp[3901] /Applications/GitNub.app/Contents/Resources/rb_main.rb:23:in `NSApplicationMain'
22/08/08 5:07:45 PM [0x0-0xa40a4].com.alternateidea.rubycocoa.GitNubApp[3901] /Applications/GitNub.app/Contents/Resources/rb_main.rb:23
22/08/08 5:07:45 PM [0x0-0xa40a4].com.alternateidea.rubycocoa.GitNubApp[3901] /Applications/GitNub.app/Contents/Resources/ApplicationController.rb:142:in `setup_refs_view_menu': undefined method `name' for nil:NilClass (NoMethodError)
22/08/08 5:07:45 PM [0x0-0xa40a4].com.alternateidea.rubycocoa.GitNubApp[3901] from /Applications/GitNub.app/Contents/Resources/ApplicationController.rb:66:in `awakeFromNib'
22/08/08 5:07:45 PM [0x0-0xa40a4].com.alternateidea.rubycocoa.GitNubApp[3901] from /Applications/GitNub.app/Contents/Resources/rb_main.rb:23:in `NSApplicationMain'
22/08/08 5:07:45 PM [0x0-0xa40a4].com.alternateidea.rubycocoa.GitNubApp[3901] from /Applications/GitNub.app/Contents/Resources/rb_main.rb:23
22/08/08 5:07:45 PM com.apple.launchd[75] ([0x0-0xa40a4].com.alternateidea.rubycocoa.GitNubApp[3901]) Exited with exit code: 1
I've double-checked nub
is in /usr/local/bin/
. I've also double-checked that open4
is installed. Positive I'm trying from a git directory. Not sure what else to do ... would appreciate a nudge in the right direction.
Cheers, Adam.
Comments and changes to this ticket
-
Adam Schilling August 22nd, 2008 @ 12:52 AM
- Title changed from Launching gitnub? to Launching GitNub?
-
Justin Palmer August 22nd, 2008 @ 10:11 AM
Hey Adam,
I was able to reproduce this.
When GitNub loads up, it loads your references (heads) into a menu. If you haven't committed your initial import to the repository, then your head will be nil. It's likely this could be a grit bug (the git library used by gitnub).
The simple way to solve this is for you to make an initial commit/import to your repository. In the mean time, I'll work on a fix so it doesn't crash under these circumstances.
-
Justin Palmer August 22nd, 2008 @ 10:33 AM
- State changed from new to resolved
Fixed here: http://github.com/Caged/gitnub/c...
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 ยป