Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NFO:Started
- INFO:BLOCKS @ imported Blocks.Block
- INFO:BLOCKS @ imported Blocks.SectionBlock
- INFO:BLOCKS @ parser_hook: chapter | <function parse at 0x7f5079a77578>
- INFO:BLOCKS @ parser_hook: subsubsection | <function parse at 0x7f5079a77578>
- INFO:BLOCKS @ parser_hook: section | <function parse at 0x7f5079a77578>
- INFO:BLOCKS @ parser_hook: paragraph | <function parse at 0x7f5079a77578>
- INFO:BLOCKS @ parser_hook: part | <function parse at 0x7f5079a77578>
- INFO:BLOCKS @ parser_hook: subsection | <function parse at 0x7f5079a77578>
- INFO:BLOCKS @ parser_hook: subparagraph | <function parse at 0x7f5079a77578>
- INFO:BLOCKS @ imported Blocks.DefaultBlock
- INFO:BLOCKS @ parser_hook: default | <function parse at 0x7f5079a776e0>
- Traceback (most recent call last):
- File "test_parser.py", line 10, in <module>
- result = p.parse(a)
- File "/home/dario/git-projects/texla/Parser.py", line 32, in parse
- blocks = self.parser_cycle(content, self.root_block,options)
- File "/home/dario/git-projects/texla/Parser.py", line 63, in parser_cycle
- parsed_blocks+=self.parse_sections(tex, parent_block, options)
- File "/home/dario/git-projects/texla/Parser.py", line 109, in parse_sections
- parent_block, sec_options))
- File "/home/dario/git-projects/texla/Parser.py", line 280, in call_parser_hook
- return Blocks.parser_hooks[hook](self, tex, parent_block, options)
- File "/home/dario/git-projects/texla/Blocks/SectionBlock.py", line 21, in parse
- numbered, sec_level, parent_block)
- File "/home/dario/git-projects/texla/Blocks/SectionBlock.py", line 50, in __init__
- super().__init__(section_name, parent_block)
- TypeError: super() takes at least 1 argument (0 given)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement