Closed GoogleCodeExporter closed 8 years ago
Thanks for the feedback. What version of Windows are you running?
Original comment by gerbe...@gmail.com
on 7 Nov 2008 at 2:49
> What version of Windows are you running?
XP Professional
Version 2002
SP2
The path in question should read
C:\Dokumente und Einstellungen\<username>\Lokale
Einstellungen\Anwendungsdaten\...
on my system.
Original comment by Henning....@googlemail.com
on 7 Nov 2008 at 11:28
line 405:
elif sys.platform == "win32":
prefFile = os.path.join(os.path.expanduser("~"), "Local Settings", "Application
Data", ".gitso-hosts")
I think this is the chunk in question and as you can see, it just uses the
"home" folder.
Maybe your home folder variable isn't set? Possibly an i18n issue?
Original comment by xburn...@gmail.com
on 11 Nov 2008 at 5:06
I think there are two problems. The first one may be an issue on my system:
os.path.expanduser("~") is using
%HOMEDRIVE% %HOMEPATH%
This is C:\ in my situation, which is not a good place to store configurations.
I
don't know wheather this should normally be the same as %USERPROFILE%. In my
case it
is not (but USERPROFILE is correct in my case).
The second problem is indeed a i18n one: It is not ok to specify "Local
Settings",
"Application Data" in the source code. That would cause a problem even if the
mentioned variables above would have been set to correct values.
Maybe use other variables?
USERPROFILE points to C:\Documents and Settings\<user_name>
APPDATA points to C:\Documents and Settings\<user_name>\Application Data
(both of them are allready i18n'ed)
Unfortunately, APPDATA seems to not exists on all windows flavours (e.g. WinME)
So, why not use %USERPROFILE%\.gitso-hosts? Many Applications store their data
in
hidden files in that directory, e.g. Eclipse, Netbeans, Gimp, Jedit...
Original comment by Henning....@googlemail.com
on 12 Nov 2008 at 8:37
I've a similar problem:
1) I start gitso aking help on WinXP
2) no way to connect to a linux gitso giving support (tested working with
another
linux machine asking help)
3) gitso on winxp can't stop: the stop button doesn't work: no cycle
start->stop->start->etc
4) you must close it with the "X" button.
5) on closing a popup msg: "read the log"
6) in the log this test:
Traceback (most recent call last):
File "Gitso.py", line 170, in ConnectSupport
File "Gitso.py", line 328, in saveHost
IOError: [Errno 2] No such file or directory: 'C:\\Documents and
Settings\\utente\\Local Settings\\Application Data\\.gitso-hosts'
The specified path doesn't exist on my win ("utente" is the user name)
Thanks
Original comment by mcianc...@gmail.com
on 2 Feb 2009 at 11:43
I think that using the user directory would be good for most users; a simple fix
would be to delete
elif sys.platform == "win32":
prefFile = os.path.join(os.path.expanduser("~"), "Local Settings", "Application
Data", ".gitso-hosts")
to use the default path for Windows, too
Original comment by kerio00@gmail.com
on 3 Feb 2009 at 4:27
we're using os.getenv('APPDATA')
Original comment by xburn...@gmail.com
on 1 Mar 2009 at 8:34
Merged into duplicate report.
Original comment by gerbe...@gmail.com
on 22 Feb 2010 at 4:18
Original issue reported on code.google.com by
Henning....@googlemail.com
on 6 Nov 2008 at 1:42