Bug 832474 - cobbler_web It Does Not Work (Django django.contrib.csrf.middleware "No module named csrf.middleware")
Summary: cobbler_web It Does Not Work (Django django.contrib.csrf.middleware "No modul...
Keywords:
Status: CLOSED DUPLICATE of bug 828632
Alias: None
Product: Fedora
Classification: Fedora
Component: cobbler
Version: 17
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: James C.
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-15 13:47 UTC by Christian González
Modified: 2012-06-16 15:09 UTC (History)
4 users (show)

Fixed In Version: 2.2.3-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-16 15:09:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Christian González 2012-06-15 13:47:40 UTC
Description of problem:
I installed cobbler-web-2.2.2-1.fc17.noarch on my Fedora 17,  I configured this and I have got the following error on my web browser when I tried to access to

http://miserver/cobbler_web

---------------------------
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Apache/2.2.22 (Fedora) Server at fedora.sigis.local Port 80
--------------------------


And in my apache log file I have got:

--------------------------
mod_wsgi (pid=7821): Exception occurred processing WSGI script '/usr/share/cobbler/web/cobbler.wsgi'.
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 219, in __call__
    self.load_middleware()
  File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 47, in load_middleware
    raise exceptions.ImproperlyConfigured('Error importing middleware %s: "%s"' % (mw_module, e))
ImproperlyConfigured: Error importing middleware django.contrib.csrf.middleware: "No module named csrf.middleware"
----------------------------

Version-Release number of selected component (if applicable):

Linux myserver 3.4.0-1.fc17.i686.PAE #1 SMP Sun Jun 3 06:54:54 UTC 2012 i686 i686 i386 GNU/Linux
cobbler-web-2.2.2-1.fc17.noarch
cobbler-2.2.2-1.fc17.noarch


How reproducible:


Steps to Reproduce:
1. Install Fedora 17 i386 or x86_64
2. Install cobbler and cobbler-web (with all its dependencies)
3. try to acceso to http://yourserver/cobbler_web (then see your apache error log)
  
Actual results:
---------------------------
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Apache/2.2.22 (Fedora) Server at fedora.sigis.local Port 80
--------------------------

Expected results:
cobbler_web web page fully functional

Additional info:

Comment 1 James C. 2012-06-16 15:09:39 UTC

*** This bug has been marked as a duplicate of bug 828632 ***


Note You need to log in before you can comment on or make changes to this bug.