Skip to content

Instantly share code, notes, and snippets.

@growdigital
Last active August 29, 2015 14:16
Show Gist options
  • Save growdigital/92cc7d9dacb83b2ac2b4 to your computer and use it in GitHub Desktop.
Save growdigital/92cc7d9dacb83b2ac2b4 to your computer and use it in GitHub Desktop.
inthe.am dev env error
## Command line error
Welcome to your Vagrant-built virtual machine.
Last login: Fri Sep 14 06:22:31 2012 from 10.0.2.2
/usr/bin/xauth: file /home/vagrant/.Xauthority does not exist
(twweb)vagrant@precise32:~$ cd /var/www/twweb
(twweb)vagrant@precise32:/var/www/twweb$ python manage.py run
Note: It will take a few seconds for both necessary
servers to start. Once you see the message
message 'Build Successful', both servers are up.
version: 0.2.0-beta.1
Validating models...
Could not find watchman, falling back to NodeWatcher for file system events
0 errors found
February 26, 2015 - 10:08:53
Django version 1.6.1, using settings 'inthe_am.settings'
Starting development server at http://0.0.0.0:8001/
Quit the server with CONTROL-C.
Cannot find module '/var/www/twweb/node_modules/broccoli-ember-hbs-template-compiler'
Error: Cannot find module '/var/www/twweb/node_modules/broccoli-ember-hbs-template-compiler'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at requireLocal (/usr/lib/node_modules/ember-cli/lib/utilities/require-local.js:6:10)
at TemplatePlugin.toTree (/usr/lib/node_modules/ember-cli/lib/preprocessors/template-plugin.js:16:10)
at /usr/lib/node_modules/ember-cli/lib/preprocessors.js:170:26
at Array.forEach (native)
at processPlugins (/usr/lib/node_modules/ember-cli/lib/preprocessors.js:169:11)
at module.exports.preprocessTemplates (/usr/lib/node_modules/ember-cli/lib/preprocessors.js:152:10)
at EmberApp._processedTemplatesTree (/usr/lib/node_modules/ember-cli/lib/broccoli/ember-app.js:531:10)
Raven is not configured (logging is disabled). Please see the documentation for more information.
---
# Browser IO Error
IOError at /
[Errno 2] No such file or directory: '/var/www/twweb/dist/index.html'
Request Method: GET
Request URL: http://0.0.0.0:8001/
Django Version: 1.6.1
Exception Type: IOError
Exception Value:
[Errno 2] No such file or directory: '/var/www/twweb/dist/index.html'
Exception Location: /var/www/twweb/inthe_am/taskmanager/urls.py in fallback, line 29
Python Executable: /var/www/envs/twweb/bin/python
Python Version: 2.7.3
Python Path:
['/var/www/twweb',
'/var/www/envs/twweb/src/django-behave',
'/var/www/envs/twweb/src/taskw',
'/var/www/envs/twweb/src/python-social-auth',
'/var/www/twweb',
'/var/www/envs/twweb/lib/python2.7',
'/var/www/envs/twweb/lib/python2.7/plat-linux2',
'/var/www/envs/twweb/lib/python2.7/lib-tk',
'/var/www/envs/twweb/lib/python2.7/lib-old',
'/var/www/envs/twweb/lib/python2.7/lib-dynload',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-linux2',
'/usr/lib/python2.7/lib-tk',
'/var/www/envs/twweb/local/lib/python2.7/site-packages',
'/var/www/twweb']
Server time: Thu, 26 Feb 2015 10:12:43 +0000
---
# Traceback
Environment:
Request Method: GET
Request URL: http://0.0.0.0:8001/
Django Version: 1.6.1
Python Version: 2.7.3
Installed Applications:
('django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'social.apps.django_app.default',
'gunicorn',
'inthe_am.taskmanager',
'django_mailbox',
'south',
'tastypie',
'django_extensions',
'raven.contrib.django.raven_compat',
'django_behave',
'storages')
Installed Middleware:
('django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware')
Traceback:
File "/var/www/envs/twweb/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
114. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/var/www/twweb/inthe_am/taskmanager/urls.py" in fallback
29. with open(index_template_path) as index:
Exception Type: IOError at /
Exception Value: [Errno 2] No such file or directory: '/var/www/twweb/dist/index.html'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment