INFO: Open page: What do I want and goals (What do I want and goals)
DEBUG: parse_md_link: page: <Page: What do I want and goals>, text: 'alpha20', href: '../../alpha20.md'
DEBUG: linked page full path: <UnixPath: /home/q/alpha20.md>
DEBUG: Running ErrorDialog
ERROR: Looks like you found a bug
Traceback (most recent call last):
File "/home/q/prj/zim-desktop-wiki-markdown/zim/parser.py", line 435, in __call__
self.rules[i].process(builder, *groups)
File "/home/q/prj/zim-desktop-wiki-markdown/zim/formats/zim_markdown.py", line 599, in parse_md_link
linked_page = layout.map_file(linked_path)[0]
File "/home/q/prj/zim-desktop-wiki-markdown/zim/notebook/layout.py", line 110, in map_file
path = file.relpath(self.root)
File "/home/q/prj/zim-desktop-wiki-markdown/zim/fs.py", line 550, in relpath
raise AssertionError('Not a parent folder')
AssertionError: Not a parent folder
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/q/prj/zim-desktop-wiki-markdown/zim/gui/pageview.py", line 5653, in set_page
tree = page.get_parsetree()
File "/home/q/prj/zim-desktop-wiki-markdown/zim/notebook/page.py", line 586, in get_parsetree
self._parsetree = parser.parse(text, file_input=True)
File "/home/q/prj/zim-desktop-wiki-markdown/zim/formats/zim_markdown.py", line 712, in parse
mywikiparser(builder, input)
File "/home/q/prj/zim-desktop-wiki-markdown/zim/formats/zim_markdown.py", line 195, in __call__
self.block_parser(builder, text)
File "/home/q/prj/zim-desktop-wiki-markdown/zim/parser.py", line 447, in __call__
self._raise_exception(error, text, iter, end, builder)
File "/home/q/prj/zim-desktop-wiki-markdown/zim/parser.py", line 445, in __call__
self.process_unmatched(builder, text[iter:])
File "/home/q/prj/zim-desktop-wiki-markdown/zim/formats/zim_markdown.py", line 473, in parse_para
self.list_and_indent_parser(builder, block)
File "/home/q/prj/zim-desktop-wiki-markdown/zim/parser.py", line 437, in __call__
self._raise_exception(error, text, mstart, mend, builder, self.rules[i])
File "/home/q/prj/zim-desktop-wiki-markdown/zim/parser.py", line 435, in __call__
self.rules[i].process(builder, *groups)
File "/home/q/prj/zim-desktop-wiki-markdown/zim/formats/zim_markdown.py", line 487, in parse_list
self.parse_list_lines(builder, lines, 0, attrib)
File "/home/q/prj/zim-desktop-wiki-markdown/zim/formats/zim_markdown.py", line 541, in parse_list_lines
self.inline_parser(builder, text)
File "/home/q/prj/zim-desktop-wiki-markdown/zim/parser.py", line 437, in __call__
self._raise_exception(error, text, mstart, mend, builder, self.rules[i])
File "/home/q/prj/zim-desktop-wiki-markdown/zim/parser.py", line 459, in _raise_exception
error = ParserError(error.message)
AttributeError: 'AssertionError' object has no attribute 'message'
DEBUG: BackgroundCheck started
DEBUG: BackgroundCheck finished
When this happens, restarting zim will give you an empty page that doesn't work. If you visit that page it will trigger this error :(
This was a simple, existing, known-to-work page, no fancy formatting or images or anything.
Hmm, I may have found a serious one:
When this happens, restarting zim will give you an empty page that doesn't work. If you visit that page it will trigger this error :( This was a simple, existing, known-to-work page, no fancy formatting or images or anything.