← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1409420] Re: Addition of x-static smart-table cause UncompressableFileError

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

-- 
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/1409420

Title:
  Addition of x-static smart-table cause UncompressableFileError

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
   How to reproduce

  1. `git pull` and we will get the latest horizon
  2. `pip install -r requirements.txt` to install required packages
  3. login the horizon, it will raise UncompressableFileError, just like the below screenshot

  the bug is introduced by the commit
  d7df6378a356d19c190440e6446919a58dc7809b

  https://github.com/openstack/horizon/commit/d7df6378a356d19c190440e6446919a58dc7809b

  the smart-table.js path is not correct.

  the xstatic smart-table.js path is : ./.venv/lib/python2.7/site-
  packages/xstatic/pkg/angular_smart_table/data/smart-table.js

  https://github.com/openstack/horizon/blob/master/horizon/templates/horizon/_conf.html#L11

  above line should be 
  <script src="{{ STATIC_URL }}horizon/lib/smart-table/smart-table.js" type="text/javascript" charset="utf-8"></script>

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


References