Hi Andy, I also encountered the same problem with similar error output.
I tried the other way, set up all the required environment variable in a bash file and used cygwin to run "gclient runhooks --force". I got no errors and the gclient produced correct sln file. Regards, Ben On Oct 2, 8:00 pm, Andy <[email protected]> wrote: > Hi, > > I am trying to build chrome using VS 2008. I checked out the souce > following the instructions > athttp://dev.chromium.org/developers/how-tos/build-instructions-windows. > I run intot errors when I tried to execute "gclient runhooks --force" > to re-generate the .sln file. > > Here is the error I got: > > C:\svn\chrome\src>gclient runhooks > > ________ running 'c:\svn\depot_tools\python_bin\python.exe src/build/ > gyp_chromium -Isrc/build/features_override.gypi' in > 'C:\svn\chrome' > Updating projects from gyp files... > Traceback (most recent call last): > File "src/build/gyp_chromium", line 78, in ? > sys.exit(gyp.main(args)) > File "src\tools\gyp\pylib\gyp\__init__.py", line 406, in main > params, options.check) > File "src\tools\gyp\pylib\gyp\__init__.py", line 56, in Load > generator.CalculateVariables(default_variables, params) > File "src\tools\gyp\pylib\gyp\generator\msvs.py", line 978, in > CalculateVariables > default_variables['MSVS_VERSION'] = msvs_version.ShortName() > AttributeError: 'NoneType' object has no attribute 'ShortName' > failed to run command: c:\svn\depot_tools\python_bin\python.exe src/ > build/gyp_chromium -Isrc/build/features_override.gyp > > Any suggestions on this ? > > Thanks! > > -Andy --~--~---------~--~----~------------~-------~--~----~ Chromium Discussion mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-discuss -~----------~----~----~----~------~----~------~--~---
