Skip to content

Instantly share code, notes, and snippets.

@tamoyal
Created February 12, 2012 03:00
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 tamoyal/1805965 to your computer and use it in GitHub Desktop.
Save tamoyal/1805965 to your computer and use it in GitHub Desktop.
~/HumanGeo/datacards/crawlers/deps/hacked-bossmashup [master] $ sudo python setup.py install
running install
running build
running build_py
copying yos/crawl/dict2xml.py -> build/lib/yos/crawl
copying yos/crawl/object_dict.py -> build/lib/yos/crawl
copying yos/crawl/xml2dict.py -> build/lib/yos/crawl
running install_lib
copying build/lib/yos/crawl/dict2xml.py -> /usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/yos/crawl
copying build/lib/yos/crawl/object_dict.py -> /usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/yos/crawl
copying build/lib/yos/crawl/xml2dict.py -> /usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/yos/crawl
byte-compiling /usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/examples_v1/ex1.py to ex1.pyc
SyntaxError: ('invalid syntax', ('/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/examples_v1/ex1.py', 28, 69, 'tb = db.group(by=["yn$title"], key=None, reducer=lambda x,y: None, as=None, table=tb, norm=text.norm)\n'))
byte-compiling /usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/examples_v1/ex3.py to ex3.pyc
SyntaxError: ('invalid syntax', ('/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/examples_v1/ex3.py', 33, 84, 'tb = db.group(by=["ynews$title"], key="dg$diggs", reducer=lambda d1, d2: d1 + d2, as="rank", table=tb, norm=text.norm)\n'))
byte-compiling /usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/examples_v1/ex4.py to ex4.pyc
SyntaxError: ('invalid syntax', ('/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/examples_v1/ex4.py', 42, 79, 'tb = db.group(by=["ynews$title"], key="social", reducer=lambda d1,d2: d1+d2, as="rank", table=tb, norm=text.norm)\n'))
byte-compiling /usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/examples_v1/ex5.py to ex5.pyc
SyntaxError: ('invalid syntax', ('/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/examples_v1/ex5.py', 28, 74, 'tb = db.group(by=["yn$title"], key="rank", reducer=lambda d1,d2: d1+d2, as="total", table=tb, norm=text.norm)\n'))
byte-compiling /usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/examples_v1/ex6.py to ex6.pyc
SyntaxError: ('invalid syntax', ('/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/examples_v1/ex6.py', 40, 98, 'dates = db.group(by=["iraq$year", "iraq$month"], key="iraq$count", reducer=lambda d1,d2: d1+d2, as="total", table=iraq)\n'))
byte-compiling /usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/examples_v2/ex1.py to ex1.pyc
SyntaxError: ('invalid syntax', ('/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/examples_v2/ex1.py', 27, 69, 'tb = db.group(by=["yn$title"], key=None, reducer=lambda x,y: None, as=None, table=tb, norm=text.norm)\n'))
byte-compiling /usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/examples_v2/ex5.py to ex5.pyc
SyntaxError: ('invalid syntax', ('/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/examples_v2/ex5.py', 28, 74, 'tb = db.group(by=["yn$title"], key="rank", reducer=lambda d1,d2: d1+d2, as="total", table=tb, norm=text.norm)\n'))
byte-compiling /usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/examples_v2/ex6.py to ex6.pyc
SyntaxError: ('invalid syntax', ('/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/examples_v2/ex6.py', 41, 98, 'dates = db.group(by=["iraq$year", "iraq$month"], key="iraq$count", reducer=lambda d1,d2: d1+d2, as="total", table=iraq)\n'))
byte-compiling /usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/yos/crawl/dict2xml.py to dict2xml.pyc
byte-compiling /usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/yos/crawl/object_dict.py to object_dict.pyc
byte-compiling /usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/yos/crawl/xml2dict.py to xml2dict.pyc
byte-compiling /usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/yos/yql/db.py to db.pyc
SyntaxError: ('invalid syntax', ('/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/yos/yql/db.py', 262, 30, 'def group(by, key, reducer, as, table, norm=identity, unique=True):\n'))
running install_data
running install_egg_info
Removing /usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/boss_mashup_framework-0.1-py2.7.egg-info
Writing /usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/boss_mashup_framework-0.1-py2.7.egg-info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment