← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1288245] [NEW] mox is needed in requirements

 

Public bug reported:

It appears that mox is needed in requirements.tst now:

Environment:

Request Method: GET
Request URL: http://localhost:8080/

Django Version: 1.5.5
Python Version: 2.7.3
Installed Applications:
['openstack_dashboard',
 'django.contrib.contenttypes',
 'django.contrib.auth',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.humanize',
 'compressor',
 'horizon',
 'openstack_auth',
 'openstack_dashboard.dashboards.project',
 'openstack_dashboard.dashboards.admin',
 'openstack_dashboard.dashboards.settings']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'horizon.middleware.HorizonMiddleware',
 'django.middleware.doc.XViewMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware')

Traceback:
File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
  92.                     response = middleware_method(request)
File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/middleware/locale.py" in process_request
  21.         check_path = self.is_language_prefix_patterns_used()
File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/middleware/locale.py" in is_language_prefix_patterns_used
  56.         for url_pattern in get_resolver(None).url_patterns:
File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/core/urlresolvers.py" in url_patterns
  347.         patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/core/urlresolvers.py" in urlconf_module
  342.             self._urlconf_module = import_module(self.urlconf_name)
File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/utils/importlib.py" in import_module
  35.     __import__(name)
File "/home/vulcan/horizon/openstack_dashboard/urls.py" in <module>
  38.     url(r'', include(horizon.urls))
File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/conf/urls/__init__.py" in include
  26.     patterns = getattr(urlconf_module, 'urlpatterns', urlconf_module)
File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/utils/functional.py" in inner
  204.             self._setup()
File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/utils/functional.py" in _setup
  270.         self._wrapped = self._setupfunc()
File "/home/vulcan/horizon/horizon/base.py" in url_patterns
  733.             return self._urls()[0]
File "/home/vulcan/horizon/horizon/base.py" in _urls
  739.         urlpatterns = self._get_default_urlpatterns()
File "/home/vulcan/horizon/horizon/base.py" in _get_default_urlpatterns
  82.                 mod = import_module(self.urls)
File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/utils/importlib.py" in import_module
  35.     __import__(name)
File "/home/vulcan/horizon/horizon/site_urls.py" in <module>
  26. from horizon.test.jasmine import jasmine
File "/home/vulcan/horizon/horizon/test/jasmine/jasmine.py" in <module>
  17. from horizon.test import helpers as test
File "/home/vulcan/horizon/horizon/test/helpers.py" in <module>
  50. import mox

Exception Type: ImportError at /
Exception Value: No module named mox


Addind mox to requirements solved this issue.
The latest commit in my checkout is:

commit 015aff26307ca619abc569404f82c6338239e628
Author: Jordan OMara <jomara@xxxxxxxxxx>
Date:   Tue Jan 14 10:25:26 2014 -0500
Change-Id: I2854e9e4bb578be5187ef962808b93f11ac6b1f1

** Affects: horizon
     Importance: Undecided
         Status: New

** Description changed:

  It appears that mox is needed in requirements.tst now:
  
  Environment:
- 
  
  Request Method: GET
  Request URL: http://localhost:8080/
  
  Django Version: 1.5.5
  Python Version: 2.7.3
  Installed Applications:
  ['openstack_dashboard',
-  'django.contrib.contenttypes',
-  'django.contrib.auth',
-  'django.contrib.sessions',
-  'django.contrib.messages',
-  'django.contrib.staticfiles',
-  'django.contrib.humanize',
-  'compressor',
-  'horizon',
-  'openstack_auth',
-  'openstack_dashboard.dashboards.project',
-  'openstack_dashboard.dashboards.admin',
-  'openstack_dashboard.dashboards.settings']
+  'django.contrib.contenttypes',
+  'django.contrib.auth',
+  'django.contrib.sessions',
+  'django.contrib.messages',
+  'django.contrib.staticfiles',
+  'django.contrib.humanize',
+  'compressor',
+  'horizon',
+  'openstack_auth',
+  'openstack_dashboard.dashboards.project',
+  'openstack_dashboard.dashboards.admin',
+  'openstack_dashboard.dashboards.settings']
  Installed Middleware:
  ('django.middleware.common.CommonMiddleware',
-  'django.middleware.csrf.CsrfViewMiddleware',
-  'django.contrib.sessions.middleware.SessionMiddleware',
-  'django.contrib.auth.middleware.AuthenticationMiddleware',
-  'django.contrib.messages.middleware.MessageMiddleware',
-  'horizon.middleware.HorizonMiddleware',
-  'django.middleware.doc.XViewMiddleware',
-  'django.middleware.locale.LocaleMiddleware',
-  'django.middleware.clickjacking.XFrameOptionsMiddleware')
- 
+  'django.middleware.csrf.CsrfViewMiddleware',
+  'django.contrib.sessions.middleware.SessionMiddleware',
+  'django.contrib.auth.middleware.AuthenticationMiddleware',
+  'django.contrib.messages.middleware.MessageMiddleware',
+  'horizon.middleware.HorizonMiddleware',
+  'django.middleware.doc.XViewMiddleware',
+  'django.middleware.locale.LocaleMiddleware',
+  'django.middleware.clickjacking.XFrameOptionsMiddleware')
  
  Traceback:
  File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
-   92.                     response = middleware_method(request)
+   92.                     response = middleware_method(request)
  File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/middleware/locale.py" in process_request
-   21.         check_path = self.is_language_prefix_patterns_used()
+   21.         check_path = self.is_language_prefix_patterns_used()
  File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/middleware/locale.py" in is_language_prefix_patterns_used
-   56.         for url_pattern in get_resolver(None).url_patterns:
+   56.         for url_pattern in get_resolver(None).url_patterns:
  File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/core/urlresolvers.py" in url_patterns
-   347.         patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
+   347.         patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
  File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/core/urlresolvers.py" in urlconf_module
-   342.             self._urlconf_module = import_module(self.urlconf_name)
+   342.             self._urlconf_module = import_module(self.urlconf_name)
  File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/utils/importlib.py" in import_module
-   35.     __import__(name)
+   35.     __import__(name)
  File "/home/vulcan/horizon/openstack_dashboard/urls.py" in <module>
-   38.     url(r'', include(horizon.urls))
+   38.     url(r'', include(horizon.urls))
  File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/conf/urls/__init__.py" in include
-   26.     patterns = getattr(urlconf_module, 'urlpatterns', urlconf_module)
+   26.     patterns = getattr(urlconf_module, 'urlpatterns', urlconf_module)
  File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/utils/functional.py" in inner
-   204.             self._setup()
+   204.             self._setup()
  File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/utils/functional.py" in _setup
-   270.         self._wrapped = self._setupfunc()
+   270.         self._wrapped = self._setupfunc()
  File "/home/vulcan/horizon/horizon/base.py" in url_patterns
-   733.             return self._urls()[0]
+   733.             return self._urls()[0]
  File "/home/vulcan/horizon/horizon/base.py" in _urls
-   739.         urlpatterns = self._get_default_urlpatterns()
+   739.         urlpatterns = self._get_default_urlpatterns()
  File "/home/vulcan/horizon/horizon/base.py" in _get_default_urlpatterns
-   82.                 mod = import_module(self.urls)
+   82.                 mod = import_module(self.urls)
  File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/utils/importlib.py" in import_module
-   35.     __import__(name)
+   35.     __import__(name)
  File "/home/vulcan/horizon/horizon/site_urls.py" in <module>
-   26. from horizon.test.jasmine import jasmine
+   26. from horizon.test.jasmine import jasmine
  File "/home/vulcan/horizon/horizon/test/jasmine/jasmine.py" in <module>
-   17. from horizon.test import helpers as test
+   17. from horizon.test import helpers as test
  File "/home/vulcan/horizon/horizon/test/helpers.py" in <module>
-   50. import mox
+   50. import mox
  
  Exception Type: ImportError at /
  Exception Value: No module named mox
  
  
  Addind mox to requirements solved this issue.
- The latest comit in my checkout is:
+ The latest commit in my checkout is:
  
  commit 015aff26307ca619abc569404f82c6338239e628
  Author: Jordan OMara <jomara@xxxxxxxxxx>
  Date:   Tue Jan 14 10:25:26 2014 -0500
  Change-Id: I2854e9e4bb578be5187ef962808b93f11ac6b1f1

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1288245

Title:
  mox is needed in requirements

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  It appears that mox is needed in requirements.tst now:

  Environment:

  Request Method: GET
  Request URL: http://localhost:8080/

  Django Version: 1.5.5
  Python Version: 2.7.3
  Installed Applications:
  ['openstack_dashboard',
   'django.contrib.contenttypes',
   'django.contrib.auth',
   'django.contrib.sessions',
   'django.contrib.messages',
   'django.contrib.staticfiles',
   'django.contrib.humanize',
   'compressor',
   'horizon',
   'openstack_auth',
   'openstack_dashboard.dashboards.project',
   'openstack_dashboard.dashboards.admin',
   'openstack_dashboard.dashboards.settings']
  Installed Middleware:
  ('django.middleware.common.CommonMiddleware',
   'django.middleware.csrf.CsrfViewMiddleware',
   'django.contrib.sessions.middleware.SessionMiddleware',
   'django.contrib.auth.middleware.AuthenticationMiddleware',
   'django.contrib.messages.middleware.MessageMiddleware',
   'horizon.middleware.HorizonMiddleware',
   'django.middleware.doc.XViewMiddleware',
   'django.middleware.locale.LocaleMiddleware',
   'django.middleware.clickjacking.XFrameOptionsMiddleware')

  Traceback:
  File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
    92.                     response = middleware_method(request)
  File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/middleware/locale.py" in process_request
    21.         check_path = self.is_language_prefix_patterns_used()
  File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/middleware/locale.py" in is_language_prefix_patterns_used
    56.         for url_pattern in get_resolver(None).url_patterns:
  File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/core/urlresolvers.py" in url_patterns
    347.         patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
  File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/core/urlresolvers.py" in urlconf_module
    342.             self._urlconf_module = import_module(self.urlconf_name)
  File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/utils/importlib.py" in import_module
    35.     __import__(name)
  File "/home/vulcan/horizon/openstack_dashboard/urls.py" in <module>
    38.     url(r'', include(horizon.urls))
  File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/conf/urls/__init__.py" in include
    26.     patterns = getattr(urlconf_module, 'urlpatterns', urlconf_module)
  File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/utils/functional.py" in inner
    204.             self._setup()
  File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/utils/functional.py" in _setup
    270.         self._wrapped = self._setupfunc()
  File "/home/vulcan/horizon/horizon/base.py" in url_patterns
    733.             return self._urls()[0]
  File "/home/vulcan/horizon/horizon/base.py" in _urls
    739.         urlpatterns = self._get_default_urlpatterns()
  File "/home/vulcan/horizon/horizon/base.py" in _get_default_urlpatterns
    82.                 mod = import_module(self.urls)
  File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/utils/importlib.py" in import_module
    35.     __import__(name)
  File "/home/vulcan/horizon/horizon/site_urls.py" in <module>
    26. from horizon.test.jasmine import jasmine
  File "/home/vulcan/horizon/horizon/test/jasmine/jasmine.py" in <module>
    17. from horizon.test import helpers as test
  File "/home/vulcan/horizon/horizon/test/helpers.py" in <module>
    50. import mox

  Exception Type: ImportError at /
  Exception Value: No module named mox


  Addind mox to requirements solved this issue.
  The latest commit in my checkout is:

  commit 015aff26307ca619abc569404f82c6338239e628
  Author: Jordan OMara <jomara@xxxxxxxxxx>
  Date:   Tue Jan 14 10:25:26 2014 -0500
  Change-Id: I2854e9e4bb578be5187ef962808b93f11ac6b1f1

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1288245/+subscriptions


Follow ups

References