#31 open
r13

Start error

Reported by r13 | 2008-10-15 11:40:17 UTC

When i try to start GitNub for a first time (from console, using nub script), I got:

LSGetApplicationForInfo() failed with error -10814 while trying to determine the application with bundle identifier com.alternateidea.rubycocoa.GitNubApp.

My GitNub.app is on my /Applications folder

Comments and changes to this ticket

  • Justin Palmer

    Justin Palmer 2008-10-15 13:17:52 UTC

    • Tag set to “launching”

    Are you launching with the nub command? Try removing ~/Library/Preferences/com.alternateidea.rubycocoa.GitNubApp.plist and then start up the app with the nub command.

  • Matt Aimonetti (mattetti)

    Matt Aimonetti (mattetti) 2008-10-21 23:27:44 UTC

    I tried removing the file but I still get more or less the same error:

    $ nub LSOpenFromURLSpec() failed with error -10810 for the file /Users/mattetti/tmp/my-first-app-test/my-first-app.

  • Matt Aimonetti (mattetti)

    Matt Aimonetti (mattetti) 2008-10-21 23:28:24 UTC

    I guess it's a different error :(

  • Justin Palmer

    Justin Palmer 2008-10-22 00:40:43 UTC

    Strange. nub is just calling open. Try running this by itself in a valid git repo:

    
    open -b com.alternateidea.rubycocoa.GitNubApp
    
  • Matt Aimonetti (mattetti)

    Matt Aimonetti (mattetti) 2008-10-22 01:26:16 UTC

    
    $ open -b com.alternateidea.rubycocoa.GitNubApp
    LSOpenFromURLSpec() failed with error -10810.
    

    I tried to build from source and the binaries :( I switched to gitx until I can figure out what's wrong with my machine & gitnub.

  • Justin Palmer

    Justin Palmer 2008-10-22 01:41:46 UTC

    We can't have that! ;-)

    Looks like I tackled that error earlier on the mailing list, but I also thought that problem should've been fixed by now.

    http://groups.google.com/group/g...

    Does Console.app give you any more details?

  • Matt Aimonetti (mattetti)

    Matt Aimonetti (mattetti) 2008-10-22 11:25:13 UTC

    I have open4 (0.9.6) gem installed.

    Looking at the console it looks like I was missing diff-lcs. After a quick gem install I tried again with the same result :(

    gem list diff: diff-lcs (1.1.2)

    I looked a bit deeper in the logs and realized that nub is using the wrong Ruby. I mainly use macports installed Ruby while nub is using the OSX install :(

    grit is the culprit since he's the one requiring diff-lcs. I guess you should pack diff-lcs or make sure nub uses the default ruby install.

    Thanks

  • Justin Palmer

    Justin Palmer 2008-10-22 12:22:50 UTC

    • State changed from “new” to “open”

    Thanks for helping work this out. The grit dependencies have been such a pain in the ass.

    diff-lcs is included with the Gitnub source in lib/. In bootstrap.rb I have to change the load path order so grit will use the included libs that are bundled with Gitnub, otherwise I have to hack grit (which I don't want to do).

    It's fairly simple to fix the issue so Gitnub will run. But I'm curious why diff-lcs isn't being included. I don't have it installed as a gem on my system and I haven't run into the same issue.

    
    sudo /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/gem install diff-lcs
    
  • Justin Palmer

    Justin Palmer 2008-10-31 10:45:12 UTC

    Hi Alexis, Did you pull the submodules per the directions?

    On Thu, Oct 30, 2008 at 1:51 PM, Lighthouse support@lighthouseapp.comwrote:

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