You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to switch from sass to less, and I've missed one:
max-width: @page-width - 1ch;
lesscpy crashed on that:
Traceback (most recent call last):
File "/usr/lib/python-exec/python3.8/lesscpy", line 11, in <module>
load_entry_point('lesscpy==0.14.0', 'console_scripts', 'lesscpy')()
File "/usr/lib/python3.8/site-packages/lesscpy/scripts/compiler.py", line 236, in run
p.parse(filename=args.target, debuglevel=args.debug)
File "/usr/lib/python3.8/site-packages/lesscpy/lessc/parser.py", line 154, in parse
self.post_parse()
File "/usr/lib/python3.8/site-packages/lesscpy/lessc/parser.py", line 166, in post_parse
out.append(pu.parse(self.scope))
File "/usr/lib/python3.8/site-packages/lesscpy/plib/block.py", line 42, in parse
inner = list(utility.flatten([p.parse(scope) for p in inner if p]))
File "/usr/lib/python3.8/site-packages/lesscpy/plib/block.py", line 42, in <listcomp>
inner = list(utility.flatten([p.parse(scope) for p in inner if p]))
File "/usr/lib/python3.8/site-packages/lesscpy/plib/block.py", line 42, in parse
inner = list(utility.flatten([p.parse(scope) for p in inner if p]))
File "/usr/lib/python3.8/site-packages/lesscpy/plib/block.py", line 42, in <listcomp>
inner = list(utility.flatten([p.parse(scope) for p in inner if p]))
File "/usr/lib/python3.8/site-packages/lesscpy/plib/property.py", line 38, in parse
self.parsed = self.process(style, scope)
File "/usr/lib/python3.8/site-packages/lesscpy/plib/node.py", line 45, in process
tokens = [
File "/usr/lib/python3.8/site-packages/lesscpy/plib/node.py", line 46, in <listcomp>
t.parse(scope) if hasattr(t, 'parse') else t
File "/usr/lib/python3.8/site-packages/lesscpy/plib/expression.py", line 35, in parse
A, O, B = [
ValueError: too many values to unpack (expected 3)
The text was updated successfully, but these errors were encountered:
mgorny
changed the title
'ValueError: too many values to unpack (expected 3)' on sass-like arithmetic syntax
'ValueError: too many values to unpack (expected 3)' on substraction using 'ch' unit
May 18, 2020
I was trying to switch from sass to less, and I've missed one:
lesscpy crashed on that:
The text was updated successfully, but these errors were encountered: