mox is needed in requirements

Bug #1288245 reported by Tatiana Ovchinnikova
This bug affects 11 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Doug Fish
horizon (Ubuntu)

Bug Description

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


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

Django Version: 1.5.5
Python Version: 2.7.3
Installed Applications:
Installed Middleware:

File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/core/handlers/" in get_response
  92. response = middleware_method(request)
File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/middleware/" 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/" 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/" 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/" 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/" in import_module
  35. __import__(name)
File "/home/vulcan/horizon/openstack_dashboard/" in <module>
  38. url(r'', include(horizon.urls))
File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/conf/urls/" in include
  26. patterns = getattr(urlconf_module, 'urlpatterns', urlconf_module)
File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/utils/" in inner
  204. self._setup()
File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/utils/" in _setup
  270. self._wrapped = self._setupfunc()
File "/home/vulcan/horizon/horizon/" in url_patterns
  733. return self._urls()[0]
File "/home/vulcan/horizon/horizon/" in _urls
  739. urlpatterns = self._get_default_urlpatterns()
File "/home/vulcan/horizon/horizon/" in _get_default_urlpatterns
  82. mod = import_module(self.urls)
File "/home/vulcan/horizon/.venv/local/lib/python2.7/site-packages/django/utils/" in import_module
  35. __import__(name)
File "/home/vulcan/horizon/horizon/" in <module>
  26. from horizon.test.jasmine import jasmine
File "/home/vulcan/horizon/horizon/test/jasmine/" in <module>
  17. from horizon.test import helpers as test
File "/home/vulcan/horizon/horizon/test/" 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 <email address hidden>
Date: Tue Jan 14 10:25:26 2014 -0500
Change-Id: I2854e9e4bb578be5187ef962808b93f11ac6b1f1

Related branches

description: updated
James Page (james-page)
Changed in horizon (Ubuntu Trusty):
importance: Undecided → High
status: New → Triaged
Revision history for this message
Doug Fish (drfish) wrote :

I don't think we really want mox as a requirement; instead we should be sorting out how to make sure mox is required only for testing.

Changed in horizon (Ubuntu Trusty):
assignee: nobody → Doug Fish (drfish)
Doug Fish (drfish)
Changed in horizon:
assignee: nobody → Doug Fish (drfish)
Changed in horizon (Ubuntu Trusty):
assignee: Doug Fish (drfish) → nobody
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master

Changed in horizon:
status: New → In Progress
Revision history for this message
Tatiana Ovchinnikova (tmazur) wrote :

Agreed. Thank you for your work!

Changed in horizon:
importance: Undecided → High
Matthias Runge (mrunge)
Changed in horizon:
milestone: none → next
David Lyle (david-lyle)
Changed in horizon:
milestone: next → icehouse-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Submitter: Jenkins
Branch: master

commit 01133b7ce207f61dc402c9223e1d70c4a7497932
Author: Doug Fish <email address hidden>
Date: Tue Mar 11 12:08:08 2014 -0500

    Remove non dev dependency on mox

    Change-Id: I49267ebbf11b1898ab14216046369ff4720dbd82
    Closes-Bug: 1288245

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package horizon - 1:2014.1~rc1-0ubuntu1

horizon (1:2014.1~rc1-0ubuntu1) trusty; urgency=medium

  * New upstream release candidate (LP: #1288245).
    - d/static/*: Refreshed assets for new upstream release.
  * d/theme/*: Refresh Ubuntu theme against Icehouse templates (LP: #1291653).
 -- James Page <email address hidden> Mon, 31 Mar 2014 17:31:49 +0100

Changed in horizon (Ubuntu Trusty):
status: Triaged → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: icehouse-rc1 → 2014.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers