Skip to content

Instantly share code, notes, and snippets.

@facuescobar
Created February 11, 2016 21:42
Show Gist options
  • Save facuescobar/6ae31e38fb19024e12f5 to your computer and use it in GitHub Desktop.
Save facuescobar/6ae31e38fb19024e12f5 to your computer and use it in GitHub Desktop.
(rebelmouse)escobar@beta1:~/rebelmouse$ deploy-roar sports_illustrated
[localhost:8022] Executing task 'prod'
[localhost:8022] Executing task 'deploy_roar'
[localhost] local: ls -1 ./engine/
[localhost] local: hostname
beta1
[localhost] local: test -f /tmp/deploy2.lock && echo True || echo False
[localhost] local: test -f /tmp/rebelmouse2.lock && echo True || echo False
False
[localhost] local: echo -n escobar > /tmp/rebelmouse2.lock
[localhost:8022] run: whoami
[localhost:8022] Login password for 'escobar':
[localhost:8022] out: escobar
[localhost:8022] out:
Is there any change in css/js files? [y/N] y
[localhost:8022] running tests..
[localhost] local: /bin/bash -c "set -o pipefail && RM_ENV=dev && $WORKON_HOME/rebelmouse/bin/python manage.py test engine --failfast --noinput 2>&1 > /mnt/local/tmp/log/escobar-2016-02-11-2140-test.log | tee /mnt/local/tmp/log/escobar-2016-02-11-2140-test-error.log && $WORKON_HOME/rebelmouse/bin/python manage.py test community/dynamic_content/tests/test_validate_xml.py --failfast 2>&1 > /mnt/local/tmp/log/escobar-2016-02-11-2140-test.log | tee /mnt/local/tmp/log/escobar-2016-02-11-2140-test-error.log "
'Raven is not configured (logging is disabled). Please see the documentation for more information.'
E
======================================================================
ERROR: Failure: ImportError (cannot import name get_request_environment)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/escobar/envs/rebelmouse/local/lib/python2.7/site-packages/nose/loader.py", line 413, in loadTestsFromName
addr.filename, addr.module)
File "/home/escobar/envs/rebelmouse/local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/home/escobar/envs/rebelmouse/local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/mnt/local/home/escobar/rebelmouse/engine/core/__init__.py", line 5, in <module>
from utils import get_current_site
File "/mnt/local/home/escobar/rebelmouse/engine/core/utils.py", line 1, in <module>
from community.views.frontpage import get_request_site
File "/mnt/local/home/escobar/rebelmouse/community/views/frontpage.py", line 8, in <module>
from engine.core.request_environment import get_request_environment
File "/mnt/local/home/escobar/rebelmouse/engine/core/request_environment.py", line 2, in <module>
from services import get_engine_services
File "/mnt/local/home/escobar/rebelmouse/engine/core/services/__init__.py", line 4, in <module>
from engine_services import get_engine_services
File "/mnt/local/home/escobar/rebelmouse/engine/core/services/engine_services.py", line 2, in <module>
from template_service import get_template_service, SkeletonTemplate, SkeletonHtmlTemplate
File "/mnt/local/home/escobar/rebelmouse/engine/core/services/template_service.py", line 4, in <module>
from engine.core import exceptions as skeleton_exceptions
File "/mnt/local/home/escobar/rebelmouse/engine/core/exceptions.py", line 5, in <module>
from community.dynamic_content.exceptions import BaseSkeletonException
File "/mnt/local/home/escobar/rebelmouse/community/dynamic_content/__init__.py", line 1, in <module>
from .component import DynamicContentComponent
File "/mnt/local/home/escobar/rebelmouse/community/dynamic_content/component.py", line 1, in <module>
from .shortcuts import load_models, render
File "/mnt/local/home/escobar/rebelmouse/community/dynamic_content/shortcuts.py", line 2, in <module>
import render_handlers
File "/mnt/local/home/escobar/rebelmouse/community/dynamic_content/render_handlers/__init__.py", line 3, in <module>
from core import get_handlers_for_type, get_output_for_type
File "/mnt/local/home/escobar/rebelmouse/community/dynamic_content/render_handlers/core.py", line 2, in <module>
import html
File "/mnt/local/home/escobar/rebelmouse/community/dynamic_content/render_handlers/html.py", line 8, in <module>
from .. import data_loaders
File "/mnt/local/home/escobar/rebelmouse/community/dynamic_content/data_loaders.py", line 3, in <module>
from engine.core.request_environment import get_request_environment
ImportError: cannot import name get_request_environment
-------------------- >> begin captured logging << --------------------
raven.contrib.django.client.DjangoClient: INFO:
"'Raven is not configured (logging is disabled). Please see the documentation for more information.'"
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
Ran 1 test in 0.001s
FAILED (errors=1)
Warning: local() encountered an error (return code 1) while executing '/bin/bash -c "set -o pipefail && RM_ENV=dev && $WORKON_HOME/rebelmouse/bin/python manage.py test engine --failfast --noinput 2>&1 > /mnt/local/tmp/log/escobar-2016-02-11-2140-test.log | tee /mnt/local/tmp/log/escobar-2016-02-11-2140-test-error.log && $WORKON_HOME/rebelmouse/bin/python manage.py test community/dynamic_content/tests/test_validate_xml.py --failfast 2>&1 > /mnt/local/tmp/log/escobar-2016-02-11-2140-test.log | tee /mnt/local/tmp/log/escobar-2016-02-11-2140-test-error.log "'
You can find stdout log at /mnt/local/tmp/log/escobar-2016-02-11-2140-test.log
The error's log is located at /mnt/local/tmp/log/escobar-2016-02-11-2140-test-error.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment