← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1217786] Re: SyntaxError with lesscpy

 

User error.

$ pip search lesscpy
lesscpy                   - Lesscss compiler.
  INSTALLED: 0.6
  LATEST:    0.9j
$ sudo pip install -U lesscpy
Requirement already up-to-date: lesscpy in /usr/lib/python2.7/site-packages
Cleaning up...

This is due to the latest pip interpreting letters as meaning this is a
beta (we had the same issue with pytz) and ignoring them.

$ sudo pip install -U lesscpy==0.9j
Downloading/unpacking lesscpy==0.9j
...

(You may have to upgrade setuptools first, if you see an error about an
invalid 'egg_info' command)

** Changed in: horizon
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1217786

Title:
  SyntaxError with lesscpy

Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  After updating Horizon to the latest on my devstack environment
  (Fedora 19), I'm hitting an issue trying to load any page. I installed
  lesscpy with pip manually.

  FilterError at /

  Traceback (most recent call last):
    File "/usr/bin/lesscpy", line 15, in <module>
      from lesscpy.scripts import compiler
    File "/usr/lib/python2.7/site-packages/lesscpy/scripts/compiler.py", line 15, in <module>
      from lesscpy.lessc import parser
    File "/usr/lib/python2.7/site-packages/lesscpy/lessc/parser.py", line 690
      print("%s: line: %d: " % (t, l), end='')
                                          ^
  SyntaxError: invalid syntax

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1217786/+subscriptions