Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-6614

FIWARE.Question.Tech.Apps.ApplicationMashup.Software.ThemeIsNotValid

    Details

      Description

      Created question in FIWARE Q/A platform on 17-05-2016 at 14:05
      Please, ANSWER this question AT http://stackoverflow.com/questions/37276368/fiware-wirecloud-bug-custom-theme-is-not-a-valid-wirecloud-theme

      Question:
      FIWARE Wirecloud Bug; <custom theme> is not a valid WireCloud theme

      Description:
      We have Wirecloud installed on our own server, using the Docker image on Docker Hub (latest = 0.9.1).
      Using the instructions here: https://wirecloud.readthedocs.io/en/latest/development/platform/themes/ we tried to follow the 'Basic themes' section. But is it is not clear where the theme should be placed on the file system.

      created the directory structure in the example
      created a init.py with one line: parent = "wirecloud.defaulttheme"
      created a
      _variables.scss and pasted the example into it. Put the file in babblerTheme/static/css/
      created a header.png image and placed it in babblerTheme/static/images/logos/
      Then updated settings.py with the name of our basic theme with the setting: THEME_ACTIVE = "babblerTheme"
      Then ran python manage.py collectstatic --noinput

      we get the error:

      ...File "/usr/local/lib/python2.7/site-packages/wirecloud/platform/themes.py", line 82, in get_theme_metadata'
      raise ValueError("%s is not a valid WireCloud theme" % theme_name)
      ValueError: babblerTheme is not a valid WireCloud theme

      We tried putting the theme directory in the following places without any luck:

      /opt/wirecloud_instance/wirecloud_instance/babblerTheme
      /opt/wirecloud_instance/babblerTheme
      /usr/local/lib/python2.7/site-packages/wirecloud/babblerTheme

      All three places, same uninformative error.

      This should be really easy, but i already spent more than half a day on it. I can work around this bug by changing the contents of the default theme, but i expect that will lead to problems when upgrading Wirecloud.

      What should we be doing to get Wirecloud to pick up our custom theme?

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        5h 59m 1 Backlog Manager 17/May/16 9:07 PM
        In Progress In Progress Answered Answered
        3h 1 Backlog Manager 18/May/16 12:07 AM
        Answered Answered Closed Closed
        5d 11h 19m 1 Álvaro Arranz 23/May/16 11:26 AM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        aarranz Álvaro Arranz made changes -
        Summary FIWARE.Question.Tech.Apps.ApplicationMashup.FIWARE Wirecloud Bug; &lt;custom theme&gt; is not a valid WireCloud theme FIWARE.Question.Tech.Apps.ApplicationMashup.Software.ThemeIsNotValid
        backlogmanager Backlog Manager made changes -
        Summary [fiware-stackoverflow] FIWARE Wirecloud Bug; &lt;custom theme&gt; is not a valid WireCloud theme FIWARE.Question.Tech.Apps.ApplicationMashup.FIWARE Wirecloud Bug; &lt;custom theme&gt; is not a valid WireCloud theme
        HD-Node Unknown [ 10852 ]
        aarranz Álvaro Arranz made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        backlogmanager Backlog Manager made changes -
        Assignee Álvaro Arranz [ aarranz ]
        backlogmanager Backlog Manager made changes -
        HD-Chapter Unknown [ 10845 ] Apps [ 10836 ]
        mev Manuel Escriche made changes -
        HD-Enabler Unknown [ 10910 ] Wirecloud [ 10857 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2016-05-18 00:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2016-05-18 00:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False
        backlogmanager Backlog Manager made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2016-05-17 21:05|UPDATED status: transition Answer| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2016-05-17 21:05|UPDATED status: transition Answer| # answers= 1, accepted answer= False
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        backlogmanager Backlog Manager made changes -
        HD-Enabler Unknown [ 10910 ]
        HD-Chapter Unknown [ 10845 ]
        HD-Node Unknown [ 10852 ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2016-05-17 15:05|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2016-05-17 15:05|CREATED monitor | # answers= 0, accepted answer= False
        backlogmanager Backlog Manager created issue -

          People

          • Assignee:
            aarranz Álvaro Arranz
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: