** Description changed:
After working around bug #1030911 by moving /usr/bin/glance aside, then using
dpkg -i --force-overwrites to install python-glanceclient and then putting
glance back, I ran into bug #1017765. After applying the patch in bug #1017765
into /usr directly like I did with nova and keystone, I get a bit farther, and
now see the following traceback:
- [Mon Jul 30 15:19:00 2012] [error] Internal Server Error: /
- [Mon Jul 30 15:19:00 2012] [error] Traceback (most recent call last):
- [Mon Jul 30 15:19:00 2012] [error] File
"/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 89, in
get_response
- [Mon Jul 30 15:19:00 2012] [error] response = middleware_method(request)
- [Mon Jul 30 15:19:00 2012] [error] File
"/usr/lib/python2.7/dist-packages/django/middleware/locale.py", line 21, in
process_request
- [Mon Jul 30 15:19:00 2012] [error] check_path =
self.is_language_prefix_patterns_used()
- [Mon Jul 30 15:19:00 2012] [error] File
"/usr/lib/python2.7/dist-packages/django/middleware/locale.py", line 54, in
is_language_prefix_patterns_used
- [Mon Jul 30 15:19:00 2012] [error] for url_pattern in
get_resolver(None).url_patterns:
- [Mon Jul 30 15:19:00 2012] [error] File
"/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 328, in
url_patterns
- [Mon Jul 30 15:19:00 2012] [error] patterns =
getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
- [Mon Jul 30 15:19:00 2012] [error] File
"/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 323, in
urlconf_module
- [Mon Jul 30 15:19:00 2012] [error] self._urlconf_module =
import_module(self.urlconf_name)
- [Mon Jul 30 15:19:00 2012] [error] File
"/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in
import_module
- [Mon Jul 30 15:19:00 2012] [error] __import__(name)
- [Mon Jul 30 15:19:00 2012] [error] File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/urls.py",
line 35, in <module>
- [Mon Jul 30 15:19:00 2012] [error] url(r'', include(horizon.urls)))
- [Mon Jul 30 15:19:00 2012] [error] AttributeError: 'module' object has no
attribute 'urls'
- [Mon Jul 30 15:19:00 2012] [error] [client 192.168.122.1] mod_wsgi
(pid=3672): Exception occurred processing WSGI script
'/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
- [Mon Jul 30 15:19:00 2012] [error] [client 192.168.122.1] Traceback (most
recent call last):
- [Mon Jul 30 15:19:00 2012] [error] [client 192.168.122.1] File
"/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 241, in
__call__
- [Mon Jul 30 15:19:00 2012] [error] [client 192.168.122.1] response =
self.get_response(request)
- [Mon Jul 30 15:19:00 2012] [error] [client 192.168.122.1] File
"/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 179, in
get_response
- [Mon Jul 30 15:19:00 2012] [error] [client 192.168.122.1] response =
self.handle_uncaught_exception(request, resolver, sys.exc_info())
- [Mon Jul 30 15:19:00 2012] [error] [client 192.168.122.1] File
"/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 224, in
handle_uncaught_exception
- [Mon Jul 30 15:19:00 2012] [error] [client 192.168.122.1] if
resolver.urlconf_module is None:
- [Mon Jul 30 15:19:00 2012] [error] [client 192.168.122.1] File
"/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 323, in
urlconf_module
- [Mon Jul 30 15:19:00 2012] [error] [client 192.168.122.1]
self._urlconf_module = import_module(self.urlconf_name)
- [Mon Jul 30 15:19:00 2012] [error] [client 192.168.122.1] File
"/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in
import_module
- [Mon Jul 30 15:19:00 2012] [error] [client 192.168.122.1] __import__(name)
- [Mon Jul 30 15:19:00 2012] [error] [client 192.168.122.1] File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/urls.py",
line 35, in <module>
- [Mon Jul 30 15:19:00 2012] [error] [client 192.168.122.1] url(r'',
include(horizon.urls)))
- [Mon Jul 30 15:19:00 2012] [error] [client 192.168.122.1] AttributeError:
'module' object has no attribute 'urls'
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] mod_wsgi
(pid=1758): Exception occurred processing WSGI script
'/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] Traceback (most
recent call last):
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File
"/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 241, in
__call__
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] response =
self.get_response(request)
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File
"/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 179, in
get_response
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] response =
self.handle_uncaught_exception(request, resolver, sys.exc_info())
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File
"/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 224, in
handle_uncaught_exception
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] if
resolver.urlconf_module is None:
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File
"/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 323, in
urlconf_module
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1]
self._urlconf_module = import_module(self.urlconf_name)
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File
"/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in
import_module
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] __import__(name)
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/urls.py",
line 35, in <module>
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] url(r'',
include(horizon.urls)))
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File
"/usr/lib/python2.7/dist-packages/django/conf/urls/__init__.py", line 25, in
include
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] patterns =
getattr(urlconf_module, 'urlpatterns', urlconf_module)
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File
"/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 184, in
inner
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] self._setup()
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File
"/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 248, in
_setup
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] self._wrapped =
self._setupfunc()
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File
"/usr/lib/python2.7/dist-packages/horizon/base.py", line 745, in url_patterns
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] return
self._urls()[0]
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File
"/usr/lib/python2.7/dist-packages/horizon/base.py", line 751, in _urls
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] urlpatterns =
self._get_default_urlpatterns()
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File
"/usr/lib/python2.7/dist-packages/horizon/base.py", line 92, in
_get_default_urlpatterns
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] mod =
import_module(self.urls)
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File
"/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in
import_module
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] __import__(name)
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File
"/usr/lib/python2.7/dist-packages/horizon/site_urls.py", line 25, in <module>
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] from
horizon.views.auth import LoginView
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File
"/usr/lib/python2.7/dist-packages/horizon/views/auth.py", line 36, in <module>
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] from
horizon.views.auth_forms import Login, LoginWithTenant, _set_session_data
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File
"/usr/lib/python2.7/dist-packages/horizon/views/auth_forms.py", line 55, in
<module>
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] class
Login(forms.SelfHandlingForm):
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File
"/usr/lib/python2.7/dist-packages/horizon/views/auth_forms.py", line 64, in
Login
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] region =
forms.ChoiceField(label=_("Region"), required=False)
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File
"/usr/lib/python2.7/dist-packages/django/utils/translation/__init__.py", line
86, in ugettext
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] return
_trans.ugettext(message)
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File
"/usr/lib/python2.7/dist-packages/django/utils/translation/trans_real.py", line
278, in ugettext
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] return
do_translate(message, 'ugettext')
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File
"/usr/lib/python2.7/dist-packages/django/utils/translation/trans_real.py", line
268, in do_translate
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] _default =
translation(settings.LANGUAGE_CODE)
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File
"/usr/lib/python2.7/dist-packages/django/utils/translation/trans_real.py", line
183, in translation
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1]
default_translation = _fetch(settings.LANGUAGE_CODE)
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File
"/usr/lib/python2.7/dist-packages/django/utils/translation/trans_real.py", line
160, in _fetch
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] app =
import_module(appname)
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File
"/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in
import_module
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] __import__(name)
+ [Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] ImportError: No
module named compressor
** Summary changed:
- AttributeError: 'module' object has no attribute 'urls'
+ ImportError: No module named compressor
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to horizon in Ubuntu.
https://bugs.launchpad.net/bugs/1030928
Title:
ImportError: No module named compressor
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1030928/+subscriptions
--
Ubuntu-server-bugs mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs