ac-rmenezes / gource

Automatically exported from code.google.com/p/gource
0 stars 0 forks source link

The infinite ../gource loop. #195

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to folder of my git project.
2. Start gource.

What is the expected output? What do you see instead?
Gource should start. An infinite loop of "\mydirectory\gource" commands 
executes in the console instead.

What version of the product are you using? On what operating system?
0.40 on Windows 7 Professional.

Please provide any additional information below.
It worked fine a month ago which led me to think that there was a problem with 
the history, but gource does no longer work with any of my projects.
I have also tried reinstalling 0.40.

Interestingly, the problem does NOT reproduce with version 0.39.

Thank you.

Original issue reported on code.google.com by vladisla...@circles.bz on 28 May 2013 at 4:10

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,

Strange.

If you used the Gource installer (which was new with 0.40), it adds the 
gource/cmd directory to your PATH env (it is optional), which contains two 
scripts ('gource.cmd' for command prompt, 'gource' for msys/msys git unix-like 
shells - they are found here 
https://github.com/acaudwell/Gource/tree/master/cmd). Both these scripts simply 
try to run 'gource.exe' in the parent directory.

It certainly sounds a bit like somehow these scripts are calling themselves, 
however since they specify '../gource.exe', and they don't have that extension, 
I don't see why.

You probably should check if your PATH env contains more than one reference to 
Gource, in case you set one up yourself for previous versions, and somehow that 
is part of the problem.

Original comment by acaudw...@gmail.com on 28 May 2013 at 10:27

GoogleCodeExporter commented 9 years ago
I had the same problem.
You probably called the script gource.cmd or gource.bat and placed it in the 
git project. So when starting this script it will call itself! change the name 
of the script to something else as gource and it will probably work  :p.

Original comment by stevensn...@gmail.com on 20 Oct 2013 at 9:30