Hi,

I’m glad that you found a workaround.
Someone from vitrage-dashboard team should look at the specific error and tell 
you what is the best solution.

Best Regards,
Ifat.


From: Yujun Zhang [mailto:[email protected]]
Sent: Wednesday, July 27, 2016 9:11 AM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [devstack][vitrage] some compress error when 
deploy OS

I've encountered the same error while installing openstack with devstack.

It seems to be caused by an issue in vitrage dashboard plugin.

The relative link in dagre-d3 demo pages can not be resolved in django 
compressor.

<script src="../build/dagre-d3.js"></script>

https://github.com/openstack/vitrage-dashboard/blob/master/vitragedashboard/static/vendor/dagre-d3/demo/arrows.html#L8

Currently we can make a work around by removing the demo pages from the python 
lib.

$ sudo mv 
/opt/stack/vitrage-dashboard/vitragedashboard/static/vendor/dagre-d3/demo/ 
dagre-d3-demo.backup

Could vitrage and devstack team have a look at it?

--
Yujun Zhang

On Fri, Jul 22, 2016 at 11:04 AM 
<[email protected]<mailto:[email protected]>> wrote:

Hi all,

When i use devstack to deploy a OS env, it raise the error.
The log is as follows.
Does anybody know how to resolve this problem? Thank you!~

12 static files copied to '/opt/stack/horizon/static', 1708 unmodified.
+lib/horizon:init_horizon:152              
DJANGO_SETTINGS_MODULE=openstack_dashboard.settings
+lib/horizon:init_horizon:152              django-admin compress --force
Found 'compress' tags in:
        /opt/stack/horizon/openstack_dashboard/templates/horizon/_scripts.html
        /opt/stack/horizon/openstack_dashboard/templates/horizon/_conf.html
        /opt/stack/horizon/openstack_dashboard/templates/_stylesheets.html
Compressing... CommandError: An error occurred during rendering 
/opt/stack/horizon/openstack_dashboard/templates/horizon/_scripts.html: 
'\"../build/dagre-d3.js\"' isn't accessible via COMPRESS_URL 
('/dashboard/static/') and can't be compressed
+lib/horizon:init_horizon:1                exit_trap
+./stack.sh:exit_trap:480                  local r=1


BR,
dwj

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to