Issue #300
closedno word about django and flake8 in docs for dev setup
Description
There is no word about (1)django and (2)flake8 dependencies in docs [1]
(1) no django error:
There was an internal server error while trying to access the Pulp application.
One possible cause is that the database needs to be migrated to the latest
version. If this is the case, run pulp-manage-db and restart the services. More
information may be found in Apache's log.
and traceback in httpd logs:
mod_wsgi (pid=13152): Target WSGI script '/srv/pulp/webservices.wsgi' cannot be loaded as Python module.
mod_wsgi (pid=13152): Exception occurred processing WSGI script '/srv/pulp/webservices.wsgi'.
Traceback (most recent call last):
File "/srv/pulp/webservices.wsgi", line 16, in <module>
from pulp.server.webservices.application import wsgi_application
File "/home/fedora/pulp/server/pulp/server/webservices/application.py", line 39, in <module>
from pulp.server.webservices.middleware.exception import ExceptionHandlerMiddleware
File "/home/fedora/pulp/server/pulp/server/webservices/middleware/exception.py", line 20, in <module>
from django.http import HttpResponse, HttpResponseServerError
ImportError: No module named django.http
(2) no flake8:
./run-tests.py
Running flake8
Traceback (most recent call last):
File "./run-tests.py", line 69, in <module>
flake8_paths=paths_to_check)
File "/home/fedora/pulp/devel/pulp/devel/test_runner.py", line 78, in run_tests
flake8_exit_code = subprocess.call(flake8_command)
File "/usr/lib64/python2.7/subprocess.py", line 522, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib64/python2.7/subprocess.py", line 710, in init
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
[1] http://pulp.readthedocs.org/en/latest/dev-guide/contributing/dev_setup.html#dependencies
Files