Django from GitHub not available for wsgi daemon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-django (Juju Charms Collection) |
Confirmed
|
Undecided
|
Patrick Hetu |
Bug Description
Content of config.yaml:
python-django:
additional_
application_path: code/Souvenirs
django_version: git+git:
repos_url: https://...
site_secret_key: ...
vcs: git
wsgi_
wsgi_log_file: /var/log/
requirements_
Deployment:
juju bootstrap
juju deploy python-django --config config.yaml
juju deploy postgresql
juju deploy gunicorn
juju add-relation python-django gunicorn
juju add-relation python-django postgresql:db
Some actions:
~$ juju ssh python-django/0
Welcome to Ubuntu 12.04.4 LTS (GNU/Linux 3.11.0-18-generic x86_64)
...
ubuntu@
root@david-
Python 2.7.3 (default, Feb 27 2014, 19:58:35)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import django
>>> django
<module 'django' from '/var/lib/
>>>
root@david-
$ python
Python 2.7.3 (default, Feb 27 2014, 19:58:35)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import django
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named django
>>> import sys
>>> sys.path
['', '/usr/lib/
Changed in python-django (Juju Charms Collection): | |
assignee: | nobody → Patrick Hetu (patrick-hetu) |
status: | New → Confirmed |