Can't get TortoiseGit working

1,514 views
Skip to first unread message

Shrike

unread,
Jul 12, 2010, 2:44:36 PM7/12/10
to tortoisegit-users
Hi,
I'm a new to Git/TortoiseGit, so please excuse me for a lame question
if any.
Nevertheless I can't get TortoiseGit working. Here's that I was
doing.

I've downloaded and installed the latest version -
TortoiseGit-1.5.2.0-64bit.msi (I'm on WinSrv 2008r2 x64).
Then I tried to download a repository from github.
When I tried http-protocol I get error:
warning: templates not found C:\Program Files\TortoiseGit/templates
Initialized empty Git repository in <some_local_path>/.git/
error: git was compiled without libcurl support.
error: cannot spawn git: No such file or directory
fatal: Unable to run helper: git remote-curl

So, it looks like TortoiseGit doesn't allow using http, right? If not
(it allows), then what should I do with this error?

Then I tried to download a repository through git-protocol. I get
other error:
warning: templates not found C:\Program Files\TortoiseGit/templates
Initialized empty Git repository in<some_local_path>/.git/
github.com[0: 207.97.227.239]: errno=No such file or directory
fatal: unable to connect a socket (No such file or directory)

I can't understand what's wrong, but I guessed there's a network
issues (I'm behind proxies). I guessed that the git-protocol is
blocked by out company's firewall. Then I decided to specify my own
proxy to bypass all network issues for sure.
I run TortoiseProc.exe . It told me that msysGit isn't specified.
What? What's it? I thought TortoiseGit is a git Client and I don't
need any other software. Looking at TortoiseGit homesite doesn't help.
It says nothing about any dependencies. Then I looked at
TortoiseGit_en.chm. There's a section
'TortoiseGit/Git Basic/First Time/Installing/Windows', where I read
"On Windows, installing Git is pretty easy. Simply download and
install the msysGit package". But there's also a section 'TortoiseGit/
Introduction/Installing TortoiseGit/Installation' where there's said
'just run installer'.
So do I need msysgit really or not ?

Anyway I went to http://code.google.com/p/msysgit, downloaded and
installed it. Then I opened TortoiseGit's settings (BTW it's
absolutely unclear how to do that! Please add some info in the dialog
which opens when TortoiseProc.exe is run without parameters. I only
can understand that after finding some info in "Appendix D. Automating
TortoiseGit" section of docs and lost an hour).

So, it TortoiseGit's settings I specified path to msysgit. But then I
run TortoiseProc.exe without parameters and it told me "no git
installed". What's wrong?

Anyway, I specified my proxy settings in TortoiseProc.exe (they are
correct for sure and allow using any port) but trying to run tgit.exe
clone with git-protocol still doesn't work.

So, my questions are:
- how to download a repository throght http?
- should I install msysGit ?
- if it's requied why TortoiseGit runs without saying something like
"msysGit is absent"
- is the error "fatal: unable to connect a socket (No such file or
directory)" about blocked port ? If it's the case why proxy settings
doesn't help?

Thanks.

Frank Li

unread,
Jul 13, 2010, 12:41:11 AM7/13/10
to tortoise...@googlegroups.com
Firstly, tortoisegit need msysgit. install Git-1.7.1-preview20100612.exe.
Tortoisegit should set msysgit path automatically.

You can check about dialog, which should show msysgit version. If not,
that mean msysgit path setting wrong.


2010/7/13 Shrike <shri...@gmail.com>:

> --
> You received this message because you are subscribed to the Google Groups "tortoisegit-users" group.
> To post to this group, send email to tortoise...@googlegroups.com.
> To unsubscribe from this group, send email to tortoisegit-us...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/tortoisegit-users?hl=en.
>
>

Shrike

unread,
Jul 13, 2010, 6:14:42 AM7/13/10
to tortoisegit-users
Frank, thanks for the explanation.

I run TortoiseProc.exe /command:settings, set 'E:\Prog\msysgit
\msysgit' for General/MSysGit option.
In E:\Prog\msysgit\msysgit I have MSysGit installed. i.e. where
THIS_IS_MSYSGIT file is located. I also tried to set 'E:\Prog\msysgit
\', 'E:\Prog\msysgit\msysgit\bin\'. With and without slashes.
No luck. Run TortoiseProc.exe and see 'no git installed' in all cases.
May some enviroment variables are needed?

Shrike

unread,
Jul 13, 2010, 6:33:48 AM7/13/10
to tortoisegit-users
One more issue. Open TortoiseProc.exe /command:settings, go to Git/
Config section, enter any user name, click ok/apply. Get empty error
message box. After that I can't save any settions anymore until reopen
the settings dialog.

Frank Li

unread,
Jul 13, 2010, 6:40:33 AM7/13/10
to tortoise...@googlegroups.com
2010/7/13 Shrike <shri...@gmail.com>:

> Frank, thanks for the explanation.
>
> I run TortoiseProc.exe /command:settings, set 'E:\Prog\msysgit
> \msysgit' for General/MSysGit option.
> In E:\Prog\msysgit\msysgit I have MSysGit installed. i.e. where
> THIS_IS_MSYSGIT file is located. I also tried to set 'E:\Prog\msysgit
> \', 'E:\Prog\msysgit\msysgit\bin\'. With and without slashes.

Can you run E:\Prog\msysgit\msysgit\bin\git.exe at command line?
If yes, :\Prog\msysgit\msysgit\bin, should be correct settings.

> No luck. Run TortoiseProc.exe and see 'no git installed' in all cases.
> May some enviroment variables are needed?
>
>> Firstly, tortoisegit need msysgit. install Git-1.7.1-preview20100612.exe.
>> Tortoisegit should set msysgit path automatically.
>>
>> You can check about dialog, which should show msysgit version. If not,
>>  that mean msysgit path setting wrong.
>>
>

Frank Li

unread,
Jul 13, 2010, 6:41:13 AM7/13/10
to tortoise...@googlegroups.com
You should set msysgit path firstly.


2010/7/13 Shrike <shri...@gmail.com>:

Shrike

unread,
Jul 13, 2010, 8:07:57 AM7/13/10
to tortoisegit-users
I can run E:\Prog\msysgit\msysgit\git-cmd.bat and it seems to work. I
get git command line.
When I run E:\Prog\msysgit\msysgit\bin\git.exe I get this error:
---------------------------
git.exe - System Error
---------------------------
The program can't start because libiconv2.dll is missing from your
computer. Try reinstalling the program to fix this problem.

Frank Li

unread,
Jul 13, 2010, 9:26:28 PM7/13/10
to tortoise...@googlegroups.com
I understand your problem.
you use msysgit full-install version.
I will fix this problem soon.
you can add E:\Prog\msysgit\msysgit\mingw\bin to system PATH environment.

best regards
Frank Li

2010/7/13 Shrike <shri...@gmail.com>:

Shrike

unread,
Jul 14, 2010, 6:17:14 AM7/14/10
to tortoisegit-users
Thanks! After I've done that TortoiseGit can see MSysGit.

But what about working throuth http ? Should TortoiseGit work through
http or not?
Not I get error "git was compiled without libcurl support. "

> I understand your problem.
> you use msysgit full-install version.
> I will fix this problem soon.
> you can add E:\Prog\msysgit\msysgit\mingw\bin to system PATH environment.
>
> best regards
> Frank Li
>
> 2010/7/13 Shrike <shrike...@gmail.com>:

Frank Li

unread,
Jul 14, 2010, 6:19:00 AM7/14/10
to tortoise...@googlegroups.com
2010/7/14 Shrike <shri...@gmail.com>:

> Thanks! After I've done that TortoiseGit can see MSysGit.
>
> But what about working throuth http ? Should TortoiseGit work through
> http or not?
> Not I get error "git was compiled without libcurl support. "

which msysgit do you use? msysgit should support http.

Shrike

unread,
Jul 14, 2010, 10:40:50 AM7/14/10
to tortoisegit-users
msysGit-fullinstall-1.7.1-preview20100612.exe
Reply all
Reply to author
Forward
0 new messages