Skip to content

Instantly share code, notes, and snippets.

Environment:
Request Method: GET
Request URL: http://localhost:10080/connect/callback/facebook/?code=AQANhZkSgGyO94cxGtcf4HQ0TtiRqZ5TWwJkSe7gEw8Z1Prqp8OkX4xQSsrlOUCQsVB_zOSf7I7FzgFFO4Q4dloR4p8GNHoD7Z-sdahUgpS_TgTCghoTSKvmDInwLvlVOT1Gs7k2htVgeNOMAzrKRlfDun0nP7QNBrKm96RCsf6aMteqDy6w-CD6K10jH1XSrRU
Django Version: 1.3
Python Version: 2.7.2
Installed Applications:
['sorl.thumbnail',
[2013-08-08T10:27:20-06:00] INFO: *** Chef 10.24.4 ***
[2013-08-08T10:27:21-06:00] INFO: Client key /etc/chef/client.pem is not present - registering
[2013-08-08T10:27:21-06:00] INFO: HTTP Request Returned 404 Not Found: Cannot load node sandbox
[2013-08-08T10:27:21-06:00] INFO: Setting the run_list to ["role[mysql-master]", "role[redis-server]", "role[application-worker]", "role[vanity]"] from JSON
[2013-08-08T10:27:21-06:00] INFO: HTTP Request Returned 404 Not Found: Cannot load role mysql-master
[2013-08-08T10:27:21-06:00] ERROR: Role mysql-master (included by 'top level') is in the runlist but does not exist. Skipping expand.
[2013-08-08T10:27:21-06:00] INFO: HTTP Request Returned 404 Not Found: Cannot load role redis-server
[2013-08-08T10:27:21-06:00] ERROR: Role redis-server (included by 'top level') is in the runlist but does not exist. Skipping expand.
[2013-08-08T10:27:21-06:00] INFO: HTTP Request Returned 404 Not Found: Cannot load role application-worker
[2013-08-08T10:27:21-06:00] ERROR: Role appl
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files
Updating the "app/config/parameters.yml" file.
Some parameters are missing. Please provide them.
hipchat_api_key (replace_me):asdf
legacy_external_shortener_host (null):asdf
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap handling the post-install-cmd event terminated with an exception
defaults: {
...
},
toggle: function() {
//is it completed?
console.log(this.get('completed'));
this.set('completed', !this.get('completed'));
}
var MyView = Backbone.View.extend({
events: {
'click .my-item': 'doSomething',
'click .my-other-item': 'doNothing'
}
doSomething: function() {
console.log("do something!");
}
doNothing: function() {
console.log("do nothing!");
[2013-10-07T22:42:47-06:00] INFO: *** Chef 10.24.4 ***
[2013-10-07T22:42:55-06:00] INFO: Run List is [role[mysql-master], role[redis-server], role[application-worker], role[vanity]]
[2013-10-07T22:42:55-06:00] INFO: Run List expands to [selinux::disabled, chef-client::delete_validation, chef-client::config, chef-client::cron, yumrepo, ntp, scan-mysql-server, scan-firewall, redisio::install, redisio::enable, scan-app-worker::ruby-workers, scan-openresty, scan-php-fpm, scan-vanity]
[2013-10-07T22:42:55-06:00] INFO: HTTP Request Returned 404 Not Found: No routes match the request: /reports/nodes/sandbox/runs
[2013-10-07T22:42:55-06:00] INFO: Starting Chef Run for sandbox
[2013-10-07T22:42:55-06:00] INFO: Running start handlers
[2013-10-07T22:42:55-06:00] INFO: Start handlers complete.
[2013-10-07T22:42:56-06:00] INFO: Loading cookbooks [aws, build-essential, chef-client, chef_handler, database, logrotate, mysql, nodejs, npm, ntp, openssl, postgresql, redisio, scan-app-worker, scan-firewall, scan-mysql-server, sc
Generated at 2013-10-07 23:35:49 -0600
Mixlib::ShellOut::ShellCommandFailed: deploy_revision[/home/scan/services/activity] (scan-app-worker::ruby-workers line 263) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '128'
---- Begin output of git ls-remote git@github.com:scaninc/activity.git master ----
STDOUT:
STDERR: Permission denied (publickey).
fatal: The remote end hung up unexpectedly
---- End output of git ls-remote git@github.com:scaninc/activity.git master ----
Ran git ls-remote git@github.com:scaninc/activity.git master returned 128
/usr/lib64/ruby/gems/1.9.1/gems/mixlib-shellout-1.2.0/lib/mixlib/shellout.rb:251:in `invalid!'
/usr/lib64/ruby/gems/1.9.1/gems/mixlib-shellout-1.2.0/lib/mixlib/shellout.rb:237:in `error!'
app.get('/', function(req, res) {
res.type('application/json');
res.setHeader('Access-Control-Allow-Origin', '*');
res.send(JSON.stringify(messages));
});
app.post('/', function(req, res) {
messages.push(req.body);
res.send();
});
var messages = [{text: 'hi there'}];
var express = require('express');
var app = express();
app.configure(function() {
app.use(express.bodyParser());
app.use(function(req, res, next) {
res.header('Access-Control-Allow-Origin', '*');
res.header('Access-Control-Allow-Methods', 'OPTIONS, GET, POST');
================================================================================
Error executing action `force_deploy` on resource 'deploy_revision[/home/scan/services/publicity]'
================================================================================
Chef::Exceptions::Exec
----------------------
true && (if [ -f config/database.yml ]; then RACK_ENV=development SANDBOX_MODE=1 bundle exec rake db:migrate; fi) returned 1, expected 0
Resource Declaration:
---------------------