Menu

#16 Viewer not working on Mac OS X Leopard

open
nobody
None
5
2008-07-23
2008-07-23
No

Whenever I start qgit I get the following error in a popup window:

An error occurred while executing command:

git --version

Git says:

Unable to start the process!

"git --version" on the commandline works.

Build environment:

gcc - i686-apple-darwin9-gcc-4.0.1
git - 1.5.6.1
qt - 4.4.0

Mac OS X 10.5.4 Intel

Discussion

  • Marco Costalba

    Marco Costalba - 2008-08-22

    Logged In: YES
    user_id=1286020
    Originator: NO

    It seems git is not in PATH

    Actually I don't know Mac OS X, I will try to get help from git list if you are still interested, are you available for testing a possible patch ?

     
  • Markus Kirschner

    Logged In: YES
    user_id=2156255
    Originator: YES

    If I install qgit via MacPorts (which has version 2.1 of it active) it works.

    If you like I could test for you to get it working.

     
  • Michael Guntsche

    Marco you are right.
    The problem is that git is not found in the path if you start the program from the finder.
    The reason is, that most commonly the path to the git repo is only set in a bashrc file. Finder does not know about this.
    There are ways to add the path in a different way but this still gives problems with other tools (launchers ala quicksilver) that do not seem to read that file either.

    I think te best solution would be to add a preference entry where you can specify the path to your git binary.

     

Log in to post a comment.