Bug 827213 - [openstack][dashboard] Internal Server Error - ImportError django_nose: No module named django_nose
[openstack][dashboard] Internal Server Error - ImportError django_nose: No mo...
Product: Fedora EPEL
Classification: Fedora
Component: python-django-horizon (Show other bugs)
Unspecified Unspecified
unspecified Severity high
: ---
: ---
Assigned To: Pádraig Brady
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-05-31 18:02 EDT by David Naori
Modified: 2012-05-31 19:58 EDT (History)
15 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-05-31 19:58:30 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description David Naori 2012-05-31 18:02:47 EDT
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

 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 )
104 #TEST_RUNNER = 'django_nose.NoseTestSuiteRunner

#TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'

Comment 1 Pádraig Brady 2012-05-31 18:18:37 EDT
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 19:58:30 EDT
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:

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.