#31 open

Start error

Reported by r13 | October 15th, 2008 @ 11:40 AM

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 October 15th, 2008 @ 01:17 PM

    • 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) October 21st, 2008 @ 11:27 PM

    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) October 21st, 2008 @ 11:28 PM

    I guess it's a different error :(

  • Justin Palmer

    Justin Palmer October 22nd, 2008 @ 12:40 AM

    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) October 22nd, 2008 @ 01:26 AM

    $ 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 October 22nd, 2008 @ 01:41 AM

    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.


    Does Console.app give you any more details?

  • Matt Aimonetti (mattetti)

    Matt Aimonetti (mattetti) October 22nd, 2008 @ 11:25 AM

    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.


  • Justin Palmer

    Justin Palmer October 22nd, 2008 @ 12:22 PM

    • 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 October 31st, 2008 @ 10:45 AM

    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 ยป