[Bug 1030928] [NEW] AttributeError: 'module' object has no attribute 'urls'
Jamie Strandboge
jamie at ubuntu.com
Mon Jul 30 15:24:09 UTC 2012
Public bug reported:
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'
** Affects: horizon (Ubuntu)
Importance: High
Status: New
** Tags: rls-q-incoming
** Package changed: python-glanceclient (Ubuntu) => horizon (Ubuntu)
--
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:
AttributeError: 'module' object has no attribute 'urls'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1030928/+subscriptions
More information about the Ubuntu-server-bugs
mailing list