gtg icon indicating copy to clipboard operation
gtg copied to clipboard

Export plugin text template not working

Open kocio-pl opened this issue 4 years ago • 2 comments

Export plugin text template does not work, because it requires htmllib in file GTG/plugins/export/export_templates/template_textual.txt, but it's not mentioned in documentation nor in plugin dependencies:

https://github.com/getting-things-gnome/gtg/blob/4bd89aa55cb15b5cd077afd5fc08c2718ef51528/GTG/plugins/export.gtg-plugin#L9

It's similar to #831, however text export might be available in different way, for example like report template, which is working.

kocio-pl avatar Feb 28 '22 05:02 kocio-pl

Needs some script rework to use html.parser:

Deprecated since version 2.6: The htmllib module has been removed in Python 3. Use HTMLParser instead in Python 2, and the equivalent, html.parser, in Python 3.

https://docs.python.org/2.7/library/htmllib.html

kocio-pl avatar Feb 28 '22 05:02 kocio-pl

I would consider the entire export plugin deprecated. See #299 Once we have the new core working in master, we can also work on the new export plugin

diegogangl avatar Feb 28 '22 12:02 diegogangl