<div class="__aliyun_email_body_block"><div style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14px;color:#000000;">ok, the reason seems to be pyscss version conflict problem:</div><div style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14px;color:#000000;">gongysh@localhost:/opt/stack/horizon$ python manage.py shell<br>Python 2.7.5 (default, Nov 3 2014, 14:26:24) <br>[GCC 4.8.3 20140911 (Red Hat 4.8.3-7)] on linux2<br>Type "help", "copyright", "credits" or "license" for more information.<br>(InteractiveConsole)<br>>>> from django_pyscss.scss import DjangoScss <br>Traceback (most recent call last):<br> File "<console>", line 1, in <module><br> File "/usr/lib/python2.7/site-packages/django_pyscss-1.0.6-py2.7.egg/django_pyscss/scss.py", line 9, in <module><br> from scss import (<br>ImportError: cannot import name dequote<br></div><div style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14px;color:#000000;"><br data-mce-bogus="1"></div><div style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14px;color:#000000;">we should use pyscss lower than 1.3:</div><div style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14px;color:#000000;">gongysh@localhost:/opt/stack/neutron$ sudo pip freeze | grep -i pyscss <br>django-pyscss==1.0.6<br>pyScss==1.2.1<br></div><blockquote><div style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14px;color:#000000;">------------------------------------------------------------------</div><div style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14px;color:#000000;">发件人:gong_ys2004 <gong_ys2004@aliyun.com></div><div style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14px;color:#000000;">发送时间:2014年11月14日(星期五) 09:13</div><div style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14px;color:#000000;">收件人:OpenStack Development Mailing List <openstack-dev@lists.openstack.org></div><div style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14px;color:#000000;">主 题:horizon failed due to django compressor</div><div style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14px;color:#000000;"><br></div><div style="font-family: Tahoma , Arial , STHeiti , SimSun;font-size: 14.0px;color: #000000;"><pre class="exception_value" style="font-style: normal;font-variant: normal;font-weight: normal;letter-spacing: normal;orphans: auto;text-align: start;text-indent: 0.0px;text-transform: none;widows: auto;word-spacing: 0.0px;">Hi, I installed the devstack on my fedora 20 system, the process seems good because I have seen<br>the normal output of the stack.sh:<br>Horizon is now available at <a href="http://192.168.88.225/" target="_blank">http://192.168.88.225/</a><br>Keystone is serving at <a href="http://192.168.88.225:5000/v2.0/" target="_blank">http://192.168.88.225:5000/v2.0/</a><br>Examples on using novaclient command line is in exercise.sh<br>The default users are: admin and demo<br>The password: admin<br>This is your host ip: 192.168.88.225<br>2014-11-14 00:03:05.159 | stack.sh completed in 249 seconds<br><br>but when I tried to access the horizon by <a href="http://192.168.88.225/" target="_blank">http://192.168.88.225/</a><br>it always said the following:</pre><h1 style="color: #000000;font-style: normal;font-variant: normal;letter-spacing: normal;orphans: auto;text-align: start;text-indent: 0.0px;text-transform: none;widows: auto;word-spacing: 0.0px;">FilterError at /</h1><pre class="exception_value" style="font-style: normal;font-variant: normal;font-weight: normal;letter-spacing: normal;orphans: auto;text-align: start;text-indent: 0.0px;text-transform: none;widows: auto;word-spacing: 0.0px;">/bin/sh: django_pyscss.compressor.DjangoScssFilter: command not found
</pre><div class="aym_scale_wrap" style="margin: 0.0px;padding: 0.0px;border: 0.0px;outline: 0.0px;color: #000000;font-family: Tahoma , Arial , STHeiti , SimSun;font-size: 14.0px;font-style: normal;font-variant: normal;font-weight: normal;letter-spacing: normal;line-height: 23.324001px;orphans: auto;text-indent: 0.0px;text-transform: none;widows: auto;word-spacing: 0.0px;"><div class="aym_table_wrap" style="margin: 0.0px;padding: 2.0px;border: 0.0px;outline: 0.0px;overflow: hidden;display: table;width: 1997.0px;height: 761.0px;"><table class="meta" style="padding: 0.0px;margin: 0.0px;border: none;border-collapse: collapse;width: 1993.0px;color: #000000;font-family: sans-serif;font-size: small;font-style: normal;font-variant: normal;font-weight: normal;letter-spacing: normal;line-height: normal;orphans: auto;text-align: start;text-indent: 0.0px;text-transform: none;widows: auto;word-spacing: 0.0px;"><tbody style="padding: 0.0px;margin: 0.0px;"><tr style="padding: 0.0px;margin: 0.0px;"><th style="padding: 2.0px 0.5em 2.0px 3.0px;margin: 0.0px;vertical-align: top;width: 12.0em;text-align: right;color: #666666;">Request Method:</th><td style="padding: 2.0px 3.0px;margin: 0.0px;vertical-align: top;">GET</td></tr><tr style="padding: 0.0px;margin: 0.0px;"><th style="padding: 2.0px 0.5em 2.0px 3.0px;margin: 0.0px;vertical-align: top;width: 12.0em;text-align: right;color: #666666;">Request URL:</th><td style="padding: 2.0px 3.0px;margin: 0.0px;vertical-align: top;">http://localhost/</td></tr><tr style="padding: 0.0px;margin: 0.0px;"><th style="padding: 2.0px 0.5em 2.0px 3.0px;margin: 0.0px;vertical-align: top;width: 12.0em;text-align: right;color: #666666;">Django Version:</th><td style="padding: 2.0px 3.0px;margin: 0.0px;vertical-align: top;">1.6.7</td></tr><tr style="padding: 0.0px;margin: 0.0px;"><th style="padding: 2.0px 0.5em 2.0px 3.0px;margin: 0.0px;vertical-align: top;width: 12.0em;text-align: right;color: #666666;">Exception Type:</th><td style="padding: 2.0px 3.0px;margin: 0.0px;vertical-align: top;">FilterError</td></tr><tr style="padding: 0.0px;margin: 0.0px;"><th style="padding: 2.0px 0.5em 2.0px 3.0px;margin: 0.0px;vertical-align: top;width: 12.0em;text-align: right;color: #666666;">Exception Value:</th><td style="padding: 2.0px 3.0px;margin: 0.0px;vertical-align: top;"><pre style="padding: 0.0px;margin: 0.0px;font-size: 11.0px;">/bin/sh: django_pyscss.compressor.DjangoScssFilter: command not found
</pre></td></tr><tr style="padding: 0.0px;margin: 0.0px;"><th style="padding: 2.0px 0.5em 2.0px 3.0px;margin: 0.0px;vertical-align: top;width: 12.0em;text-align: right;color: #666666;">Exception Location:</th><td style="padding: 2.0px 3.0px;margin: 0.0px;vertical-align: top;">/usr/lib/python2.7/site-packages/compressor/filters/base.py in input, line 173</td></tr><tr style="padding: 0.0px;margin: 0.0px;"><th style="padding: 2.0px 0.5em 2.0px 3.0px;margin: 0.0px;vertical-align: top;width: 12.0em;text-align: right;color: #666666;">Python Executable:</th><td style="padding: 2.0px 3.0px;margin: 0.0px;vertical-align: top;">/usr/bin/python</td></tr><tr style="padding: 0.0px;margin: 0.0px;"><th style="padding: 2.0px 0.5em 2.0px 3.0px;margin: 0.0px;vertical-align: top;width: 12.0em;text-align: right;color: #666666;">Python Version:</th><td style="padding: 2.0px 3.0px;margin: 0.0px;vertical-align: top;">2.7.5</td></tr><tr style="padding: 0.0px;margin: 0.0px;"><th style="padding: 2.0px 0.5em 2.0px 3.0px;margin: 0.0px;vertical-align: top;width: 12.0em;text-align: right;color: #666666;">Python Path:</th><td style="padding: 2.0px 3.0px;margin: 0.0px;vertical-align: top;"><pre style="padding: 0.0px;margin: 0.0px;font-size: 11.0px;">['/opt/stack/horizon/openstack_dashboard/wsgi/../..',
'/usr/lib/python2.7/site-packages/XStatic_Spin-1.2.5.2-py2.7.egg',
'/usr/lib/python2.7/site-packages/XStatic_Rickshaw-1.5.0.0-py2.7.egg',
'/usr/lib/python2.7/site-packages/XStatic_QUnit-1.14.0.2-py2.7.egg',
'/usr/lib/python2.7/site-packages/XStatic_JSEncrypt-2.0.0.2-py2.7.egg',
'/usr/lib/python2.7/site-packages/XStatic_jquery_ui-1.11.0.1-py2.7.egg',
'/usr/lib/python2.7/site-packages/XStatic_JQuery.TableSorter-2.14.5.1-py2.7.egg',
'/usr/lib/python2.7/site-packages/XStatic_JQuery.quicksearch-2.0.3.1-py2.7.egg',
'/usr/lib/python2.7/site-packages/XStatic_JQuery_Migrate-1.2.1.1-py2.7.egg',
'/usr/lib/python2.7/site-packages/XStatic_jQuery-1.10.2.1-py2.7.egg',
'/usr/lib/python2.7/site-packages/XStatic_Jasmine-1.3.1.1-py2.7.egg',
'/usr/lib/python2.7/site-packages/XStatic_Font_Awesome-4.1.0.1-py2.7.egg',
'/usr/lib/python2.7/site-packages/XStatic_Hogan-2.0.0.2-py2.7.egg',
'/usr/lib/python2.7/site-packages/XStatic_D3-3.1.6.2-py2.7.egg',
'/usr/lib/python2.7/site-packages/XStatic_Bootstrap_SCSS-3.2.0.0-py2.7.egg',
'/usr/lib/python2.7/site-packages/XStatic_Bootstrap_Datepicker-1.3.1.0-py2.7.egg',
'/usr/lib/python2.7/site-packages/XStatic_Angular_Mock-1.2.1.1-py2.7.egg',
'/usr/lib/python2.7/site-packages/XStatic_Angular_Cookies-1.2.1.1-py2.7.egg',
'/usr/lib/python2.7/site-packages/XStatic_Angular-1.2.1.1-py2.7.egg',
'/usr/lib/python2.7/site-packages/XStatic-1.0.1-py2.7.egg',
'/usr/lib/python2.7/site-packages/python_swiftclient-2.3.1-py2.7.egg',
'/usr/lib/python2.7/site-packages/python_novaclient-2.20.0-py2.7.egg',
'/usr/lib/python2.7/site-packages/python_heatclient-0.2.12-py2.7.egg',
'/usr/lib/python2.7/site-packages/python_glanceclient-0.14.2-py2.7.egg',
'/usr/lib/python2.7/site-packages/python_cinderclient-1.1.1-py2.7.egg',
'/usr/lib/python2.7/site-packages/pyScss-1.3.0.a1-py2.7-linux-x86_64.egg',
'/usr/lib/python2.7/site-packages/django_pyscss-1.0.6-py2.7.egg',
'/usr/lib/python2.7/site-packages/enum34-1.0.3-py2.7.egg',
'/opt/stack/keystone',
'/opt/stack/glance_store',
'/opt/stack/glance',
'/opt/stack/neutron',
'/opt/stack/nova',
'/opt/stack/horizon',
'/usr/lib64/python27.zip',
'/usr/lib64/python2.7',
'/usr/lib64/python2.7/plat-linux2',
'/usr/lib64/python2.7/lib-tk',
'/usr/lib64/python2.7/lib-old',
'/usr/lib64/python2.7/lib-dynload',
'/usr/lib64/python2.7/site-packages',
'/usr/lib64/python2.7/site-packages/gtk-2.0',
'/usr/lib/python2.7/site-packages',
'/opt/stack/horizon/openstack_dashboard']</pre></td></tr></tbody></table></div></div><pre class="exception_value" style="font-style: normal;font-variant: normal;font-weight: normal;letter-spacing: normal;orphans: auto;text-align: start;text-indent: 0.0px;text-transform: none;widows: auto;word-spacing: 0.0px;"><br>I appreciate any help, thanks<br><br><br>Yong sheng gong</pre></div></blockquote></div>