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
Updated by ipanova@redhat.com almost 9 years ago
- Triaged changed from No to Yes
- Severity set to Low
Updated by amacdona@redhat.com almost 9 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to amacdona@redhat.com
Updated by amacdona@redhat.com almost 9 years ago
- Status changed from ASSIGNED to POST
I can confirm that Django is a requirement for more than just devs. The lack of Django was a bug which has been fixed:
https://github.com/pulp/pulp/blob/master/pulp.spec#L329
Flake8 is a new dep for developers, so I have added it to the docs and the dev-setup script.
Updated by amacdona@redhat.com almost 9 years ago
- Status changed from POST to MODIFIED
Updated by bmbouter over 8 years ago
- Category deleted (
1) - Tags Documentation added
Documentation is now a Tag not a Category.
Updated by dkliban@redhat.com over 8 years ago
- Status changed from MODIFIED to 5
Updated by igulina@redhat.com over 8 years ago
- File Screenshot from 2015-06-17 14_41_49.jpg Screenshot from 2015-06-17 14_41_49.jpg added
- Status changed from 5 to ASSIGNED
Please correct docs. See a pic attached.
Updated by amacdona@redhat.com over 8 years ago
The sphinx syntax error that caused this issue has been fixed in other changes and works in 2.7-testing and forward.
This has been realigned to 2.7-testing, and those docs are not built anywhere so to verify, you will have to build the docs locally.
Updated by amacdona@redhat.com over 8 years ago
- Status changed from ASSIGNED to 5
Updated by igulina@redhat.com over 8 years ago
Does it also implies to this sphinx syntax error?
Updated by amacdona@redhat.com over 8 years ago
Yes, that was fixed by a different PR. You will have to build the docs to verify.
Updated by amacdona@redhat.com about 8 years ago
- Status changed from 6 to CLOSED - CURRENTRELEASE