Installed /Users/jlowry/Downloads/cauliflowervest-0.10.1/pyasn1_modules-0.0.5-py2.7.egg
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "setup.py", line 75, in <module>
google_test_dir='src/tests',
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/VE/lib/python2.7/site-packages/setuptools/command/test.py", line 128, in run
self.distribution.fetch_build_eggs(self.distribution.install_requires)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/VE/lib/python2.7/site-packages/setuptools/dist.py", line 289, in fetch_build_eggs
parse_requirements(requires), installer=self.fetch_build_egg
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/VE/lib/python2.7/site-packages/pkg_resources.py", line 630, in resolve
raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (pyasn1 0.1.9 (/Users/jlowry/Downloads/cauliflowervest-0.10.1/pyasn1-0.1.9-py2.7.egg), Requirement.parse('pyasn1==0.1.7'))
make: *** [test] Error 1
Per this this thread:
https://groups.google.com/forum/#!topic/cauliflowervest-discuss/EHRDUb6rtlk
I changed 'oauth2client==1.3' to 'oauth2client', I then ran
Installed /Users/jlowry/Downloads/cauliflowervest-0.10.1/mox-0.5.3-py2.7.egg
Searching for mock>=1.0.1
Reading https://pypi.python.org/simple/mock/
Best match: mock 1.3.0
Downloading https://pypi.python.org/packages/source/m/mock/mock-1.3.0.tar.gz#md5=73ee8a4afb3ff4da1b4afa287f39fdeb
Processing mock-1.3.0.tar.gz
Writing /var/folders/yn/cwbrgxyj735gx4jy7b2yd5fw0000gn/T/easy_install-zcuLux/mock-1.3.0/setup.cfg
Running mock-1.3.0/setup.py -q bdist_egg --dist-dir /var/folders/yn/cwbrgxyj735gx4jy7b2yd5fw0000gn/T/easy_install-zcuLux/mock-1.3.0/egg-dist-tmp-laW7nt
mock requires setuptools>=17.1. Aborting installation
error: Setup script exited with 1
make: *** [test] Error 1
In the interest of trying to make the build happen I changed the following:
'mock>=1.0.1' to 'mock==1.0.1'
then rm -rf VE *.egg and make clean. Then make test. It gets through but I get a lot of failures:
/usr/bin/python2.7 -c 'import virtualenv' || \
sudo easy_install-2.7 -U virtualenv==1.10.1
[ -d VE ] || \
/usr/bin/python2.7 /usr/local/bin/virtualenv --no-site-packages VE
mkdir -p build
mkdir -p tmp/keycz
rm -rf ../../../build/keyczar
tar -zxf tmp/python-keyczar-0.7b.081911.tar.gz -C tmp/keycz
cd tmp/keycz/python-keyczar-* ; \
../../../VE/bin/python setup.py install
running install
running build
running build_py
running install_lib
running install_egg_info
Removing /Users/jlowry/Downloads/cauliflowervest-0.10.1/VE/lib/python2.7/site-packages/python_keyczar-0.7b-py2.7.egg-info
Writing /Users/jlowry/Downloads/cauliflowervest-0.10.1/VE/lib/python2.7/site-packages/python_keyczar-0.7b-py2.7.egg-info
# This strange import fixes some kind of race condition in the
# way that encodings.utf_8 retains its import of the codecs module.
#
# If we import encodings.utf_8 before google_test starts,
# it will import properly and be replaced between each module
# run when google_apputils does sys.modules cleanup.
#
# Related to https://bugs.launchpad.net/launchpad/+bug/491705
# and the other bugs referenced there, I believe.
#
VE/bin/python -c \
'import encodings.utf_8; import sys; sys.argv=["setup.py","google_test"]; import setup' && echo ALL TESTS COMPLETED SUCCESSFULLY
running google_test
running egg_info
writing requirements to src/cauliflowervest.egg-info/requires.txt
writing src/cauliflowervest.egg-info/PKG-INFO
writing top-level names to src/cauliflowervest.egg-info/top_level.txt
writing dependency_links to src/cauliflowervest.egg-info/dependency_links.txt
writing entry points to src/cauliflowervest.egg-info/entry_points.txt
reading manifest file 'src/cauliflowervest.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'src/cauliflowervest.egg-info/SOURCES.txt'
running build_ext
Testing base_client_test
........WARNING:root:foo failed with (HTTP Error 500: HTTP Err 500). Retrying ...
WARNING:root:foo failed with (HTTP Error 500: HTTP Err 500). Retrying ...
WARNING:root:foo failed with (HTTP Error 500: HTTP Err 500). Retrying ...
WARNING:root:foo failed with (HTTP Error 500: HTTP Err 500). Retrying ...
ERROR:root:foo failed permanently.
Traceback (most recent call last):
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/client/base_client.py", line 181, in _RetryRequest
return self.opener.open(request)
File "build/bdist.macosx-10.10-intel/egg/mox.py", line 1010, in __call__
raise expected_method._exception
HTTPError: HTTP Error 500: HTTP Err 500
...WARNING:root:Uploading passphrase failed with (HTTP Error 500: HTTP Error 500). Retrying ...
WARNING:root:Uploading passphrase failed with (HTTP Error 500: HTTP Error 500). Retrying ...
WARNING:root:Uploading passphrase failed with (HTTP Error 500: HTTP Error 500). Retrying ...
WARNING:root:Uploading passphrase failed with (HTTP Error 500: HTTP Error 500). Retrying ...
ERROR:root:Uploading passphrase failed permanently.
Traceback (most recent call last):
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/client/base_client.py", line 181, in _RetryRequest
return self.opener.open(request)
File "build/bdist.macosx-10.10-intel/egg/mox.py", line 1010, in __call__
raise expected_method._exception
HTTPError: HTTP Error 500: HTTP Error 500
.WARNING:root:Uploading passphrase failed with (HTTP Error 500: HTTP Error 500). Retrying ...
WARNING:root:Uploading passphrase failed with (HTTP Error 500: HTTP Error 500). Retrying ...
.
----------------------------------------------------------------------
Ran 13 tests in 0.010s
OK
Testing util_test
...........................
----------------------------------------------------------------------
Ran 27 tests in 0.004s
OK
Testing corestorage_test
.....ERROR:root:GetRecoveryPartition() failed to get partition list.
Traceback (most recent call last):
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/client/mac/corestorage.py", line 85, in GetRecoveryPartition
disklist_plist = util.GetPlistFromExec((DISKUTIL, 'list', '-plist'))
File "build/bdist.macosx-10.10-intel/egg/mox.py", line 765, in __call__
return mock_method(*params, **named_params)
File "build/bdist.macosx-10.10-intel/egg/mox.py", line 1010, in __call__
raise expected_method._exception
ExecError: Message=None
............
----------------------------------------------------------------------
Ran 17 tests in 0.005s
OK
Testing glue_test
..........
----------------------------------------------------------------------
Ran 10 tests in 0.005s
OK
Testing machine_data_test
.....
----------------------------------------------------------------------
Ran 5 tests in 0.001s
OK
Testing main_test
..
----------------------------------------------------------------------
Ran 2 tests in 0.001s
OK
Testing tkinter_test
..
----------------------------------------------------------------------
Ran 2 tests in 0.005s
OK
Testing bitlocker_ad_sync_test
..
----------------------------------------------------------------------
Ran 2 tests in 0.002s
OK
Testing client_test
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK
Testing crypto_test
..........ERROR:root:Could not load encryption keys.
Traceback (most recent call last):
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/crypto.py", line 164, in AreEncryptionKeysAvailable
reader.LoadKeys(key_type)
File "build/bdist.macosx-10.10-intel/egg/mox.py", line 1010, in __call__
raise expected_method._exception
Error
...
----------------------------------------------------------------------
Ran 13 tests in 0.002s
OK
WARNING:root:/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/tests/gae_server.zip/lib/cacerts/urlfetch_cacerts.txt missing; without this urlfetch will not be able to validate SSL certificates.
WARNING:root:No ssl package found. urlfetch will not be able to validate SSL certificates.
Testing models_test
...........................
----------------------------------------------------------------------
Ran 27 tests in 0.065s
OK
Testing util_test
..WARNING:root:Email settings are incorrectly configured; skipping
...
----------------------------------------------------------------------
Ran 5 tests in 0.001s
OK
Testing group_sync_test
.....
----------------------------------------------------------------------
Ran 5 tests in 0.001s
OK
WARNING:root:You are using the default Django version (0.96). The default Django version will change in an App Engine release in the near future. Please call use_library() to explicitly select a Django version. For more information see https://developers.google.com/appengine/docs/python/tools/libraries#Django
Testing duplicity_test
.
----------------------------------------------------------------------
Ran 1 test in 0.000s
OK
WARNING:root:/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/tests/gae_server.zip/lib/cacerts/urlfetch_cacerts.txt missing; without this urlfetch will not be able to validate SSL certificates.
WARNING:root:No ssl package found. urlfetch will not be able to validate SSL certificates.
WARNING:root:You are using the default Django version (0.96). The default Django version will change in an App Engine release in the near future. Please call use_library() to explicitly select a Django version. For more information see https://developers.google.com/appengine/docs/python/tools/libraries#Django
Testing filevault_test
..
----------------------------------------------------------------------
Ran 2 tests in 0.000s
OK
WARNING:root:/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/tests/gae_server.zip/lib/cacerts/urlfetch_cacerts.txt missing; without this urlfetch will not be able to validate SSL certificates.
WARNING:root:No ssl package found. urlfetch will not be able to validate SSL certificates.
WARNING:root:You are using the default Django version (0.96). The default Django version will change in an App Engine release in the near future. Please call use_library() to explicitly select a Django version. For more information see https://developers.google.com/appengine/docs/python/tools/libraries#Django
Testing handlers_test
.WARNING:root:handle_exception: Traceback (most recent call last):
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 570, in dispatch
return method(*args, **kwargs)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 45, in get
raise models.AccessError('volume_uuid is malformed')
AccessError: volume_uuid is malformed
....ERROR:root:Apps aren't loaded yet.
Traceback (most recent call last):
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 1535, in __call__
rv = self.handle_exception(request, response, e)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 1529, in __call__
rv = self.router.dispatch(request, response)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 1278, in default_dispatcher
return route.handler_adapter(request, response)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 1102, in __call__
return handler.dispatch()
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 572, in dispatch
return self.handle_exception(e, self.app.debug)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 368, in handle_exception
super(AccessHandler, self).handle_exception(exception, debug_mode)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 570, in dispatch
return method(*args, **kwargs)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 50, in get
self.RetrieveSecret(volume_uuid)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 216, in RetrieveSecret
self.RenderTemplate('barcode_result.html', params)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 137, in RenderTemplate
html = template.render(os.path.join(TEMPLATE_DIR, template_path), params)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/tests/gae_server.zip/google/appengine/ext/webapp/template.py", line 91, in render
t = _load_user_django(template_path, debug)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/tests/gae_server.zip/google/appengine/ext/webapp/template.py", line 113, in _load_user_django
template = django.template.loader.get_template(file_name)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/loader.py", line 26, in get_template
engines = _engine_list(using)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/loader.py", line 143, in _engine_list
return engines.all() if using is None else [engines[using]]
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/utils.py", line 110, in all
return [self[alias] for alias in self]
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/utils.py", line 101, in __getitem__
engine = engine_cls(params)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/backends/django.py", line 31, in __init__
options['libraries'] = self.get_templatetag_libraries(libraries)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/backends/django.py", line 49, in get_templatetag_libraries
libraries = get_installed_libraries()
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/backends/django.py", line 121, in get_installed_libraries
for app_config in apps.get_app_configs())
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/apps/registry.py", line 137, in get_app_configs
self.check_apps_ready()
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/apps/registry.py", line 124, in check_apps_ready
raise AppRegistryNotReady("Apps aren't loaded yet.")
AppRegistryNotReady: Apps aren't loaded yet.
FERROR:root:Apps aren't loaded yet.
Traceback (most recent call last):
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 1535, in __call__
rv = self.handle_exception(request, response, e)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 1529, in __call__
rv = self.router.dispatch(request, response)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 1278, in default_dispatcher
return route.handler_adapter(request, response)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 1102, in __call__
return handler.dispatch()
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 572, in dispatch
return self.handle_exception(e, self.app.debug)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 368, in handle_exception
super(AccessHandler, self).handle_exception(exception, debug_mode)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 570, in dispatch
return method(*args, **kwargs)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 50, in get
self.RetrieveSecret(volume_uuid)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 216, in RetrieveSecret
self.RenderTemplate('barcode_result.html', params)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 137, in RenderTemplate
html = template.render(os.path.join(TEMPLATE_DIR, template_path), params)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/tests/gae_server.zip/google/appengine/ext/webapp/template.py", line 91, in render
t = _load_user_django(template_path, debug)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/tests/gae_server.zip/google/appengine/ext/webapp/template.py", line 113, in _load_user_django
template = django.template.loader.get_template(file_name)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/loader.py", line 26, in get_template
engines = _engine_list(using)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/loader.py", line 143, in _engine_list
return engines.all() if using is None else [engines[using]]
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/utils.py", line 110, in all
return [self[alias] for alias in self]
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/utils.py", line 101, in __getitem__
engine = engine_cls(params)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/backends/django.py", line 31, in __init__
options['libraries'] = self.get_templatetag_libraries(libraries)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/backends/django.py", line 49, in get_templatetag_libraries
libraries = get_installed_libraries()
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/backends/django.py", line 121, in get_installed_libraries
for app_config in apps.get_app_configs())
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/apps/registry.py", line 137, in get_app_configs
self.check_apps_ready()
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/apps/registry.py", line 124, in check_apps_ready
raise AppRegistryNotReady("Apps aren't loaded yet.")
AppRegistryNotReady: Apps aren't loaded yet.
.ERROR:root:Apps aren't loaded yet.
Traceback (most recent call last):
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 1535, in __call__
rv = self.handle_exception(request, response, e)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 1529, in __call__
rv = self.router.dispatch(request, response)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 1278, in default_dispatcher
return route.handler_adapter(request, response)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 1102, in __call__
return handler.dispatch()
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 572, in dispatch
return self.handle_exception(e, self.app.debug)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 368, in handle_exception
super(AccessHandler, self).handle_exception(exception, debug_mode)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 570, in dispatch
return method(*args, **kwargs)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 50, in get
self.RetrieveSecret(volume_uuid)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 194, in RetrieveSecret
self.SendRetrievalEmail(entity, user)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 239, in SendRetrievalEmail
body = self.RenderTemplate('retrieval_email.txt', data, response_out=False)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 137, in RenderTemplate
html = template.render(os.path.join(TEMPLATE_DIR, template_path), params)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/tests/gae_server.zip/google/appengine/ext/webapp/template.py", line 91, in render
t = _load_user_django(template_path, debug)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/tests/gae_server.zip/google/appengine/ext/webapp/template.py", line 113, in _load_user_django
template = django.template.loader.get_template(file_name)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/loader.py", line 26, in get_template
engines = _engine_list(using)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/loader.py", line 143, in _engine_list
return engines.all() if using is None else [engines[using]]
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/utils.py", line 110, in all
return [self[alias] for alias in self]
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/utils.py", line 101, in __getitem__
engine = engine_cls(params)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/backends/django.py", line 31, in __init__
options['libraries'] = self.get_templatetag_libraries(libraries)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/backends/django.py", line 49, in get_templatetag_libraries
libraries = get_installed_libraries()
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/backends/django.py", line 121, in get_installed_libraries
for app_config in apps.get_app_configs())
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/apps/registry.py", line 137, in get_app_configs
self.check_apps_ready()
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/apps/registry.py", line 124, in check_apps_ready
raise AppRegistryNotReady("Apps aren't loaded yet.")
AppRegistryNotReady: Apps aren't loaded yet.
FERROR:root:Apps aren't loaded yet.
Traceback (most recent call last):
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 1535, in __call__
rv = self.handle_exception(request, response, e)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 1529, in __call__
rv = self.router.dispatch(request, response)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 1278, in default_dispatcher
return route.handler_adapter(request, response)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 1102, in __call__
return handler.dispatch()
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 572, in dispatch
return self.handle_exception(e, self.app.debug)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 368, in handle_exception
super(AccessHandler, self).handle_exception(exception, debug_mode)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 570, in dispatch
return method(*args, **kwargs)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 50, in get
self.RetrieveSecret(volume_uuid)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 194, in RetrieveSecret
self.SendRetrievalEmail(entity, user)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 239, in SendRetrievalEmail
body = self.RenderTemplate('retrieval_email.txt', data, response_out=False)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 137, in RenderTemplate
html = template.render(os.path.join(TEMPLATE_DIR, template_path), params)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/tests/gae_server.zip/google/appengine/ext/webapp/template.py", line 91, in render
t = _load_user_django(template_path, debug)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/tests/gae_server.zip/google/appengine/ext/webapp/template.py", line 113, in _load_user_django
template = django.template.loader.get_template(file_name)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/loader.py", line 26, in get_template
engines = _engine_list(using)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/loader.py", line 143, in _engine_list
return engines.all() if using is None else [engines[using]]
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/utils.py", line 110, in all
return [self[alias] for alias in self]
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/utils.py", line 101, in __getitem__
engine = engine_cls(params)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/backends/django.py", line 31, in __init__
options['libraries'] = self.get_templatetag_libraries(libraries)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/backends/django.py", line 49, in get_templatetag_libraries
libraries = get_installed_libraries()
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/backends/django.py", line 121, in get_installed_libraries
for app_config in apps.get_app_configs())
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/apps/registry.py", line 137, in get_app_configs
self.check_apps_ready()
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/apps/registry.py", line 124, in check_apps_ready
raise AppRegistryNotReady("Apps aren't loaded yet.")
AppRegistryNotReady: Apps aren't loaded yet.
FWARNING:root:handle_exception: Traceback (most recent call last):
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 570, in dispatch
return method(*args, **kwargs)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 50, in get
self.RetrieveSecret(volume_uuid)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 188, in RetrieveSecret
self.CheckRetrieveAuthorization(entity=entity, user=user)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 166, in CheckRetrieveAuthorization
raise models.AccessError('Not authorized to access this secret.')
AccessError: Not authorized to access this secret.
..WARNING:root:handle_exception: Traceback (most recent call last):
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 570, in dispatch
return method(*args, **kwargs)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 50, in get
self.RetrieveSecret(volume_uuid)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 188, in RetrieveSecret
self.CheckRetrieveAuthorization(entity=entity, user=user)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 166, in CheckRetrieveAuthorization
raise models.AccessError('Not authorized to access this secret.')
AccessError: Not authorized to access this secret.
...ERROR:root:Apps aren't loaded yet.
Traceback (most recent call last):
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 1535, in __call__
rv = self.handle_exception(request, response, e)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 1529, in __call__
rv = self.router.dispatch(request, response)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 1278, in default_dispatcher
return route.handler_adapter(request, response)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 1102, in __call__
return handler.dispatch()
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 572, in dispatch
return self.handle_exception(e, self.app.debug)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 368, in handle_exception
super(AccessHandler, self).handle_exception(exception, debug_mode)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 570, in dispatch
return method(*args, **kwargs)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 50, in get
self.RetrieveSecret(volume_uuid)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 194, in RetrieveSecret
self.SendRetrievalEmail(entity, user)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 239, in SendRetrievalEmail
body = self.RenderTemplate('retrieval_email.txt', data, response_out=False)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 137, in RenderTemplate
html = template.render(os.path.join(TEMPLATE_DIR, template_path), params)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/tests/gae_server.zip/google/appengine/ext/webapp/template.py", line 91, in render
t = _load_user_django(template_path, debug)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/tests/gae_server.zip/google/appengine/ext/webapp/template.py", line 113, in _load_user_django
template = django.template.loader.get_template(file_name)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/loader.py", line 26, in get_template
engines = _engine_list(using)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/loader.py", line 143, in _engine_list
return engines.all() if using is None else [engines[using]]
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/utils.py", line 110, in all
return [self[alias] for alias in self]
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/utils.py", line 101, in __getitem__
engine = engine_cls(params)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/backends/django.py", line 31, in __init__
options['libraries'] = self.get_templatetag_libraries(libraries)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/backends/django.py", line 49, in get_templatetag_libraries
libraries = get_installed_libraries()
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/backends/django.py", line 121, in get_installed_libraries
for app_config in apps.get_app_configs())
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/apps/registry.py", line 137, in get_app_configs
self.check_apps_ready()
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/apps/registry.py", line 124, in check_apps_ready
raise AppRegistryNotReady("Apps aren't loaded yet.")
AppRegistryNotReady: Apps aren't loaded yet.
FERROR:root:Apps aren't loaded yet.
Traceback (most recent call last):
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 1535, in __call__
rv = self.handle_exception(request, response, e)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 1529, in __call__
rv = self.router.dispatch(request, response)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 1278, in default_dispatcher
return route.handler_adapter(request, response)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 1102, in __call__
return handler.dispatch()
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 572, in dispatch
return self.handle_exception(e, self.app.debug)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 368, in handle_exception
super(AccessHandler, self).handle_exception(exception, debug_mode)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/webapp2-2.5.2-py2.7.egg/webapp2.py", line 570, in dispatch
return method(*args, **kwargs)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 50, in get
self.RetrieveSecret(volume_uuid)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 194, in RetrieveSecret
self.SendRetrievalEmail(entity, user)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 239, in SendRetrievalEmail
body = self.RenderTemplate('retrieval_email.txt', data, response_out=False)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/cauliflowervest/server/handlers/__init__.py", line 137, in RenderTemplate
html = template.render(os.path.join(TEMPLATE_DIR, template_path), params)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/tests/gae_server.zip/google/appengine/ext/webapp/template.py", line 91, in render
t = _load_user_django(template_path, debug)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/src/tests/gae_server.zip/google/appengine/ext/webapp/template.py", line 113, in _load_user_django
template = django.template.loader.get_template(file_name)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/loader.py", line 26, in get_template
engines = _engine_list(using)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/loader.py", line 143, in _engine_list
return engines.all() if using is None else [engines[using]]
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/utils.py", line 110, in all
return [self[alias] for alias in self]
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/utils.py", line 101, in __getitem__
engine = engine_cls(params)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/backends/django.py", line 31, in __init__
options['libraries'] = self.get_templatetag_libraries(libraries)
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/backends/django.py", line 49, in get_templatetag_libraries
libraries = get_installed_libraries()
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/template/backends/django.py", line 121, in get_installed_libraries
for app_config in apps.get_app_configs())
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/apps/registry.py", line 137, in get_app_configs
self.check_apps_ready()
File "/Users/jlowry/Downloads/cauliflowervest-0.10.1/Django-1.9-py2.7.egg/django/apps/registry.py", line 124, in check_apps_ready
raise AppRegistryNotReady("Apps aren't loaded yet.")
AppRegistryNotReady: Apps aren't loaded yet.
F...
======================================================================
FAIL: testBarcode (handlers_test.RetrieveSecretTest)
testBarcode (handlers_test.RetrieveSecretTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "src/tests/cauliflowervest/server/handlers/handlers_test.py", line 188, in testBarcode
self.assertIn('<img class="qr_code" ', resp.body)
AssertionError: '<img class="qr_code" ' not found in '500 Internal Server Error\n\nThe server has either erred or is incapable of performing the requested operation.\n\n '
======================================================================
FAIL: testCheckAuthzCreatorOk (handlers_test.RetrieveSecretTest)
testCheckAuthzCreatorOk (handlers_test.RetrieveSecretTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "src/tests/cauliflowervest/server/handlers/handlers_test.py", line 227, in testCheckAuthzCreatorOk
self.assertEqual(200, resp.status_int)
AssertionError: 200 != 500
======================================================================
FAIL: testCheckAuthzGlobalOk (handlers_test.RetrieveSecretTest)
testCheckAuthzGlobalOk (handlers_test.RetrieveSecretTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "src/tests/cauliflowervest/server/handlers/handlers_test.py", line 247, in testCheckAuthzGlobalOk
self.assertEqual(200, resp.status_int)
AssertionError: 200 != 500
======================================================================
FAIL: testByPermRead (handlers_test.SendRetrievalEmailTest)
testByPermRead (handlers_test.SendRetrievalEmailTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "src/tests/cauliflowervest/server/handlers/handlers_test.py", line 401, in testByPermRead
self.assertEqual(1, mock_send_email.call_count)
AssertionError: 1 != 0
======================================================================
FAIL: testByPermSilent (handlers_test.SendRetrievalEmailTest)
testByPermSilent (handlers_test.SendRetrievalEmailTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "src/tests/cauliflowervest/server/handlers/handlers_test.py", line 377, in testByPermSilent
self.assertEqual(1, mock_send_email.call_count)
AssertionError: 1 != 0
----------------------------------------------------------------------
Ran 19 tests in 0.191s
FAILED (failures=5)
WARNING:root:You are using the default Django version (0.96). The default Django version will change in an App Engine release in the near future. Please call use_library() to explicitly select a Django version. For more information see https://developers.google.com/appengine/docs/python/tools/libraries#Django
Testing luks_test
......
----------------------------------------------------------------------
Ran 6 tests in 0.002s
OK
WARNING:root:You are using the default Django version (0.96). The default Django version will change in an App Engine release in the near future. Please call use_library() to explicitly select a Django version. For more information see https://developers.google.com/appengine/docs/python/tools/libraries#Django
Testing search_test
...
----------------------------------------------------------------------
Ran 3 tests in 0.001s
OK
make: *** [test] Error 1
I am not sure what I can do next to resolve the failures I am getting. Any suggestion would be most welcome.
--
John Lowry
--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.
...