-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
This issue was originally filed by [email protected]
What steps will reproduce the problem?
- Install MacPorts Python 2.5
- Setup using instructions
- GClient sync
returns:
________ running '/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python dart/client/tools/generate_build.py' in '/Users/lukechurch/dart-all'
dart/compiler/generate_source_list.py:81: Warning: 'with' will become a reserved keyword in Python 2.6
File "dart/compiler/generate_source_list.py", line 81
with open(file_name, 'r') as f:
^
SyntaxError: invalid syntax
________ running '/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python dart/compiler/scripts/generate_my_projects.py' in '/Users/lukechurch/dart-all'
dart/compiler/generate_source_list.py:81: Warning: 'with' will become a reserved keyword in Python 2.6
File "dart/compiler/generate_source_list.py", line 81
with open(file_name, 'r') as f:
^
SyntaxError: invalid syntax
________ running '/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python dart/tools/generate_projects.py runtime' in '/Users/lukechurch/dart-all'
________ running '/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python dart/tools/generate_projects.py compiler' in '/Users/lukechurch/dart-all'
Traceback (most recent call last):
File "/Users/lukechurch/dart-all/dart/tools/generate_projects.py", line 77, in <module>
sys.exit(gyp.main(args))
File "/Users/lukechurch/dart-all/dart/third_party/gyp/pylib/gyp/init.py", line 456, in main
options.circular_check)
File "/Users/lukechurch/dart-all/dart/third_party/gyp/pylib/gyp/init.py", line 94, in Load
depth, generator_input_info, check, circular_check)
File "/Users/lukechurch/dart-all/dart/third_party/gyp/pylib/gyp/input.py", line 2219, in Load
depth, check)
File "/Users/lukechurch/dart-all/dart/third_party/gyp/pylib/gyp/input.py", line 355, in LoadTargetBuildFile
includes, True, check)
File "/Users/lukechurch/dart-all/dart/third_party/gyp/pylib/gyp/input.py", line 233, in LoadOneBuildFile
aux_data, variables, includes, check)
File "/Users/lukechurch/dart-all/dart/third_party/gyp/pylib/gyp/input.py", line 271, in LoadBuildFileIncludesIntoDict
False, check),
File "/Users/lukechurch/dart-all/dart/third_party/gyp/pylib/gyp/input.py", line 210, in LoadOneBuildFile
raise Exception("%s not found (cwd: %s)" % (build_file_path, os.getcwd()))
Exception: compiler/sources.gypi not found (cwd: /Users/lukechurch/dart-all/dart) while reading includes of compiler/dart-compiler.gyp while trying to load compiler/dart-compiler.gyp
Error: Command /Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python dart/tools/generate_projects.py compiler returned non-zero exit status 1 in /Users/lukechurch/dart-all
The documentation at: http://code.google.com/p/dart/wiki/PreparingYourMachine
implies that with the installation of a patch to SSL, python25 will work ok.
What version of the product are you using? On what operating system?
Mac OS X 10.7.1
Python 2.5.1
XCode 3.2