Skip to content

Instantly share code, notes, and snippets.

@florianleibert
Created August 21, 2012 00:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save florianleibert/3409897 to your computer and use it in GitHub Desktop.
Save florianleibert/3409897 to your computer and use it in GitHub Desktop.
pants broken
Florians-MacBook-Pro:commons florian$ ./pants idea tests/java/com/twitter/common:all-tests!
/usr/bin/python2.6
Installing virtualenv
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2087k 100 2087k 0 0 756k 0 0:00:02 0:00:02 --:--:-- 777k
Running virtualenv with interpreter /usr/bin/python2.6
New python executable in ./build-support/python/../../.python/bootstrap/bin/python2.6
Also creating executable in ./build-support/python/../../.python/bootstrap/bin/python
Installing distribute.............................................................................................................................................................................................done.
Installing pip...............done.
Ignoring indexes: http://pypi.python.org/simple/
Downloading/unpacking mako
Could not find any downloads that satisfy the requirement mako
No distributions at all found for mako
Storing complete log in /Users/florian/.pip/pip.log
Ignoring indexes: http://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement distribute in ./.python/bootstrap/lib/python2.6/site-packages/distribute-0.6.24-py2.6.egg
No distributions at all found for distribute in ./.python/bootstrap/lib/python2.6/site-packages/distribute-0.6.24-py2.6.egg
Storing complete log in /Users/florian/.pip/pip.log
Build operating on targets: OrderedSet([PythonBinary(src/python/twitter/pants/BUILD:pants)])
Building PythonBinary PythonBinary(src/python/twitter/pants/BUILD:pants):
Wrote /Users/florian/airbnb_code/commons/dist/pants.pex
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/runpy.py", line 122, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/runpy.py", line 34, in _run_code
exec code in run_globals
File "./pants.pex/__main__.py", line 29, in <module>
File "/Users/florian/airbnb_code/commons/pants.pex/.bootstrap/twitter/common/python/pex.py", line 101, in execute
File "/Users/florian/airbnb_code/commons/pants.pex/.bootstrap/twitter/common/python/pex.py", line 128, in execute_entry
File "/Users/florian/airbnb_code/commons/pants.pex/.bootstrap/twitter/common/python/pex.py", line 133, in execute_module
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/runpy.py", line 140, in run_module
fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/runpy.py", line 34, in _run_code
exec code in run_globals
File "/Users/florian/airbnb_code/commons/pants.pex/pants_exe.py", line 174, in <module>
File "/Users/florian/airbnb_code/commons/pants.pex/pants_exe.py", line 168, in main
File "/Users/florian/airbnb_code/commons/pants.pex/pants_exe.py", line 157, in _run
File "twitter/pants/commands/__init__.py", line 103, in run
File "twitter/pants/commands/ide.py", line 111, in execute
File "/Users/florian/airbnb_code/commons/pants.pex/.bootstrap/twitter/common/collections/orderedset.py", line 34, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/_abcoll.py", line 298, in __ior__
for value in it:
File "twitter/pants/__init__.py", line 154, in extract_jvm_targets
File "twitter/pants/__init__.py", line 134, in is_jvm
AttributeError: 'JarDependency' object has no attribute 'has_label'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment