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

[fiware-stackoverflow] Compress command fails on fresh installation of WireCloud

    Details

      Description

      Created question in FIWARE Q/A platform on 30-06-2016 at 10:06
      Please, ANSWER this question AT https://stackoverflow.com/questions/38118080/compress-command-fails-on-fresh-installation-of-wirecloud

      Question:
      Compress command fails on fresh installation of WireCloud

      Description:
      I cannot set up a basic wirecloud instance anymore. I tried to create a minimum Wirecloud instance like this:

      virtualenv venv
      source venv/bin/activate
      pip install wirecloud
      wirecloud-admin startproject prj
      cd prj/
      python manage.py collectstatic
      python manage.py compress --force

      Upon the call to compress the static files an error is thrown:

      CommandError: An error occurred during rendering /opt/wc/venv/local/lib/python2.7/site-packages/wirecloud/defaulttheme/templates/wirecloud/views/base_plain.html: Error parsing expression at 30:
      none if($important, !important)
      ^

      on line 2 of theme/wirecloud.defaulttheme/css/base/z-depth.scss
      Traceback:
      File "/opt/wc/venv/local/lib/python2.7/site-packages/scss/calculator.py", line 167, in parse_expression
      ast = getattr(parser, target)()
      File "/opt/wc/venv/local/lib/python2.7/site-packages/scss/grammar/expression.py", line 110, in goal
      expr_lst = self.expr_lst()
      File "/opt/wc/venv/local/lib/python2.7/site-packages/scss/grammar/expression.py", line 199, in expr_lst
      expr_slst = self.expr_slst()
      File "/opt/wc/venv/local/lib/python2.7/site-packages/scss/grammar/expression.py", line 211, in expr_slst
      or_expr = self.or_expr()
      File "/opt/wc/venv/local/lib/python2.7/site-packages/scss/grammar/expression.py", line 216, in or_expr
      and_expr = self.and_expr()
      File "/opt/wc/venv/local/lib/python2.7/site-packages/scss/grammar/expression.py", line 225, in and_expr
      not_expr = self.not_expr()
      File "/opt/wc/venv/local/lib/python2.7/site-packages/scss/grammar/expression.py", line 236, in not_expr
      comparison = self.comparison()
      File "/opt/wc/venv/local/lib/python2.7/site-packages/scss/grammar/expression.py", line 244, in comparison
      a_expr = self.a_expr()
      File "/opt/wc/venv/local/lib/python2.7/site-packages/scss/grammar/expression.py", line 275, in a_expr
      m_expr = self.m_expr()
      File "/opt/wc/venv/local/lib/python2.7/site-packages/scss/grammar/expression.py", line 290, in m_expr
      u_expr = self.u_expr()
      File "/opt/wc/venv/local/lib/python2.7/site-packages/scss/grammar/expression.py", line 319, in u_expr
      atom = self.atom()
      File "/opt/wc/venv/local/lib/python2.7/site-packages/scss/grammar/expression.py", line 359, in atom
      return TernaryOp(expr_lst)
      File "/opt/wc/venv/local/lib/python2.7/site-packages/scss/ast.py", line 558, in _init_
      raise SyntaxError("if() must have exactly 3 arguments")
      SyntaxError: if() must have exactly 3 arguments

      What is the problem here? I just set up the most basic Wirecloud instance possible. If I do not compress it the same error gets thrown in the browser. Is the latest release of wirecloud broken? Or is it something else?

      What do I need to do to get a running version again? Help would be much appreciated since the docker image seems to not be able to get restarted and configurations like other databases and so on are thus not very easy to set up...

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2017-05-22 15:13|CREATED monitor | # answers= 2, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2017-05-22 15:13|CREATED monitor | # answers= 2, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2017-05-22 18:09|UPDATED status: transition Answer| # answers= 2, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2017-05-22 18:09|UPDATED status: transition Answer| # answers= 2, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2017-05-22 21:09|UPDATED status: transition Finish| # answers= 2, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2017-05-22 21:09|UPDATED status: transition Finish| # answers= 2, accepted answer= True

          People

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

            Dates

            • Created:
              Updated:
              Resolved: