sharifulgeo / google-appengine-wx-launcher

Automatically exported from code.google.com/p/google-appengine-wx-launcher
Apache License 2.0
0 stars 0 forks source link

The system cannot find the path specified: '%USERPROFILE%/Google' #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Uninstalled previous version of GAE and Installed v1.4.2
2. Run Launcher

What is the expected output? What do you see instead?
App should launch, see dialog referring to log file. If you are not admin user 
ad have installed in Program Files , you may find nothing in the log file. 
Otherwise you see: 
Traceback (most recent call last):
  File "GoogleAppEngineLauncher.py", line 42, in <module>
  File "wx\_core.pyc", line 7913, in __init__
  File "wx\_core.pyc", line 7487, in _BootstrapApp
  File "launcher\app.pyc", line 53, in OnInit
  File "launcher\app.pyc", line 97, in _CreateModels
  File "launcher\maintable.pyc", line 34, in __init__
  File "launcher\platform.pyc", line 492, in ProjectsFile
WindowsError: [Error 3] The system cannot find the path specified: 
'%USERPROFILE%/Google'

What version of the product are you using? On what operating system?
1.4.2 for python, python 2.5, Windows 7 Professional x64

Please provide any additional information below.
The problem is in the HOME environment variable, which on my system is a system 
variable set to %USERPROFILE%. Launcher does not evaluate %USERPROFILE% in the 
Windows environment context. 

I solved by also including a HOME in my User variables, set to the actual path 
of my home directory (C:\Users\[USERNAME]). This overrides the system var 
without spoiling its use for other users who don't have it explicitly set in 
their user vars. 

Aother anomaly was that while I had the "Google" dir under my home dir, 
possibly from the previous install, (or some other google product?) the latest 
version did not recreate it if I delete it before installing. So even if the 
USERPROFILE issue had not occured, it may have failed in the same way if this 
was the first time I was installing GAE.

Illan

Original issue reported on code.google.com by illancol...@gmail.com on 19 Mar 2011 at 2:40

GoogleCodeExporter commented 9 years ago
OMG thank you so much!  I have had this issue for weeks and I could not find 
the solution!

Original comment by nocki...@cstoreyuma.com on 11 Sep 2012 at 3:47

GoogleCodeExporter commented 9 years ago
Thank you!  This also fixed a (stupid) issue where GAE sets it's "Home" to a 
network drive (without asking), then when you try to start GAE without the 
network drive attached, the GAE refuses to start giving this annoying and 
all-too-familiar error message.

Original comment by transce...@gmail.com on 13 Feb 2014 at 9:20