Comments (4)
I cannot reproduce this and searching for the exception doesn't seem to lead anywhere either.
Django Admin (including index.html
) is located under Django's contrib dir (/srv/cloudlaunch/.cl/lib/python2.7/site-packages/django/contrib/admin/templates
).
The only thing I noticed is that your venv is in ~/.pyenv
. So did you change paths in Procfile* and supervisor confs to reflect that because the instructions and consequently those scripts are currently hard coded to use the virtualenv from /srv/cloudlaunch/.cl
?
from cloudlaunch.
The virtualenv, courtesy of pyenv-virtualenv, is located in ~/.pyenv/versions and is called cloudlaunch. Then I simply symlinked /srv/cloudlaunch/.cl to the virtualenv directory. I do not see the templates directory in the django/contrib/admin directory.
If I understand correctly, django searches for an application specific login template at a path relative to the root of the application (/srv/cloudlaunch/cloudlaunch/templates/admin/login.html). If this does not exist, it checks for a templates through the following, which makes user of the TEMPLATE_DIRS/DIRS variable in settings.py:
Using loader django.template.loaders.app_directories.Loader
/home/ralstonm/.pyenv/versions/cloudlaunch/lib/python2.7/site-packages/bootstrap_toolkit/templates/admin/login.html (File does not exist)
I'm not sure why your django installation contains these templates... Can you confirm that my pypy packages are correct from the pip freeze
above?
/srv/cloudlaunch >/bin/ls .cl/lib/python2.7/site-packages/django/contrib/admin/
actions.py filterspecs.py forms.py helpers.py __init__.py models.py options.py sites.py templatetags util.pyc validation.pyc widgets.py
actions.pyc filterspecs.pyc forms.pyc helpers.pyc __init__.pyc models.pyc options.pyc sites.pyc util.py validation.py views widgets.pyc
from cloudlaunch.
This is the output from my pip freeze
:
amqp==1.0.12
anyjson==0.3.3
argparse==1.2.1
billiard==2.7.3.31
bioblend==0.7.0-dev
boto==2.38.0
celery==3.0.21
Django==1.3
django-bootstrap-toolkit==2.12.0
django-celery==3.0.17
dj-database-url==0.2.1
gunicorn==17.5
honcho==0.6.6
Jinja2==2.7
kombu==2.5.12
MarkupSafe==0.18
mock==1.0.1
nose==1.3.0
poster==0.8.1
psycopg2==2.4.2
python-dateutil==2.1
python-memcached==1.48
pytz==2013b
PyYAML==3.11
requests==2.7.0
requests-toolbelt==0.4.0
simplejson==3.3.0
six==1.9.0
South==0.7.3
wsgiref==0.1.2
There are differences with argparse, gunicorn, meld3, requests
but none of those seem related.
If youβre missing dirs under the Django installation path, perhaps try reinstalling Django?
from cloudlaunch.
Yes. I uninstalled the django version installed via pip, downloaded source, and ran setup.py. This produced the correct directory structure reflecting the release 1.3.7 for Django on github. This solved my problem. Thank you.
from cloudlaunch.
Related Issues (20)
- GVL Galaxy: Error during initial launch HOT 1
- Cloudlaunch reverts to old user HOT 11
- Launch one instance from GVL with AWS China, please help HOT 3
- create appliance task failed HOT 1
- Trinity de novo hung cloning HOT 1
- AWS region locked account causes credentials test to fail HOT 8
- Trying to reopen Issue #238 HOT 1
- Galaxy Genomics Virtual Lab setup error "Get Role" HOT 1
- Cannot delete a cloud launch HOT 1
- Unable to select instance - Server Error 500 HOT 7
- Spawning GVL 5.0 beta5 fails HOT 6
- Error requiring ENA when it is enabled.
- Error creating my own galaxy cluster... HOT 1
- Log In failed HOT 1
- cloudlaunch newbie, got this error HOT 1
- Error trying to launch appliance HOT 1
- Create task failed HOT 1
- Admin Interface on Cloudman
- LOGIN Issues: GVL version 5.0 beta4 HOT 1
- Failed to Delete Appliance HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudlaunch.