runtime dependency on mox

Bug #1288904 reported by James Page on 2014-03-06
This bug report is a duplicate of:  Bug #1288245: mox is needed in requirements. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Undecided
Unassigned
horizon (Ubuntu)
Undecided
Unassigned
Trusty
Undecided
Unassigned

Bug Description

Latest icehouse3 packages:

[Thu Mar 06 17:58:05.926971 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] mod_wsgi (pid=23361): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
[Thu Mar 06 17:58:05.927007 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] Traceback (most recent call last):
[Thu Mar 06 17:58:05.927030 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] File "/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 187, in __call__
[Thu Mar 06 17:58:05.927142 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] self.load_middleware()
[Thu Mar 06 17:58:05.927204 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 49, in load_middleware
[Thu Mar 06 17:58:05.927345 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] mw_instance = mw_class()
[Thu Mar 06 17:58:05.927363 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] File "/usr/lib/python2.7/dist-packages/django/middleware/locale.py", line 24, in __init__
[Thu Mar 06 17:58:05.927444 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] for url_pattern in get_resolver(None).url_patterns:
[Thu Mar 06 17:58:05.927464 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 346, in url_patterns
[Thu Mar 06 17:58:05.927641 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
[Thu Mar 06 17:58:05.927658 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 341, in urlconf_module
[Thu Mar 06 17:58:05.927682 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] self._urlconf_module = import_module(self.urlconf_name)
[Thu Mar 06 17:58:05.927696 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 40, in import_module
[Thu Mar 06 17:58:05.927752 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] __import__(name)
[Thu Mar 06 17:58:05.927768 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/urls.py", line 38, in <module>
[Thu Mar 06 17:58:05.927831 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] url(r'', include(horizon.urls))
[Thu Mar 06 17:58:05.927847 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] File "/usr/lib/python2.7/dist-packages/django/conf/urls/__init__.py", line 27, in include
[Thu Mar 06 17:58:05.927915 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] patterns = getattr(urlconf_module, 'urlpatterns', urlconf_module)
[Thu Mar 06 17:58:05.927933 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] File "/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 213, in inner
[Thu Mar 06 17:58:05.928079 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] self._setup()
[Thu Mar 06 17:58:05.928096 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] File "/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 298, in _setup
[Thu Mar 06 17:58:05.928119 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] self._wrapped = self._setupfunc()
[Thu Mar 06 17:58:05.928133 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] File "/usr/lib/python2.7/dist-packages/horizon/base.py", line 733, in url_patterns
[Thu Mar 06 17:58:05.928351 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] return self._urls()[0]
[Thu Mar 06 17:58:05.928369 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] File "/usr/lib/python2.7/dist-packages/horizon/base.py", line 739, in _urls
[Thu Mar 06 17:58:05.928396 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] urlpatterns = self._get_default_urlpatterns()
[Thu Mar 06 17:58:05.928410 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] File "/usr/lib/python2.7/dist-packages/horizon/base.py", line 82, in _get_default_urlpatterns
[Thu Mar 06 17:58:05.928429 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] mod = import_module(self.urls)
[Thu Mar 06 17:58:05.928442 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 40, in import_module
[Thu Mar 06 17:58:05.928461 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] __import__(name)
[Thu Mar 06 17:58:05.928474 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] File "/usr/lib/python2.7/dist-packages/horizon/site_urls.py", line 26, in <module>
[Thu Mar 06 17:58:05.928531 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] from horizon.test.jasmine import jasmine
[Thu Mar 06 17:58:05.928557 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] File "/usr/lib/python2.7/dist-packages/horizon/test/jasmine/jasmine.py", line 17, in <module>
[Thu Mar 06 17:58:05.928636 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] from horizon.test import helpers as test
[Thu Mar 06 17:58:05.928656 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] File "/usr/lib/python2.7/dist-packages/horizon/test/helpers.py", line 50, in <module>
[Thu Mar 06 17:58:05.928760 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] import mox
[Thu Mar 06 17:58:05.928784 2014] [:error] [pid 23361:tid 139828885894912] [remote 10.5.0.19:12666] ImportError: No module named mox

installing python-mox resolved this issue

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: openstack-dashboard 1:2014.1~b3-0ubuntu1
ProcVersionSignature: User Name 3.13.0-12.32-generic 3.13.4
Uname: Linux 3.13.0-12-generic x86_64
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
Date: Thu Mar 6 18:05:53 2014
Ec2AMI: ami-00000036
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: serverstack-az-1
Ec2InstanceType: m1.small
Ec2Kernel: aki-00000002
Ec2Ramdisk: ari-00000002
PackageArchitecture: all
ProcEnviron:
 TERM=screen-256color-bce
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: horizon
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.apache2.conf.available.openstack.dashboard.conf: 2014-03-06T17:59:19.885874
mtime.conffile..etc.openstack.dashboard.local.settings.py: 2014-03-06T17:59:18.809874

James Page (james-page) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers