Bug 827213 - [openstack][dashboard] Internal Server Error - ImportError django_nose: No module named django_nose
Summary: [openstack][dashboard] Internal Server Error - ImportError django_nose: No mo...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-django-horizon
Version: el6
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Pádraig Brady
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-31 22:02 UTC by David Naori
Modified: 2012-05-31 23:58 UTC (History)
15 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-31 23:58:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description David Naori 2012-05-31 22:02:47 UTC
Description of problem:

Internal Server Error: 
ImportError django_nose: No module named django_nose

django_nose was removed from dashboard's dependencies. 

* reference to django_nose should be removed from openstack_dashboard/settings.py

 92 INSTALLED_APPS = (
 93     'openstack_dashboard',
 94     'django.contrib.sessions',
 95     'django.contrib.messages',
 96     'django.contrib.staticfiles',
 97 #    'django_nose',
 98     'horizon',
 99     'horizon.dashboards.nova',
100     'horizon.dashboards.syspanel',
101     'horizon.dashboards.settings',
102 )
103 
104 #TEST_RUNNER = 'django_nose.NoseTestSuiteRunner

#TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'

Version:
openstack-dashboard-2012.1-5.el6.noarch

Comment 1 Pádraig Brady 2012-05-31 22:18:37 UTC
So when testing the above we noticed missing static files,
which I partially worked around by creating a symlink.

There were still issues like:
 Unable to retrieve image list 
 Unable to retrieve project list

Hopefully with the above change in the package proper,
the collectstatic construct will work correctly,
and all static issues will be avoided.

Comment 2 Pádraig Brady 2012-05-31 23:58:30 UTC
Note this bug is really against a scratch build and was not present in EPEL
Hence I'm closing this as CURRENTRELEASE.

I've tested another scratch build with this change:
http://pkgs.fedoraproject.org/gitweb/?p=python-django-horizon.git;a=commitdiff;h=52371f3

The static files are now installed as expected.


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