Adding spells to known spells and spell books causes character sheets to be unprintable. Happens with all D&D 5e character sheets
22:16:05.440 WARNING SwingWorker-pool-2-thread-2 FopTask:261 file:...pcgen/outputsheets/ d20/5e/pdf/common_sheet/block_ spells_condensed.xslt; Line#: 1162; Column#: 35; Test END - Spells Memorized
22:16:05.444 WARNING SwingWorker-pool-2-thread-2 FopTask:261 file:...pcgen/outputsheets/ d20/5e/pdf/common_sheet/block_ spells_condensed.xslt; Line#: 1162; Column#: 35; Test END - Spells Memorized
22:16:05.454 WARNING SwingWorker-pool-2-thread-2 FopTask:261 file:...pcgen/outputsheets/ d20/5e/pdf/common_sheet/block_ spells_condensed.xslt; Line#: 1114; Column#: 45; Test Levels 5+
22:16:05.460 SEVERE SwingWorker-pool-2-thread-2 FopTask:322 [FOP] The column-number or number of cells in the row overflows the number of fo:table-columns specified for the table. (No context info available)
22:16:05.468 SEVERE SwingWorker-pool-2-thread-2 FopTask:253 FOP Fatal Error org.apache.fop.fo.ValidationException: The column-number or number of cells in the row overflows the number of fo:table-columns specified for the table. (No context info available) at Unknown;
22:16:05.475 SEVERE SwingWorker-pool-2-thread-2 FopTask:225 Exception in FopTask:run
javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: The column-number or number of cells in the row overflows the number of fo:table-columns specified for the table. (No context info available)
at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1325)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2402)
at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1376)
at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395)
Linux
I don’t know what to say. If I can’t reproduce then I can’t debug.
Bad news is that RC8 is now consistantly failing for me.
Good news is that applying the patch “block_spells_condensed.xslt” fixes the problem reliably.
All of the 5e output sheets print using the old patch file,
with the exception of the “csheet_fantacy_spell_list_only.xslt“ sheet.
Note:
RC8 file is 47,707 bytes.
Patch file is 47,582 bytes.
Comparing the two, the fix I did isn’t your issue then. It’s a complete divergence that never got back ported. The changes dealt with spacing.
@@ -1003,10 +997,10 @@
</xsl:call-template>
<fo:table table-layout="fixed" width="100%" space-after="5mm">
fo:table-column
@@ -1057,21 +1051,24 @@
====================================-->
<xsl:template match="spellbook" mode="spells.memorized">
<xsl:if test="count(.//spell) > 0">
@@ -1098,7 +1095,7 @@
<xsl:template match="class" mode="spells.memorized">
<xsl:if test="count(.//spell) > 0">
fo:table-row xsl:messageTest "Spells Memorized Section"</xsl:message>