5,414
edits
Changes
From Gramps
m
The version for * A Try/Except section has been added (''gramps 6.0 branch'') and many logging.error() moved to logging.debug(). To will avoid these extra Error dialogs. * Versions prior 5.2 has branch, may have a module location issue (''see bug n°{{bug|13687}}''):
no edit summary
}}
{{man label|[[Addon:Lxml Gramplet#lxml_Gramplet|lxml Gramplet]]}} is an experimental [[Gramplets_development|gramplet]] working under compatible with [[Gramps_Glossary#posix|POSIX]] platform(s)platforms. It performs as an XML reader, transformer and Gramps format validator. JSON dumps also. which reads, writes (''not to a clone; the original one; orginal is safe in a read -only state''), transforms content of our [[Gramps XML]] file on the fly without an import into our database (Gramps session).
Includes the {{man label|[[Addon:Lxml Gramplet#etree_Gramplet|etree Gramplet]]}} for testing the ''Python ElementTree module''(etree) with Gramps XML.
<gallery>
File:Lxml-Gramplet-detached-addon-51.png|lxml Gramplet addon detached from Dashboard
File:Lxml-Gramplet-detached-addon-60.png|lxml Gramplet addon detached from Dashboard, Gramps 6.0 branch
File:Lxml_Gramplet_Text_View.png|lxml Text View
</gallery>
=Issues=
* <s>Help buttons for both Gramplets do not go to this page</s>. See PR [https://github.com/gramps-project/addons-source/pull/690 690 and 691] on gramps-addons repository
* <s>Warning and Error dialogs could be more friendly (eg, by using Gramps' dialogs) </s> ; ''see the next XMLSyntaxError or ParseError''
==lxml Gramplet==
* With the "lxml Gramplet" if you don't load a valid file or just press run without selecting a file you get an error message popup that states "Is it a .gramps ?" and "Cannot copy "D:\filepath\...\test.gramps" then the "Error Report wizard is shown with the error message "110858: ERROR:lxmlGramplet.py line 284:Cannot copy the file"
</pre>
<pre>
- from gramps.gui.thumbnails import get_thumbnail_path