Can't launch GitNub.app

8 views
Skip to first unread message

Robert Sköld

unread,
Jun 10, 2008, 3:53:02 AM6/10/08
to GitNub
Hey,

I'd really like to try out GitNub, but after compiling and when i try
to launch it just bounces once and disappears, with this message in
Console.app:

2008-06-10 09:47:37 GitNub[7482] *** _NSAutoreleaseNoPool(): Object
0x2f9e70 of class NSMethodSignature autoreleased with no pool in place
- just leaking
Stack: (0x9386acdf 0x93777562 0x9372e50d 0x81ffd 0x10e057 0x11718c
0x117d6a 0x1150da 0x1159f5 0x11795f 0x117d6a 0x11ed91 0x117ca4
0x1150da 0x1159f5 0x11795f 0x117d6a 0x1150da 0x1159f5 0x11795f
0x117d6a 0x1150da 0x1159f5 0x113a20 0x122af2 0x122fdc 0x10e3f7
0x110fe7 0x10e057 0x11718c 0x117d6a 0x1150da 0x1159f5 0x11795f
0x117d6a 0x1150da 0x12372d 0x123d8e 0x11718c 0x117d6a 0x1150da
0x11b178 0x11c026 0xfcced 0x11718c 0x117d6a 0x1150da 0x114117 0x11795f
0x117d6a 0x1150da 0x12406e 0x12409f 0x1240cb 0x8723c 0x22ea 0x229e)
2008-06-10 09:47:37
[0x0-0x9a09a].com.alternateidea.rubycocoa.GitNubApp[7482] /Library/
Frameworks/RubyCocoa.framework/Resources/ruby/osx/objc/oc_wrapper.rb:
17:in `ocm_send': null class#ib:action: - invalid object/message.
(OSX::OCMessageSendException)
2008-06-10 09:47:37
[0x0-0x9a09a].com.alternateidea.rubycocoa.GitNubApp[7482] from /
Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/objc/
oc_wrapper.rb:17:in `method_missing'
2008-06-10 09:47:37
[0x0-0x9a09a].com.alternateidea.rubycocoa.GitNubApp[7482] from /
Applications/GitNub.app/Contents/Resources/ApplicationController.rb:
72
2008-06-10 09:47:37
[0x0-0x9a09a].com.alternateidea.rubycocoa.GitNubApp[7482] from /
Applications/GitNub.app/Contents/Resources/rb_main.rb:16:in `require'
2008-06-10 09:47:37
[0x0-0x9a09a].com.alternateidea.rubycocoa.GitNubApp[7482] from /
Applications/GitNub.app/Contents/Resources/rb_main.rb:16:in
`rb_main_init'
2008-06-10 09:47:37
[0x0-0x9a09a].com.alternateidea.rubycocoa.GitNubApp[7482] from /
Applications/GitNub.app/Contents/Resources/rb_main.rb:15:in `each'
2008-06-10 09:47:37
[0x0-0x9a09a].com.alternateidea.rubycocoa.GitNubApp[7482] from /
Applications/GitNub.app/Contents/Resources/rb_main.rb:15:in
`rb_main_init'
2008-06-10 09:47:37
[0x0-0x9a09a].com.alternateidea.rubycocoa.GitNubApp[7482] from /
Applications/GitNub.app/Contents/Resources/rb_main.rb:22

Is there a dependency i'm missing or something? Oh and there's like 30
more of those "just leaking" messages before, but i just added the
last one.

Cheers!

/bob

Justin Palmer

unread,
Jun 11, 2008, 3:21:50 PM6/11/08
to git...@googlegroups.com
Hi Bob,

Let's check on a few things first.  Did you do (or have) the stuff on this list?

* Run `git submodule init`
* Run `git submodule update`
* Have open4 installed? `sudo gem install open4`
* Running the latest RubyCocoa (>= 0.13.0)

Cheers,
  -Justin

halbtuerke

unread,
Jun 18, 2008, 8:22:34 AM6/18/08
to GitNub
When I try to launch GitNub via 'nub' I get this error message:

LSOpenFromURLSpec() failed with error -10810 for the file /Users/
patrick/Coding/XCode/gitnub.


And the console logs look like this:

18.06.08 14:19:26
[0x0-0x285285].com.alternateidea.rubycocoa.GitNubApp[79947] /System/
Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/
rubygems/custom_require.rb:27:in `gem_original_require': no such file
to load -- open4 (LoadError)
18.06.08 14:19:26
[0x0-0x285285].com.alternateidea.rubycocoa.GitNubApp[79947] from /
System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/
rubygems/custom_require.rb:27:in `require'
18.06.08 14:19:26
[0x0-0x285285].com.alternateidea.rubycocoa.GitNubApp[79947] from /
Applications/GitNub.app/Contents/Resources/lib/grit/lib/grit.rb:13
18.06.08 14:19:26
[0x0-0x285285].com.alternateidea.rubycocoa.GitNubApp[79947] from /
System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/
rubygems/custom_require.rb:27:in `gem_original_require'
18.06.08 14:19:26
[0x0-0x285285].com.alternateidea.rubycocoa.GitNubApp[79947] from /
System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/
rubygems/custom_require.rb:27:in `require'
18.06.08 14:19:26
[0x0-0x285285].com.alternateidea.rubycocoa.GitNubApp[79947] from /
Applications/GitNub.app/Contents/Resources/ApplicationController.rb:
14
18.06.08 14:19:26
[0x0-0x285285].com.alternateidea.rubycocoa.GitNubApp[79947] from /
Applications/GitNub.app/Contents/Resources/rb_main.rb:16:in `require'
18.06.08 14:19:26
[0x0-0x285285].com.alternateidea.rubycocoa.GitNubApp[79947] from /
Applications/GitNub.app/Contents/Resources/rb_main.rb:16:in
`rb_main_init'
18.06.08 14:19:26
[0x0-0x285285].com.alternateidea.rubycocoa.GitNubApp[79947] from /
Applications/GitNub.app/Contents/Resources/rb_main.rb:15:in `each'
18.06.08 14:19:26
[0x0-0x285285].com.alternateidea.rubycocoa.GitNubApp[79947] from /
Applications/GitNub.app/Contents/Resources/rb_main.rb:15:in
`rb_main_init'
18.06.08 14:19:26
[0x0-0x285285].com.alternateidea.rubycocoa.GitNubApp[79947] from /
Applications/GitNub.app/Contents/Resources/rb_main.rb:22


I've open4 installed, running the newest RubyCocoa and submoduled
everything but still it's not working.
Is there anything else I can do to get GitNub working?

Thanks in advance
> Justin Palmerhttp://alternateidea.com|http://lighthouseapp.com|http://activereload.net|http://warehouseapp.com

Justin Palmer

unread,
Jun 18, 2008, 1:33:41 PM6/18/08
to git...@googlegroups.com
Hi, 

This issue keeps popping up.  I'm still not 100% sure what's causing it, but I'm starting to believe it has something to do with having a custom built Ruby on your system.

Check out this ticket:

I'll probably end up bundling open4 so we can eliminate this error all together.

 -Justin
--
Justin Palmer

Ari Stern

unread,
Jul 3, 2008, 10:01:48 AM7/3/08
to GitNub
I ran into the same problem, and "sudo gem install open4" fixed it for
me as well. This should definitely be bundled -- at the very least,
it should be mentioned in the install instructions and/or added as a
double-click-able shell script (much like the one that changes the
environment.plist PATH and MANPATH). This is a great project -- I'd
really like to migrate some of my collaborators over to git, and
having a drop-in GUI front end is a huge help. Thanks!

Cheers,
Ari

On Jun 18, 1:33 pm, "Justin Palmer" <encyteme...@gmail.com> wrote:
> Hi,
> This issue keeps popping up.  I'm still not 100% sure what's causing it, but
> I'm starting to believe it has something to do with having a custom built
> Ruby on your system.
>
> Check out this ticket:http://activereload.lighthouseapp.com/projects/8791/tickets/19-crash-...

Robert Sköld

unread,
Jul 20, 2008, 12:22:14 PM7/20/08
to GitNub
I've got the exact same this on mine, after installing open4 (for both
macports gem and system gem) and
i just installed the latest from source, built it successfully with
rake build and then i still get this:

LSOpenFromURLSpec() failed with error -10810 for the file /Users/
slaskis/Projects/XCode/gitnub.

Oh, and i got this when trying to run 'submodule update':

$ git submodule update
Initialized empty Git repository in /Users/slaskis/Projects/XCode/
gitnub/lib/grit/.git/
remote: Total 0 (delta 0), reused 0 (delta 0)
remote: aborting due to possible repository corruption on the remote
side.
error: waitpid (async) failed
fatal: error in sideband demultiplexer
fetch-pack from 'git://github.com/mojombo/grit.git' failed.
Clone of 'git://github.com/mojombo/grit.git' into submodule path 'lib/
grit' failed

And how can i see which version of RubyCocoa i use? I'm using 10.5.4
of osx.

Robert Sköld

unread,
Jul 20, 2008, 12:46:23 PM7/20/08
to GitNub
Allright, i installed RubyCocoa again (from the dmg) and installed the
mime-types gem (as i read here:
http://activereload.lighthouseapp.com/projects/8791/tickets/19-crash-on-launch-lsopenfromurlspec-failed#ticket-19-10)
and the mojombo-grit gem so now it starts by running GitNub.app, but
it crashes as soon as i try to do something.

And when i try running nub in the gitnub source directory, i get this
in Console.app:

2008-07-20 18:42:28 GitNub[49784] CommitsController#awakeFromNib:
NoMethodError: undefined method `head' for #<Grit::Repo "/Users/
slaskis/Projects/XCode/gitnub/.git">
2008-07-20 18:42:28
[0x0-0x5b65b6].com.alternateidea.rubycocoa.GitNubApp[49784] /
Applications/GitNub.app/Contents/Resources/CommitsController.rb:268:in
`fetch_git_branch'
2008-07-20 18:42:28
[0x0-0x5b65b6].com.alternateidea.rubycocoa.GitNubApp[49784] /
Applications/GitNub.app/Contents/Resources/CommitsController.rb:42:in
`awakeFromNib'
2008-07-20 18:42:28
[0x0-0x5b65b6].com.alternateidea.rubycocoa.GitNubApp[49784] /
Applications/GitNub.app/Contents/Resources/rb_main.rb:23:in
`NSApplicationMain'
2008-07-20 18:42:28
[0x0-0x5b65b6].com.alternateidea.rubycocoa.GitNubApp[49784] /
Applications/GitNub.app/Contents/Resources/rb_main.rb:23
2008-07-20 18:42:28
[0x0-0x5b65b6].com.alternateidea.rubycocoa.GitNubApp[49784] /
Applications/GitNub.app/Contents/Resources/CommitsController.rb:268:in
`fetch_git_branch': undefined method `head' for #<Grit::Repo "/Users/
slaskis/Projects/XCode/gitnub/.git"> (NoMethodError)
2008-07-20 18:42:28
[0x0-0x5b65b6].com.alternateidea.rubycocoa.GitNubApp[49784] from /
Applications/GitNub.app/Contents/Resources/CommitsController.rb:42:in
`awakeFromNib'
2008-07-20 18:42:28
[0x0-0x5b65b6].com.alternateidea.rubycocoa.GitNubApp[49784] from /
Applications/GitNub.app/Contents/Resources/rb_main.rb:23:in
`NSApplicationMain'
2008-07-20 18:42:28
[0x0-0x5b65b6].com.alternateidea.rubycocoa.GitNubApp[49784] from /
Applications/GitNub.app/Contents/Resources/rb_main.rb:23
2008-07-20 18:42:28 com.apple.launchd[182]
([0x0-0x5b65b6].com.alternateidea.rubycocoa.GitNubApp[49784]) Exited
with exit code: 1

Lalit K. Shandilya

unread,
Jul 22, 2008, 2:12:30 PM7/22/08
to GitNub
Hi Robert,

I was facing similar issue even after installing all required gems.

Then today I did my intial commit to git repository and then tried
nub . it worked! showing my intial comment in the it's cool interface.

It might be crashing with empty repository, I hope this will help.


On Jul 20, 9:46 pm, Robert Sköld <slas...@gmail.com> wrote:
> Allright, i installed RubyCocoa again (from the dmg) and installed the
> mime-types gem (as i read here:http://activereload.lighthouseapp.com/projects/8791/tickets/19-crash-...)

Andres Rodriguez

unread,
Jul 29, 2008, 2:35:11 PM7/29/08
to GitNub
Has anyone found the solution to:

LSOpenFromURLSpec() failed with error -10810.

I haven't been able to start GitNub.
> ...
>
> read more »

Justin Palmer

unread,
Jul 29, 2008, 4:02:06 PM7/29/08
to git...@googlegroups.com
--
Justin Palmer
Reply all
Reply to author
Forward
0 new messages