14
edits
Changes
m
→Tips on debugging your custom form definitions
If there are other (non-syntax) errors in the file then when you use the {{man button|New}} button and select the form, it will probably fail and suggest you restart Gramps,
if you open the details first you will see some details information which may give you a clue as to where the issue is (start from the bottom of the error message), the following is an example:
<nowiki>
title1, title2 = title.split('/')
ValueError: not enough values to unpack (expected 2, got 1)</nowiki>
The above error was meaningless in my case, the title was fine, it didn't like the case of one of the entries.
=== Submitting your form definitions ===