Created
November 4, 2013 14:25
-
-
Save jtomasek/7303213 to your computer and use it in GitHub Desktop.
Bootstrap 3 lesscpy compilation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(.venv)→ ../Lesscpy/bin/lesscpy openstack_dashboard/static/bootstrap/less/bootstrap.less -g -V | |
Generating LALR tables | |
WARNING: 192 shift/reduce conflicts | |
Compiling target: openstack_dashboard/static/bootstrap/less/bootstrap.less | |
PLY: PARSE DEBUG START | |
State : 0 | |
Stack : . LexToken(css_import,'@import',12,254) | |
Action : Shift and goto state 26 | |
State : 26 | |
Stack : css_import . LexToken(t_ws,' ',12,261) | |
Action : Shift and goto state 92 | |
State : 92 | |
Stack : css_import t_ws . LexToken(css_string,'"variables.less"',12,262) | |
Action : Shift and goto state 153 | |
State : 153 | |
Stack : css_import t_ws css_string . LexToken(;,';',12,278) | |
Action : Shift and goto state 206 | |
State : 206 | |
Stack : css_import t_ws css_string ; . LexToken(css_import,'@import',13,280) | |
Action : Reduce rule [import_statement -> css_import t_ws css_string ;] with ['@import',' ',<str @ 0x7f880451b880>,';'] and goto state 13 | |
Compiling target: /home/jtomasek/horizon/openstack_dashboard/static/bootstrap/less/variables.less | |
E: /home/jtomasek/horizon/openstack_dashboard/static/bootstrap/less/variables.less line: 150, Syntax Error, token: `t_popen`, `(` | |
Result : <NoneType @ 0x3e48183ea0> (None) | |
State : 29 | |
Stack : import_statement . LexToken(css_import,'@import',13,280) | |
Action : Reduce rule [unit -> import_statement] with [None] and goto state 9 | |
Result : <NoneType @ 0x3e48183ea0> (None) | |
State : 11 | |
Stack : unit . LexToken(css_import,'@import',13,280) | |
Action : Reduce rule [unit_list -> unit] with [None] and goto state 3 | |
Result : <list @ 0x23cd2d8> ([None]) | |
State : 21 | |
Stack : unit_list . LexToken(css_import,'@import',13,280) | |
Action : Shift and goto state 26 | |
State : 26 | |
Stack : unit_list css_import . LexToken(t_ws,' ',13,287) | |
Action : Shift and goto state 92 | |
State : 92 | |
Stack : unit_list css_import t_ws . LexToken(css_string,'"mixins.less"',13,288) | |
Action : Shift and goto state 153 | |
State : 153 | |
Stack : unit_list css_import t_ws css_string . LexToken(;,';',13,301) | |
Action : Shift and goto state 206 | |
State : 206 | |
Stack : unit_list css_import t_ws css_string ; . LexToken(css_import,'@import',16,313) | |
Action : Reduce rule [import_statement -> css_import t_ws css_string ;] with ['@import',' ','"mixins.less"',';'] and goto state 13 | |
Compiling target: /home/jtomasek/horizon/openstack_dashboard/static/bootstrap/less/mixins.less | |
State : 0 | |
Stack : . error | |
ERROR: Error : . error | |
State : 0 | |
Stack : . LexToken(t_ws,' ',16,320) | |
ERROR: Error : . LexToken(t_ws,' ',16,320) | |
State : 0 | |
Stack : . LexToken(css_string,'"normalize.less"',16,321) | |
ERROR: Error : . LexToken(css_string,'"normalize.less"',16,321) | |
State : 0 | |
Stack : . LexToken(;,';',16,337) | |
ERROR: Error : . LexToken(;,';',16,337) | |
State : 0 | |
Stack : . LexToken(css_import,'@import',17,339) | |
Action : Shift and goto state 26 | |
State : 26 | |
Stack : css_import . LexToken(t_ws,' ',17,346) | |
Action : Shift and goto state 92 | |
State : 92 | |
Stack : css_import t_ws . LexToken(css_string,'"print.less"',17,347) | |
Action : Shift and goto state 153 | |
State : 153 | |
Stack : css_import t_ws css_string . LexToken(;,';',17,359) | |
Action : Shift and goto state 206 | |
State : 206 | |
Stack : css_import t_ws css_string ; . LexToken(css_import,'@import',20,374) | |
Action : Reduce rule [import_statement -> css_import t_ws css_string ;] with ['@import',' ','"print.less"',';'] and goto state 13 | |
Compiling target: /home/jtomasek/horizon/openstack_dashboard/static/bootstrap/less/print.less | |
Result : <list @ 0x2512518> ([<lesscpy.plib.block.Block object at 0x2 ...) | |
State : 29 | |
Stack : import_statement . LexToken(css_import,'@import',20,374) | |
Action : Reduce rule [unit -> import_statement] with [<list @ 0x2512518>] and goto state 9 | |
Result : <list @ 0x2512518> ([<lesscpy.plib.block.Block object at 0x2 ...) | |
State : 11 | |
Stack : unit . LexToken(css_import,'@import',20,374) | |
Action : Reduce rule [unit_list -> unit] with [<list @ 0x2512518>] and goto state 3 | |
Result : <list @ 0x2512518> ([<lesscpy.plib.block.Block object at 0x2 ...) | |
State : 21 | |
Stack : unit_list . LexToken(css_import,'@import',20,374) | |
Action : Shift and goto state 26 | |
State : 26 | |
Stack : unit_list css_import . LexToken(t_ws,' ',20,381) | |
Action : Shift and goto state 92 | |
State : 92 | |
Stack : unit_list css_import t_ws . LexToken(css_string,'"scaffolding.less"',20,382) | |
Action : Shift and goto state 153 | |
State : 153 | |
Stack : unit_list css_import t_ws css_string . LexToken(;,';',20,400) | |
Action : Shift and goto state 206 | |
State : 206 | |
Stack : unit_list css_import t_ws css_string ; . LexToken(css_import,'@import',21,402) | |
Action : Reduce rule [import_statement -> css_import t_ws css_string ;] with ['@import',' ',<str @ 0x23b6768>,';'] and goto state 13 | |
Compiling target: /home/jtomasek/horizon/openstack_dashboard/static/bootstrap/less/scaffolding.less | |
E: line: 0: Unknown variable @font-family-base | |
E: line: 0: Unknown variable @link-color | |
E: line: 0: Unknown variable @border-radius-large | |
E: line: 0: Unknown variable @thumbnail-padding | |
E: line: 0: Unknown variable @line-height-computed | |
Result : <list @ 0x2538488> ([<lesscpy.plib.block.Block object at 0x2 ...) | |
State : 29 | |
Stack : unit_list import_statement . LexToken(css_import,'@import',21,402) | |
Action : Reduce rule [unit -> import_statement] with [<list @ 0x2538488>] and goto state 9 | |
Result : <list @ 0x2538488> ([<lesscpy.plib.block.Block object at 0x2 ...) | |
State : 69 | |
Stack : unit_list unit . LexToken(css_import,'@import',21,402) | |
Action : Reduce rule [unit_list -> unit_list unit] with [<list @ 0x2512518>,<list @ 0x2538488>] and goto state 2 | |
Result : <list @ 0x2512518> ([<lesscpy.plib.block.Block object at 0x2 ...) | |
State : 21 | |
Stack : unit_list . LexToken(css_import,'@import',21,402) | |
Action : Shift and goto state 26 | |
State : 26 | |
Stack : unit_list css_import . LexToken(t_ws,' ',21,409) | |
Action : Shift and goto state 92 | |
State : 92 | |
Stack : unit_list css_import t_ws . LexToken(css_string,'"type.less"',21,410) | |
Action : Shift and goto state 153 | |
State : 153 | |
Stack : unit_list css_import t_ws css_string . LexToken(;,';',21,421) | |
Action : Shift and goto state 206 | |
State : 206 | |
Stack : unit_list css_import t_ws css_string ; . LexToken(css_import,'@import',22,423) | |
Action : Reduce rule [import_statement -> css_import t_ws css_string ;] with ['@import',' ','"type.less"',';'] and goto state 13 | |
Compiling target: /home/jtomasek/horizon/openstack_dashboard/static/bootstrap/less/type.less | |
Traceback (most recent call last): | |
File "../Lesscpy/bin/lesscpy", line 16, in <module> | |
compiler.run() | |
File "/home/jtomasek/Lesscpy/lesscpy/scripts/compiler.py", line 174, in run | |
p.parse(filename=args.target, debuglevel=args.debug) | |
File "/home/jtomasek/Lesscpy/lesscpy/lessc/parser.py", line 91, in parse | |
filename, lexer=self.lex, debug=debuglevel) | |
File "/home/jtomasek/horizon/.venv/lib/python2.7/site-packages/ply/yacc.py", line 261, in parse | |
return self.parsedebug(input,lexer,debug,tracking,tokenfunc) | |
File "/home/jtomasek/horizon/.venv/lib/python2.7/site-packages/ply/yacc.py", line 421, in parsedebug | |
p.callable(pslice) | |
File "/home/jtomasek/Lesscpy/lesscpy/lessc/parser.py", line 181, in p_statement_import | |
recurse.parse(filename=filename, debuglevel=0) | |
File "/home/jtomasek/Lesscpy/lesscpy/lessc/parser.py", line 91, in parse | |
filename, lexer=self.lex, debug=debuglevel) | |
File "/home/jtomasek/horizon/.venv/lib/python2.7/site-packages/ply/yacc.py", line 265, in parse | |
return self.parseopt_notrack(input,lexer,debug,tracking,tokenfunc) | |
File "/home/jtomasek/horizon/.venv/lib/python2.7/site-packages/ply/yacc.py", line 971, in parseopt_notrack | |
p.callable(pslice) | |
File "/home/jtomasek/Lesscpy/lesscpy/lessc/parser.py", line 523, in p_ident_media_var | |
p[0][5] = var.value[0] | |
AttributeError: 'bool' object has no attribute 'value' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment