Skip to content

Instantly share code, notes, and snippets.

@dhermes
Created September 23, 2014 05:09
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 dhermes/80e03d6220f6f1361729 to your computer and use it in GitHub Desktop.
Save dhermes/80e03d6220f6f1361729 to your computer and use it in GitHub Desktop.
$ tox
GLOB sdist-make: /Users/dhermes/google_contracting/gcloud-python/setup.py
py26 inst-nodeps: /Users/dhermes/google_contracting/gcloud-python/.tox/dist/gcloud-0.02.2.zip
py26 runtests: PYTHONHASHSEED='189486614'
py26 runtests: commands[0] | nosetests
............
----------------------------------------------------------------------
Ran 12 tests in 1.541s
OK
py27 inst-nodeps: /Users/dhermes/google_contracting/gcloud-python/.tox/dist/gcloud-0.02.2.zip
py27 runtests: PYTHONHASHSEED='189486614'
py27 runtests: commands[0] | nosetests
EEEEE
======================================================================
ERROR: Failure: ImportError (No module named google.protobuf)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/dhermes/google_contracting/gcloud-python/.tox/py27/lib/python2.7/site-packages/nose/loader.py", line 414, in loadTestsFromName
addr.filename, addr.module)
File "/Users/dhermes/google_contracting/gcloud-python/.tox/py27/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/Users/dhermes/google_contracting/gcloud-python/.tox/py27/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/test_dataset.py", line 4, in <module>
from gcloud.datastore.entity import Entity
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/entity.py", line 20, in <module>
from gcloud.datastore import datastore_v1_pb2 as datastore_pb
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/datastore_v1_pb2.py", line 4, in <module>
from google.protobuf import descriptor as _descriptor
ImportError: No module named google.protobuf
======================================================================
ERROR: Failure: ImportError (No module named google.protobuf)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/dhermes/google_contracting/gcloud-python/.tox/py27/lib/python2.7/site-packages/nose/loader.py", line 414, in loadTestsFromName
addr.filename, addr.module)
File "/Users/dhermes/google_contracting/gcloud-python/.tox/py27/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/Users/dhermes/google_contracting/gcloud-python/.tox/py27/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/test_entity.py", line 4, in <module>
from gcloud.datastore.entity import Entity
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/entity.py", line 20, in <module>
from gcloud.datastore import datastore_v1_pb2 as datastore_pb
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/datastore_v1_pb2.py", line 4, in <module>
from google.protobuf import descriptor as _descriptor
ImportError: No module named google.protobuf
======================================================================
ERROR: Failure: ImportError (No module named google.protobuf)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/dhermes/google_contracting/gcloud-python/.tox/py27/lib/python2.7/site-packages/nose/loader.py", line 414, in loadTestsFromName
addr.filename, addr.module)
File "/Users/dhermes/google_contracting/gcloud-python/.tox/py27/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/Users/dhermes/google_contracting/gcloud-python/.tox/py27/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/test_helpers.py", line 7, in <module>
from gcloud.datastore import helpers
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/helpers.py", line 7, in <module>
from gcloud.datastore.key import Key
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/key.py", line 4, in <module>
from gcloud.datastore import datastore_v1_pb2 as datastore_pb
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/datastore_v1_pb2.py", line 4, in <module>
from google.protobuf import descriptor as _descriptor
ImportError: No module named google.protobuf
======================================================================
ERROR: Failure: ImportError (No module named google.protobuf)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/dhermes/google_contracting/gcloud-python/.tox/py27/lib/python2.7/site-packages/nose/loader.py", line 414, in loadTestsFromName
addr.filename, addr.module)
File "/Users/dhermes/google_contracting/gcloud-python/.tox/py27/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/Users/dhermes/google_contracting/gcloud-python/.tox/py27/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/test_key.py", line 4, in <module>
from key import Key
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/key.py", line 4, in <module>
from gcloud.datastore import datastore_v1_pb2 as datastore_pb
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/datastore_v1_pb2.py", line 4, in <module>
from google.protobuf import descriptor as _descriptor
ImportError: No module named google.protobuf
======================================================================
ERROR: Failure: ImportError (No module named Crypto.Hash)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/dhermes/google_contracting/gcloud-python/.tox/py27/lib/python2.7/site-packages/nose/loader.py", line 414, in loadTestsFromName
addr.filename, addr.module)
File "/Users/dhermes/google_contracting/gcloud-python/.tox/py27/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/Users/dhermes/google_contracting/gcloud-python/.tox/py27/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/storage/test_connection.py", line 3, in <module>
from gcloud.storage.connection import Connection
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/storage/connection.py", line 8, in <module>
from Crypto.Hash import SHA256
ImportError: No module named Crypto.Hash
----------------------------------------------------------------------
Ran 5 tests in 0.180s
FAILED (errors=5)
ERROR: InvocationError: '/Users/dhermes/google_contracting/gcloud-python/.tox/py27/bin/nosetests'
cover inst-nodeps: /Users/dhermes/google_contracting/gcloud-python/.tox/dist/gcloud-0.02.2.zip
cover runtests: PYTHONHASHSEED='189486614'
cover runtests: commands[0] | nosetests --with-xunit --with-xcoverage --cover-package=gcloud --nocapture --cover-erase
EEEEE
======================================================================
ERROR: Failure: ImportError (No module named google.protobuf)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/dhermes/google_contracting/gcloud-python/.tox/cover/lib/python2.7/site-packages/nose/loader.py", line 414, in loadTestsFromName
addr.filename, addr.module)
File "/Users/dhermes/google_contracting/gcloud-python/.tox/cover/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/Users/dhermes/google_contracting/gcloud-python/.tox/cover/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/test_dataset.py", line 4, in <module>
from gcloud.datastore.entity import Entity
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/entity.py", line 20, in <module>
from gcloud.datastore import datastore_v1_pb2 as datastore_pb
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/datastore_v1_pb2.py", line 4, in <module>
from google.protobuf import descriptor as _descriptor
ImportError: No module named google.protobuf
======================================================================
ERROR: Failure: ImportError (No module named google.protobuf)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/dhermes/google_contracting/gcloud-python/.tox/cover/lib/python2.7/site-packages/nose/loader.py", line 414, in loadTestsFromName
addr.filename, addr.module)
File "/Users/dhermes/google_contracting/gcloud-python/.tox/cover/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/Users/dhermes/google_contracting/gcloud-python/.tox/cover/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/test_entity.py", line 4, in <module>
from gcloud.datastore.entity import Entity
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/entity.py", line 20, in <module>
from gcloud.datastore import datastore_v1_pb2 as datastore_pb
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/datastore_v1_pb2.py", line 4, in <module>
from google.protobuf import descriptor as _descriptor
ImportError: No module named google.protobuf
======================================================================
ERROR: Failure: ImportError (No module named google.protobuf)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/dhermes/google_contracting/gcloud-python/.tox/cover/lib/python2.7/site-packages/nose/loader.py", line 414, in loadTestsFromName
addr.filename, addr.module)
File "/Users/dhermes/google_contracting/gcloud-python/.tox/cover/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/Users/dhermes/google_contracting/gcloud-python/.tox/cover/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/test_helpers.py", line 7, in <module>
from gcloud.datastore import helpers
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/helpers.py", line 7, in <module>
from gcloud.datastore.key import Key
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/key.py", line 4, in <module>
from gcloud.datastore import datastore_v1_pb2 as datastore_pb
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/datastore_v1_pb2.py", line 4, in <module>
from google.protobuf import descriptor as _descriptor
ImportError: No module named google.protobuf
======================================================================
ERROR: Failure: ImportError (No module named google.protobuf)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/dhermes/google_contracting/gcloud-python/.tox/cover/lib/python2.7/site-packages/nose/loader.py", line 414, in loadTestsFromName
addr.filename, addr.module)
File "/Users/dhermes/google_contracting/gcloud-python/.tox/cover/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/Users/dhermes/google_contracting/gcloud-python/.tox/cover/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/test_key.py", line 4, in <module>
from key import Key
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/key.py", line 4, in <module>
from gcloud.datastore import datastore_v1_pb2 as datastore_pb
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/datastore_v1_pb2.py", line 4, in <module>
from google.protobuf import descriptor as _descriptor
ImportError: No module named google.protobuf
======================================================================
ERROR: Failure: ImportError (No module named Crypto.Hash)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/dhermes/google_contracting/gcloud-python/.tox/cover/lib/python2.7/site-packages/nose/loader.py", line 414, in loadTestsFromName
addr.filename, addr.module)
File "/Users/dhermes/google_contracting/gcloud-python/.tox/cover/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/Users/dhermes/google_contracting/gcloud-python/.tox/cover/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/storage/test_connection.py", line 3, in <module>
from gcloud.storage.connection import Connection
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/storage/connection.py", line 8, in <module>
from Crypto.Hash import SHA256
ImportError: No module named Crypto.Hash
Name Stmts Miss Cover Missing
--------------------------------------------------------
gcloud 1 0 100%
gcloud.datastore 10 6 40% 65-70, 100-101
gcloud.datastore.dataset 30 21 30% 31-32, 45, 58, 61-63, 66-67, 70-72, 84-86, 90-98
gcloud.datastore.demo 8 1 88% 14
gcloud.storage 10 6 40% 66-71, 103-104
gcloud.storage.demo 8 1 88% 14
--------------------------------------------------------
TOTAL 67 35 48%
----------------------------------------------------------------------
Ran 5 tests in 0.146s
FAILED (errors=5)
ERROR: InvocationError: '/Users/dhermes/google_contracting/gcloud-python/.tox/cover/bin/nosetests --with-xunit --with-xcoverage --cover-package=gcloud --nocap
ture --cover-erase'
docs inst-nodeps: /Users/dhermes/google_contracting/gcloud-python/.tox/dist/gcloud-0.02.2.zip
docs runtests: PYTHONHASHSEED='189486614'
docs runtests: commands[0] | sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
Running Sphinx v1.2.3
loading pickled environment... done
building [html]: targets for 3 source files that are out of date
updating environment: 0 added, 5 changed, 0 removed
reading sources... [100%] storage-quickstart
/Users/dhermes/google_contracting/gcloud-python/docs/datastore-api.rst:15: WARNING: autodoc: failed to import module u'gcloud.datastore.connection'; the follo
wing exception was raised:
Traceback (most recent call last):
File "/Users/dhermes/google_contracting/gcloud-python/.tox/docs/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 335, in import_object
__import__(self.modname)
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/connection.py", line 3, in <module>
from gcloud.datastore import datastore_v1_pb2 as datastore_pb
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/datastore_v1_pb2.py", line 4, in <module>
from google.protobuf import descriptor as _descriptor
ImportError: No module named google.protobuf
/Users/dhermes/google_contracting/gcloud-python/docs/datastore-api.rst:31: WARNING: autodoc: failed to import module u'gcloud.datastore.entity'; the following
exception was raised:
Traceback (most recent call last):
File "/Users/dhermes/google_contracting/gcloud-python/.tox/docs/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 335, in import_object
__import__(self.modname)
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/entity.py", line 20, in <module>
from gcloud.datastore import datastore_v1_pb2 as datastore_pb
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/datastore_v1_pb2.py", line 4, in <module>
from google.protobuf import descriptor as _descriptor
ImportError: No module named google.protobuf
/Users/dhermes/google_contracting/gcloud-python/docs/datastore-api.rst:39: WARNING: autodoc: failed to import module u'gcloud.datastore.key'; the following ex
ception was raised:
Traceback (most recent call last):
File "/Users/dhermes/google_contracting/gcloud-python/.tox/docs/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 335, in import_object
__import__(self.modname)
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/key.py", line 4, in <module>
from gcloud.datastore import datastore_v1_pb2 as datastore_pb
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/datastore_v1_pb2.py", line 4, in <module>
from google.protobuf import descriptor as _descriptor
ImportError: No module named google.protobuf
/Users/dhermes/google_contracting/gcloud-python/docs/datastore-api.rst:47: WARNING: autodoc: failed to import module u'gcloud.datastore.query'; the following
exception was raised:
Traceback (most recent call last):
File "/Users/dhermes/google_contracting/gcloud-python/.tox/docs/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 335, in import_object
__import__(self.modname)
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/query.py", line 3, in <module>
from gcloud.datastore import datastore_v1_pb2 as datastore_pb
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/datastore_v1_pb2.py", line 4, in <module>
from google.protobuf import descriptor as _descriptor
ImportError: No module named google.protobuf
/Users/dhermes/google_contracting/gcloud-python/docs/datastore-api.rst:55: WARNING: autodoc: failed to import module u'gcloud.datastore.transaction'; the foll
owing exception was raised:
Traceback (most recent call last):
File "/Users/dhermes/google_contracting/gcloud-python/.tox/docs/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 335, in import_object
__import__(self.modname)
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/transaction.py", line 1, in <module>
from gcloud.datastore import datastore_v1_pb2 as datastore_pb
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/datastore_v1_pb2.py", line 4, in <module>
from google.protobuf import descriptor as _descriptor
ImportError: No module named google.protobuf
/Users/dhermes/google_contracting/gcloud-python/docs/datastore-api.rst:63: WARNING: autodoc: failed to import module u'gcloud.datastore.helpers'; the followin
g exception was raised:
Traceback (most recent call last):
File "/Users/dhermes/google_contracting/gcloud-python/.tox/docs/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 335, in import_object
__import__(self.modname)
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/helpers.py", line 7, in <module>
from gcloud.datastore.key import Key
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/key.py", line 4, in <module>
from gcloud.datastore import datastore_v1_pb2 as datastore_pb
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/datastore/datastore_v1_pb2.py", line 4, in <module>
from google.protobuf import descriptor as _descriptor
ImportError: No module named google.protobuf
/Users/dhermes/google_contracting/gcloud-python/docs/storage-api.rst:15: WARNING: autodoc: failed to import module u'gcloud.storage.connection'; the following exception was raised:
Traceback (most recent call last):
File "/Users/dhermes/google_contracting/gcloud-python/.tox/docs/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 335, in import_object
__import__(self.modname)
File "/Users/dhermes/google_contracting/gcloud-python/gcloud/storage/connection.py", line 8, in <module>
from Crypto.Hash import SHA256
ImportError: No module named Crypto.Hash
looking for now-outdated files... none found
pickling environment... done
checking consistency... /Users/dhermes/google_contracting/gcloud-python/docs/_components/creating-a-project.rst:: WARNING: document isn't included in any toctree
/Users/dhermes/google_contracting/gcloud-python/docs/_components/enabling-a-service-account.rst:: WARNING: document isn't included in any toctree
/Users/dhermes/google_contracting/gcloud-python/docs/datastore-getting-started.rst:: WARNING: document isn't included in any toctree
/Users/dhermes/google_contracting/gcloud-python/docs/datastore-quickstart.rst:: WARNING: document isn't included in any toctree
/Users/dhermes/google_contracting/gcloud-python/docs/getting-started.rst:: WARNING: document isn't included in any toctree
/Users/dhermes/google_contracting/gcloud-python/docs/storage-getting-started.rst:: WARNING: document isn't included in any toctree
/Users/dhermes/google_contracting/gcloud-python/docs/storage-quickstart.rst:: WARNING: document isn't included in any toctree
done
preparing documents... done
writing output... [100%] storage-quickstart
writing additional files... (10 module code pages) _modules/index genindex py-modindex search
copying images... [100%] _static/cloudsql-logo.png
copying static files... done
copying extra files... done
dumping search index... done
dumping object inventory... done
build succeeded, 14 warnings.
__________________________________________________________________________ summary ___________________________________________________________________________
py26: commands succeeded
ERROR: py27: commands failed
ERROR: cover: commands failed
docs: commands succeeded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment