Skip to content

Instantly share code, notes, and snippets.

View natea's full-sized avatar

Nate Aune natea

View GitHub Profile
Nov 6 23:30:48 ip-172-31-17-166 [service_variant=cms][root][env:sandbox] ERROR [ip-172-31-17-166 664] [exceptions.py:9] - Uncaught exception from <class 'django.core.handlers.wsgi.WSGIHandler'>
Traceback (most recent call last):
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 20, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/utils/decorators.py", line 91, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/views/decorators/http.py", line 41, in inner
return func(request, *args, **kwargs)
$ /edx/bin/update edx-platform isc
[WARNING]: It is unneccessary to use '{{' in loops, leave variables in loop
expressions bare.
PLAY [Deploy edxapp] **********************************************************
GATHERING FACTS ***************************************************************
ok: [localhost]
TASK: [edxapp | gather static assets with paver] *****************************
failed: [localhost] => (item=lms) => {"changed": true, "cmd": "SERVICE_VARIANT=lms paver update_assets lms --settings=aws ", "delta": "0:02:16.397247", "end": "2014-11-04 01:49:29.749790", "item": "lms", "rc": 1, "start": "2014-11-04 01:47:13.352543"}
stderr: 2014-11-03 20:47:18,390 INFO 19410 [dd.dogapi] dog_stats_api.py:66 - Initializing dog api to use statsd: localhost, 8125
2014-11-03 20:47:21,187 INFO 19410 [lms.startup] startup.py:122 - Loading microsite /edx/app/edxapp/edx-microsite/default
2014-11-03 20:49:05,054 INFO 19880 [dd.dogapi] dog_stats_api.py:66 - Initializing dog api to use statsd: localhost, 8125
2014-11-03 20:49:06,053 INFO 19880 [lms.startup] startup.py:122 - Loading microsite /edx/app/edxapp/edx-microsite/default
Traceback (most recent call last):
File "manage.py", line 95, in <module>
execute_from_command_line([sys.argv[0]] + django_args)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-p
@natea
natea / gist:6055107f325a32b71f05
Last active August 29, 2015 14:08
edx-platform / conf / locale / en / LC_MESSAGES / django.po
# #-#-#-#-# django-partial.po (edx-platform) #-#-#-#-#
# Copyright (C) 2014 EdX
# This file is distributed under the GNU AFFERO GENERAL PUBLIC LICENSE.
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: edx-platform\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2014-09-08 10:58-0400\n"
Exception:
Traceback (most recent call last):
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/pip/commands/install.py", line 278, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/pip/req.py", line 1197, in prepare_files
do_download,
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/pip/req.py", line 1375, in unpack_url
self.session,
@natea
natea / gist:cb709eb6d31fa374a950
Created November 4, 2014 03:03
Plone build on Heroku failed
Created App
Configured Environment
Build App
There was an issue building your app. This can mean your app.json's project is not a valid Heroku application. Please ensure your app is deployable to Heroku and try again.
-----> Fetching custom git buildpack... done
-----> Plone app detected
-----> Use build cache
Cache empty, let's fix that
Prime with Unified Installer cache
TASK: [edxapp | stat path="{{custom_requirements_file}}"] *********************
<127.0.0.1> REMOTE_MODULE stat path="/edx/app/edxapp/edx-platform/requirements/edx/custom.txt"
ok: [127.0.0.1] => {"changed": false, "item": "", "stat": {"atime": 1414716595.7473216, "ctime": 1414716594.6073236, "dev": 26, "exists": true, "gid": 1001, "inode": 57928, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "md5": "d4c278bde81eebf619aa356b1f777c13", "mode": "0644", "mtime": 1414716594.6073236, "nlink": 1, "pw_name": "edxapp", "rgrp": true, "roth": true, "rusr": true, "size": 119, "uid": 1001, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false}}
TASK: [edxapp | install python custom-requirements] ***************************
fatal: [127.0.0.1] => error while evaluating conditional: custom_requirements.stat.exists and new.stat.md5 != inst.stat.md5
FATAL: all hosts have already failed -- aborti
nateaune at natembp in ~
$ boot2docker up
Waiting for VM and Docker daemon to start...
.o
Started.
Writing /Users/nateaune/.boot2docker/certs/boot2docker-vm/ca.pem
Writing /Users/nateaune/.boot2docker/certs/boot2docker-vm/cert.pem
Writing /Users/nateaune/.boot2docker/certs/boot2docker-vm/key.pem
To connect the Docker client to the Docker daemon, please set:
(launcher)➜ launcher git:(develop) ✗ python manage.py syncdb
Syncing...
Creating tables ...
Creating table django_site
Creating table account_emailaddress
Creating table account_emailconfirmation
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)
(launcher)➜ deploy git:(develop) ✗ vagrant destroy
default: Are you sure you want to destroy the 'default' VM? [y/N] y
==> default: Forcing shutdown of VM...
==> default: Destroying VM and associated drives...
==> default: Removing hosts
==> default: Running cleanup tasks for 'ansible' provisioner...
(launcher)➜ deploy git:(develop) ✗ vagrant -v up
Vagrant 1.6.5
(launcher)➜ deploy git:(develop) ✗ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...