zim-wiki team mailing list archive
-
zim-wiki team
-
Mailing list archive
-
Message #03266
Re: Error at exporting
Just found that this error happens if and only if the Include subpages
option is selected
but there are actually no subpages for the selected page.
Agus
On Tue, Feb 17, 2015 at 9:44 AM, Agustin Lobo <aloboaleu@xxxxxxxxx> wrote:
> I get the following when I try to export to html one page and its subpages
> using ZeroFiveEight or Default with index. Works for Default.
> (using 0.62 on linuxmint)
> Agus
>
>
> This is zim 0.62
> Platform: posix
> Locale: en_US UTF-8
> FS encoding: UTF-8
> Python: (2, 7, 4, 'final', 0)
> Gtk: (2, 24, 17)
> Pygtk: (2, 24, 0)
> Zim revision is:
> branch: zim-trunk
> revision: 738 jaap.karssenberg@xxxxxxxxx-20140930191715-hpl66psh7yudcskr
> date: 2014-09-30 21:17:15 +0200
>
> ======= Traceback =======
> File "/usr/lib/pymodules/python2.7/zim/gui/widgets.py", line 3077,
> in do_response
> destroy = self.do_response_ok()
> File "/usr/lib/pymodules/python2.7/zim/gui/exportdialog.py", line
> 62, in do_response_ok
> for p in exporter.export_iter(selection):
> File "/usr/lib/pymodules/python2.7/zim/export/exporters/files.py",
> line 83, in export_iter
> self.export_page(pages.notebook, page, pages, prevpage=prev, nextpage=next)
> File "/usr/lib/pymodules/python2.7/zim/export/exporters/files.py",
> line 129, in export_page
> self.template.process(lines, context)
> File "/usr/lib/pymodules/python2.7/zim/templates/__init__.py", line
> 174, in process
> self.emit('process', output, context)
> File "/usr/lib/pymodules/python2.7/zim/signals.py", line 376, in emit
> return call_default(self, signal, args)
> File "/usr/lib/pymodules/python2.7/zim/signals.py", line 224, in call_default
> return method(*args)
> File "/usr/lib/pymodules/python2.7/zim/templates/__init__.py", line
> 178, in do_process
> processor.process(output, context)
> File "/usr/lib/pymodules/python2.7/zim/templates/processor.py", line
> 81, in process
> self.__call__(output, self.main, context)
> File "/usr/lib/pymodules/python2.7/zim/templates/processor.py", line
> 111, in __call__
> value = expr(context)
> File "/usr/lib/pymodules/python2.7/zim/templates/expression.py",
> line 288, in __call__
> return function(*args)
> File "/usr/lib/pymodules/python2.7/zim/templates/expression.py",
> line 349, in __call__
> return self._func(self._obj, *a)
> File "/usr/lib/pymodules/python2.7/zim/export/template.py", line
> 310, in index_function
> builder.end(FORMATTEDTEXT)
> File "/usr/lib/pymodules/python2.7/zim/formats/__init__.py", line 763, in end
> raise AssertionError, 'Unmatched tag closed: %s' % tag
> AssertionError: Unmatched tag closed: zim-tree
> --
> Agustin Lobo
> aloboaleu@xxxxxxxxx
--
Agustin Lobo
aloboaleu@xxxxxxxxx
References