ohmix1 / omaha

Automatically exported from code.google.com/p/omaha
Apache License 2.0
0 stars 0 forks source link

Omaha build failed #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I setup the Omaha pack as described in "Developer Setup Guide"
2. I open a command prompt and change directory to my main omaha folder (where 
the hammer.bat and main.scons and so on files/folders are).
3. I type hammer in the command prompt and get the following error:
      'python' is not recognized as an internal or external command,
operable program or batch file
4. Assuming I'm missing an entry in the PATH environment variable I add such 
that point to my Python folder (C:\Python24 - where python was installed and 
where python.exe is)
5. Once again I open a command prompt and go to the omaha folder. This time 
when I type "hammer" in the command line I get the following error:

TypeError: len() of unsized object:
  File "C:\Python24\Lib\site-packages\scons-2.1.0.alpha.20101125\SCons\Script\Main.py", line 1338:    _exec_main(parser, values)
  File "C:\Python24\Lib\site-packages\scons-2.1.0.alpha.20101125\SCons\Script\Main.py", line 1302:    _main(parser)
  File "C:\Python24\Lib\site-packages\scons-2.1.0.alpha.20101125\SCons\Script\Main.py", line 929:    _load_site_scons_dir(d.path, options.site_dir)
  File "C:\Python24\Lib\site-packages\scons-2.1.0.alpha.20101125\SCons\Script\Main.py", line 719:    exec fp in site_m
  File "D:\omaha\swtoolkit\site_scons\site_init.py", line 455:    SiteInitMain()
  File "D:\omaha\swtoolkit\site_scons\site_init.py", line 450:    SCons.Script.Main._load_site_scons_dir(
  File "C:\Python24\Lib\site-packages\scons-2.1.0.alpha.20101125\SCons\Script\Main.py", line 677:    site_dir = os.path.join(topdir, site_dir_name)
  File "C:\Python24\lib\ntpath.py", line 90:    assert len(path) > 0

What is the expected output? What do you see instead?
I suppose I should end up with compile success

What version of the product are you using? On what operating system?
  I'm working on Windows 2008 R2 and I tried both the omaha from the svn trunk as well as the one provided in the following archive:
          http://omaha.googlecode.com/files/omaha-src-r104.zip

Original issue reported on code.google.com by blackdo...@gmail.com on 17 Jan 2011 at 4:46

GoogleCodeExporter commented 9 years ago
I think you are running into an incompatibility with the alpha version of 
SCons.  Try using the 1.3.x stable release instead and see if it continues to 
repro.

Original comment by ryanmyers@google.com on 19 Jan 2011 at 6:31

GoogleCodeExporter commented 9 years ago

Original comment by ryanmyers@google.com on 19 Aug 2011 at 7:41