Project

Profile

Help

Issue #300

closed

no word about django and flake8 in docs for dev setup

Added by igulina@redhat.com about 9 years ago. Updated about 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
Platform Release:
2.7.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation, Pulp 2
Sprint:
Quarter:

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

Screenshot from 2015-06-17 14_41_49.jpg (253 KB) Screenshot from 2015-06-17 14_41_49.jpg docs bad formating igulina@redhat.com, 06/17/2015 02:45 PM
Screenshot from 2015-07-09 18_31_34.png (149 KB) Screenshot from 2015-07-09 18_31_34.png igulina@redhat.com, 07/09/2015 06:32 PM

Also available in: Atom PDF