Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parse error #6

Closed
biojppm opened this issue Mar 5, 2018 · 0 comments
Closed

parse error #6

biojppm opened this issue Mar 5, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@biojppm
Copy link
Owner

biojppm commented Mar 5, 2018

test was commited in 8416731

Here's the log:

---------------
videos:
  - UQxRibHKEDI:
    - UQxRibHKEDI.640x210.mp4
    - UQxRibHKEDI.1280x418.mp4
    - UQxRibHKEDI.1920x628.mp4
    - UQxRibHKEDI.2560x838.mp4
    - UQxRibHKEDI.3840x1256.webm
  - DcYsg8VFdC0:
    - DcYsg8VFdC0.640x164.mp4
    - DcYsg8VFdC0.1280x326.mp4
    - DcYsg8VFdC0.1920x490.mp4
    - DcYsg8VFdC0.2560x652.mp4
    - DcYsg8VFdC0.3840x978.webm
  - Yt3ymqZXzLY:
    - Yt3ymqZXzLY.640x118.mp4
    - Yt3ymqZXzLY.1280x236.mp4
    - Yt3ymqZXzLY.1920x354.mp4
    - Yt3ymqZXzLY.3840x706.webm
---------------

-----------
parse.cpp:
line 1: 'videos:' (sz=7)
         ^~~~~~~  (cols 1-8)
top state: RTOP|RUNK
parse.cpp:227: handle_unk
parse.cpp:238: got a scalar
parse.cpp:1450: line[1] (8 cols) progressed by 6:  col 1 --> 7   offset 0 --> 6
parse.cpp:1382: scalar was 'videos'
parse.cpp:1763: state[0]: storing scalar 'videos' (flag: 0) (old scalar='')
parse.cpp:2509: state[0]: adding flags SSCL: before=RTOP|RUNK after=RTOP|RUNK|SSCL

-----------
parse.cpp:
line 1: 'videos:' (sz=7)
               ^  (cols 7-8)
top state: RTOP|RUNK|SSCL
parse.cpp:227: handle_unk
parse.cpp:301: there's a stored scalar: 'videos'
parse.cpp:340: got a ':' -- it's a map (as_child=0)
parse.cpp:1580: start_map (as child=0)
parse.cpp:2522: state[0]: adding flags RMAP|RVAL / removing flags RUNK|RKEY: before=RTOP|RUNK|SSCL after=RTOP|RMAP|RVAL|SSCL
parse.cpp:1607: start_map: id=0
parse.cpp:1450: line[1] (8 cols) progressed by 1:  col 7 --> 8   offset 6 --> 7
parse.cpp:1459: line[1] (8 cols) ended! offset 7 --> 8

-----------
parse.cpp:
line 2: '  - UQxRibHKEDI:' (sz=16)
         ^~~~~~~~~~~~~~~~  (cols 1-17)
top state: RTOP|RMAP|RVAL|SSCL
parse.cpp:844: handle_map_impl: node_id=0  level=0
parse.cpp:1874: larger indentation (2 > 0)!!!
parse.cpp:2522: state[0]: adding flags RKEY / removing flags RVAL: before=RTOP|RMAP|RVAL|SSCL after=RTOP|RMAP|RKEY|SSCL
parse.cpp:1535: start_unk
parse.cpp:1479: pushing level! currnode=0  currlevel=0
parse.cpp:2497: state[1]: setting flags to RUNK: before=RTOP|RMAP|RKEY|SSCL
parse.cpp:1498: pushing level: now, currlevel=1
parse.cpp:1787: moving scalar 'videos' from state[0] to state[1] (overwriting 'videos')
parse.cpp:2509: state[1]: adding flags SSCL: before=RUNK after=RUNK|SSCL
parse.cpp:2535: state[0]: removing flags SSCL: before=RTOP|RMAP|RKEY|SSCL after=RTOP|RMAP|RKEY
parse.cpp:1450: line[2] (17 cols) progressed by 2:  col 1 --> 3   offset 8 --> 10
parse.cpp:1473: state[1]: saving indentation: 2

-----------
parse.cpp:
line 2: '  - UQxRibHKEDI:' (sz=16)
           ^~~~~~~~~~~~~~  (cols 3-17)
top state: RUNK|SSCL
parse.cpp:227: handle_unk
parse.cpp:254: it's a seq (as_child=1)
parse.cpp:1479: pushing level! currnode=-1  currlevel=1
parse.cpp:1483: pushing level! actually no, current node is null
parse.cpp:1633: start_seq (as child=1)
parse.cpp:2522: state[1]: adding flags RSEQ|RVAL / removing flags RUNK: before=RUNK|SSCL after=RSEQ|RVAL|SSCL
parse.cpp:1771: state[1]: consuming scalar 'videos' (flag: 512))
parse.cpp:2535: state[1]: removing flags SSCL: before=RSEQ|RVAL|SSCL after=RSEQ|RVAL
parse.cpp:1647: start_seq: id=1 name='videos'
parse.cpp:1473: state[1]: saving indentation: 2
parse.cpp:1450: line[2] (17 cols) progressed by 2:  col 3 --> 5   offset 10 --> 12

-----------
parse.cpp:
line 2: '  - UQxRibHKEDI:' (sz=16)
             ^~~~~~~~~~~~  (cols 5-17)
top state: RSEQ|RVAL
parse.cpp:481: handle_seq_impl: node_id=1 level=1
parse.cpp:547: it's a scalar
parse.cpp:1282: RSEQ|RVAL
parse.cpp:1450: line[2] (17 cols) progressed by 11:  col 5 --> 16   offset 12 --> 23
parse.cpp:1382: scalar was 'UQxRibHKEDI'
parse.cpp:552: actually, the scalar is the first key of a map, and it opens a new scope
parse.cpp:2522: state[1]: adding flags RNXT / removing flags RVAL: before=RSEQ|RVAL after=RSEQ|RNXT
parse.cpp:1479: pushing level! currnode=1  currlevel=1
parse.cpp:2497: state[2]: setting flags to RUNK: before=RSEQ|RNXT
parse.cpp:1498: pushing level: now, currlevel=2
parse.cpp:1580: start_map (as child=1)
parse.cpp:2522: state[2]: adding flags RMAP|RVAL / removing flags RUNK|RKEY: before=RUNK after=RMAP|RVAL
parse.cpp:1598: start_map: id=2
parse.cpp:1763: state[2]: storing scalar 'UQxRibHKEDI' (flag: 0) (old scalar='')
parse.cpp:2509: state[2]: adding flags SSCL: before=RMAP|RVAL after=RMAP|RVAL|SSCL
parse.cpp:1473: state[2]: saving indentation: 4
parse.cpp:2522: state[2]: adding flags RVAL / removing flags RKEY: before=RMAP|RVAL|SSCL after=RMAP|RVAL|SSCL
parse.cpp:1450: line[2] (17 cols) progressed by 1:  col 16 --> 17   offset 23 --> 24
parse.cpp:1459: line[2] (17 cols) ended! offset 24 --> 25

-----------
parse.cpp:
line 3: '    - UQxRibHKEDI.640x210.mp4' (sz=29)
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~  (cols 1-30)
top state: RMAP|RVAL|SSCL
parse.cpp:844: handle_map_impl: node_id=2  level=2
parse.cpp:1771: state[2]: consuming scalar 'UQxRibHKEDI' (flag: 512))
parse.cpp:2535: state[2]: removing flags SSCL: before=RMAP|RVAL|SSCL after=RMAP|RVAL
parse.cpp:1724: append keyval: 'UQxRibHKEDI' '' to parent id=2 (level=2)
parse.cpp:1727: append keyval: id=3 name='UQxRibHKEDI' val=''
parse.cpp:2522: state[2]: adding flags RKEY / removing flags RVAL: before=RMAP|RVAL after=RMAP|RKEY
parse.cpp:1450: line[3] (30 cols) progressed by 4:  col 1 --> 5   offset 25 --> 29

-----------
parse.cpp:
line 3: '    - UQxRibHKEDI.640x210.mp4' (sz=29)
             ^~~~~~~~~~~~~~~~~~~~~~~~~  (cols 5-30)
top state: RMAP|RKEY
parse.cpp:844: handle_map_impl: node_id=2  level=2
parse.cpp:1218: .... tag was empty

parse.cpp:
line 3: '    - UQxRibHKEDI.640x210.mp4' (sz=29)
             ^~~~~~~~~~~~~~~~~~~~~~~~~  (cols 5-30)
top state: RMAP|RKEY
@biojppm biojppm closed this as completed in 01012da Mar 6, 2018
@biojppm biojppm added the bug Something isn't working label Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant