Wirecloud / wirecloud

Widgets Container and Mashup edition tools. Reference implementation of the FIWARE Application Mashup GE
https://wirecloud.rtfd.io/
Other
60 stars 45 forks source link

Can't open the wirecloud/landing page in WireCloud 1.2 #461

Closed fisuda closed 4 years ago

fisuda commented 4 years ago

Hi @aarranz,

The wirecloud/landing page can't be opened in WireCloud 1.2, although I used the updated Dockerfile in docker-wirecloud v1.2 folder.

image

image

    <!-- Theme css -->

    <link rel="stylesheet" href="/static/theme/wirecloud.defaulttheme/css/font-awesome.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/utils.e0d749b234b3.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/body.fc2af7ddc18c.css" type="text/css"><link rel="stylesheet" href="/static/theme/wirecloud.defaulttheme/css/base/fade.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/slide.0e8ff7fcfbba.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/code.563493b439e0.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/z-depth.32b827dca50b.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/navigation.a78971c91229.css" type="text/css"><link rel="stylesheet" href="/static/theme/wirecloud.defaulttheme/css/styled_elements_core.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/styled_addon.994ca011233f.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/styled_alternatives.072a51b7e5f5.css" type="text/css"><link rel="stylesheet" href="/static/theme/wirecloud.defaulttheme/css/styledelements/styled_container.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/styled_button.42dddb12a3d2.css" type="text/css"><link rel="stylesheet" href="/static/theme/wirecloud.defaulttheme/css/styledelements/styled_checkbox.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/styled_pills.9566c4e68332.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/styled_notebook.93373e91362a.css" type="text/css"><link rel="stylesheet" href="/static/theme/wirecloud.defaulttheme/css/styledelements/styled_form.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/styled_panel.71e154639890.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/styled_numeric_field.446b0eb3fdba.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/styled_text_field.d3528c36af21.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/styled_text_area.18aba0028647.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/styled_password_field.82bca33adc86.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/styled_select.f3cfb9ff5411.css" type="text/css"><link rel="stylesheet" href="/static/theme/wirecloud.defaulttheme/css/styledelements/styled_border_layout.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/styled_horizontal_and_vertical_layout.f00c5816f677.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/styled_file_field.8d08d4212205.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/styled_table.2d0820c662a3.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/styled_label_badge.a8e4e1f2d5b0.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/styled_alert.032c19e06c82.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/styled_rating.a59acb4aef93.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/styled_popup_menu.03f66ea4efd7.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/styled_popover.918c5f2e500b.css" type="text/css"><link rel="stylesheet" href="/static/theme/wirecloud.defaulttheme/css/styledelements/styled_tooltip.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/styled_expander.ca2e8d24e10f.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/styled_offcanvas_layout.2a8d6774c541.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/styled_pagination.3b7921c9aff1.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/styled_thumbnail.1242c15dd15b.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/wirecloud_core.e55ae5043be9.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/header.ce9856fbbc6d.css" type="text/css"><link rel="stylesheet" href="/static/theme/wirecloud.defaulttheme/css/icons.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/base.1392d8d6d74e.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/logs.68da3e82c09d.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/dragboard.30523d306165.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/dragboard_cursor.52f28da8a820.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/operator.77084366bdf3.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/widget.9b226f75f630.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/share.80fe8f53f749.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/upload.b538d174ffd0.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/upgrade_downgrade_component.d445f5048589.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/embed_code.3853ecb0f9f4.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/mac_search.c83ae00f0c18.css" type="text/css"><link rel="stylesheet" href="/static/theme/wirecloud.defaulttheme/css/layout_field.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/mac_field.de258316ad54.css" type="text/css"><link rel="stylesheet" href="/static/theme/wirecloud.defaulttheme/css/mac_selection_dialog.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/layout.1e610931e568.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/components.7978219d6419.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/connection.d0ba0c693359.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/behaviours.60fac5af5aae.css" type="text/css"><link rel="stylesheet" href="/static/theme/wirecloud.defaulttheme/css/catalogue/emptyCatalogueBox.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/resource.8ac504148248.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/resource_details.b70cb21cbd83.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/search_interface.6f6070ce2b7c.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/upload.3d9ae3afe1df.css" type="text/css"><link rel="stylesheet" href="/static/cache/css/tutorial.5b116463dbc9.css" type="text/css">

</head>

image

It seems this error occurs when using django-compressor 2.4. As a workaround, by adding "django-compressor<2.4" to pip install in 1.2/Dockerfile, the landing page is correctly opened.

diff --git a/1.2/Dockerfile b/1.2/Dockerfile
index d2f5e28..574f82d 100644
--- a/1.2/Dockerfile
+++ b/1.2/Dockerfile
@@ -10,7 +10,7 @@ ENV LOGLEVEL=info

 RUN apt-get update && \
     apt-get install -y libmemcached-dev gosu && \
-    pip install --no-cache-dir social-auth-app-django "gunicorn==19.3.0" "psycopg2==2.6" pylibmc pysolr "elasticsearch==2.4.1" && \
+    pip install --no-cache-dir "django-compressor<2.4" social-auth-app-django "gunicorn==19.3.0" "psycopg2==2.6" pylibmc pysolr "elasticsearch==2.4.1" && \
     rm -rf /var/lib/apt/lists/* && \
     gosu nobody true

I confirmed the changelog of django-compressor 2.4, but I could not find an update that directly caused this error.

fisuda commented 4 years ago

Fixed in v1.2.1 (90b85a2de3433d1fd96c6fd9aab4d263519783f0)