Closed GoogleCodeExporter closed 9 years ago
Do you know why it is trying to access library.zip file? I have never seen this
before.... Are you trying to run it from within a zip archive?
Original comment by gerbe...@gmail.com
on 8 Dec 2008 at 4:46
I don't know why it's doing this. I just now downloaded the gitso-install.exe
from
the site on two additional Windows XP machines, opened the hosts.txt file in
c:\program files\gitso\hosts.txt and added a couple hosts. Saved and closed the
hosts
file. Start Gitso from the start menu, hosts that were added to the hosts.txt
file do
not show in the dropdown list. One machine was Windows XP Professional SP3 the
other
XP Home with SP3. Any debugging tips appreciated!
Original comment by ansa...@gmail.com
on 9 Dec 2008 at 2:23
I can confirm this problem. The application does not read the hosts.txt file.
Here is the PATH NOT FOUND error line froom FileMon...
13:01 Gitso.exe:1948 QUERY INFORMATION C:\Program
Files\Gitso\library.zip\hosts.txt PATH NOT FOUND Attributes: Error
I worked around it by modifying line 406 in gitso.py to read:
prefFile = os.path.join(os.path.expanduser("~"), "Local Settings", "Application
Data", "gitso-hosts")
(Removed the . from .gitso-hosts as Windows didn't like a filename with a . in
front
of it)
and rebuilt the app, then placed a file called gitso.hosts containing the hosts
to
appear in the dropdown in C:\Documents and Settings\<username>\Local
Settings\Application Data
It's a bit of a kludge, as it would be nice not to have to edit a file outside
the
gitso directory, but it'll work for now. And as this is my first ever look at
Python, I don't know enough to tell you why the app is looking where it is for
the
hosts.txt file. :(
Original comment by 19kev...@gmail.com
on 9 Dec 2008 at 6:16
I also found that gitso does update the gitso-hosts file after making this
change..type a host name in the box, and it get's added to the file.
Original comment by 19kev...@gmail.com
on 9 Dec 2008 at 6:32
Original comment by gerbe...@gmail.com
on 11 Jan 2009 at 8:34
Issue 20 has been merged into this issue.
Original comment by gerbe...@gmail.com
on 17 Aug 2009 at 1:07
Issue 33 has been merged into this issue.
Original comment by gerbe...@gmail.com
on 22 Feb 2010 at 4:17
Issue 11 has been merged into this issue.
Original comment by gerbe...@gmail.com
on 22 Feb 2010 at 4:18
Updated to path to use the %USERPROFILE% variable. Also added a check to see if
the
path exists before trying to write to it.
Original comment by gerbe...@gmail.com
on 22 Feb 2010 at 4:20
Original issue reported on code.google.com by
ansa...@gmail.com
on 2 Dec 2008 at 5:58