ImportError: No module named compressor
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
horizon (Ubuntu) |
New
|
High
|
Unassigned |
Bug Description
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 16:47:38 2012] [error] [client 192.168.122.1] mod_wsgi (pid=1758): Exception occurred processing WSGI script '/usr/share/
[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/
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] response = self.get_
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File "/usr/lib/
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] response = self.handle_
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File "/usr/lib/
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] if resolver.
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File "/usr/lib/
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] self._urlconf_
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File "/usr/lib/
[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/
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] url(r'', include(
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File "/usr/lib/
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] patterns = getattr(
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File "/usr/lib/
[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/
[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/
[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/
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] urlpatterns = self._get_
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File "/usr/lib/
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] mod = import_
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File "/usr/lib/
[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/
[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/
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] from horizon.
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File "/usr/lib/
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] class Login(forms.
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File "/usr/lib/
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] region = forms.ChoiceFie
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File "/usr/lib/
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] return _trans.
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File "/usr/lib/
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] return do_translate(
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File "/usr/lib/
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] _default = translation(
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File "/usr/lib/
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] default_translation = _fetch(
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File "/usr/lib/
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] app = import_
[Mon Jul 30 16:47:38 2012] [error] [client 192.168.122.1] File "/usr/lib/
[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
affects: | python-glanceclient (Ubuntu) → horizon (Ubuntu) |
description: | updated |
summary: |
- AttributeError: 'module' object has no attribute 'urls' + ImportError: No module named compressor |
This looks to be https:/ /answers. launchpad. net/horizon/ +question/ 203091