Topics

#bug Spell books cause print rendering errors #bug

Robert Singers
 

Hi there, I was trying to add spells to know spells and to spell books for 5e and discovered it causes the character to be unprintable.
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)

Paul Grosse
 

Try one of the other sheets so we can narrow it down to whether it's a data, code, or a output problem.

What version of PCGen are you using
What datasets are you loading?


Paul A. Grosse


On Tuesday, April 9, 2019, 7:40:32 AM EDT, <rsmsingers@...> wrote:


Hi there, I was trying to add spells to know spells and to spell books for 5e and discovered it causes the character to be unprintable.
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)

--
--Paul Grosse
--PCGen BoD, PR Silverback
@Nylanfs

Robert Singers
 

I've tried about 5 of the sheets and it happened with all of them.   I was loading the D&D 5e SRD. I'm using the latest PCGen (just switched off my laptop to hear to bed).


On 9/04/2019 at 23:48, <Paul Grosse via Groups.Io> wrote:

Try one of the other sheets so we can narrow it down to whether it's a data, code, or a output problem.

What version of PCGen are you using
What datasets are you loading?


Paul A. Grosse


On Tuesday, April 9, 2019, 7:40:32 AM EDT, <rsmsingers@...> wrote:


Hi there, I was trying to add spells to know spells and to spell books for 5e and discovered it causes the character to be unprintable.
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)

--
--Paul Grosse
--PCGen BoD, PR Silverback
@Nylanfs

Robert Singers
 

I've tested all 5e templates.  None of them work if a spell has been added to prepared spells or a spellbook.  Furthermore if I first added spells to prepared spells, I was not able to add them to a spellbook.  The spellbook just did not show under the spellbook tab.

Also under 5e, cantrips are not written in a spellbook.  I don't think it's an issue that PCGen adds them but they are consuming a page count.

On Wed, 10 Apr 2019 at 00:18, Robert Singers <rsmsingers@...> wrote:
I've tried about 5 of the sheets and it happened with all of them.   I was loading the D&D 5e SRD. I'm using the latest PCGen (just switched off my laptop to hear to bed).


On 9/04/2019 at 23:48, <Paul Grosse via Groups.Io> wrote:

Try one of the other sheets so we can narrow it down to whether it's a data, code, or a output problem.

What version of PCGen are you using
What datasets are you loading?


Paul A. Grosse


On Tuesday, April 9, 2019, 7:40:32 AM EDT, <rsmsingers@...> wrote:


Hi there, I was trying to add spells to know spells and to spell books for 5e and discovered it causes the character to be unprintable.
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)

--
--Paul Grosse
--PCGen BoD, PR Silverback
@Nylanfs


--
Robert Singers
 

Robert Singers
 

Hi there, I've retested this with 6.08.00RC5 and OpenJDK 12.0.1 and the problem stills exists.  It also was not an easy task ripping out the Linux Uprising Java 11 from Mint either.

On Tue, 9 Apr 2019 at 23:48, Paul Grosse via Groups.Io <nylanfs=yahoo.com@groups.io> wrote:
Try one of the other sheets so we can narrow it down to whether it's a data, code, or a output problem.

What version of PCGen are you using
What datasets are you loading?


Paul A. Grosse


On Tuesday, April 9, 2019, 7:40:32 AM EDT, <rsmsingers@...> wrote:


Hi there, I was trying to add spells to know spells and to spell books for 5e and discovered it causes the character to be unprintable.
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)

--
--Paul Grosse
--PCGen BoD, PR Silverback
@Nylanfs



--
Robert Singers
 

Bastien Durel
 

Le jeudi 09 mai 2019 à 19:26 +1200, Robert Singers a écrit :
Hi there, I've retested this with 6.08.00RC5 and OpenJDK 12.0.1 and
the problem stills exists. It also was not an easy task ripping out
the Linux Uprising Java 11 from Mint either.

On Tue, 9 Apr 2019 at 23:48, Paul Grosse via Groups.Io <
nylanfs@...> wrote:
Try one of the other sheets so we can narrow it down to whether
it's a data, code, or a output problem.

What version of PCGen are you using
What datasets are you loading?


Paul A. Grosse


On Tuesday, April 9, 2019, 7:40:32 AM EDT, <rsmsingers@...>
wrote:


Hi there, I was trying to add spells to know spells and to spell
books for 5e and discovered it causes the character to be
unprintable.
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(ElemLiteralRes
ult.java:1325)
at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(
TransformerImpl.java:2402)
at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralRes
ult.java:1376)
at
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNode
s(ElemApplyTemplates.java:395)

--
--Paul Grosse
--PCGen BoD, PR Silverback
@Nylanfs
Hi,

The error looks like the one I fixed in 3.5e in commit
9e6e396a4a201b3322e593a0bf7e8d66e9c99615 ; caused by the presence of
10th level spell slots.

I'd look at the intermediate XML if I were you.

--
Bastien

Bastien Durel
 

Le jeudi 09 mai 2019 à 10:50 +0200, Bastien Durel a écrit :
Le jeudi 09 mai 2019 à 10:16 +0200, Bastien Durel a écrit :
Le jeudi 09 mai 2019 à 19:26 +1200, Robert Singers a écrit :
Hi there, I've retested this with 6.08.00RC5 and OpenJDK 12.0.1
and
the problem stills exists. It also was not an easy task ripping
out
the Linux Uprising Java 11 from Mint either.

On Tue, 9 Apr 2019 at 23:48, Paul Grosse via Groups.Io <
nylanfs@...> wrote:
Try one of the other sheets so we can narrow it down to whether
it's a data, code, or a output problem.

What version of PCGen are you using
What datasets are you loading?


Paul A. Grosse


On Tuesday, April 9, 2019, 7:40:32 AM EDT, <
rsmsingers@...>
wrote:


Hi there, I was trying to add spells to know spells and to
spell
books for 5e and discovered it causes the character to be
unprintable.
[...]
Hi,

The error looks like the one I fixed in 3.5e in commit
9e6e396a4a201b3322e593a0bf7e8d66e9c99615 ; caused by the presence
of 10th level spell slots.
I created a 17-th level wizard, and have 22 10th-level slots
available, so there must be an overflow ...

I guess the "10th level slots" are the number of spells I'm able to
prepare (CL17 + 5 INT), as in 5e, you don't prepare spells by level,
but only a number of spells you ca cast, and then you use slots for
casting them as you whish. The gui does not allow this, so the
"prepared spells" tab is wrong for 5e.

--
Bastien

Robert Singers
 

I'm not sure if I said previously but the bug also effects adding spells to spell books.  I originally found it trying to add spell books looted from other Wizards.  We switched to spell points and have dispensed with prepared spells, but have to track spells in spell books manually.


On Thu, 9 May 2019 at 23:13, Bastien Durel <bastien@...> wrote:
Le jeudi 09 mai 2019 à 10:50 +0200, Bastien Durel a écrit :
Le jeudi 09 mai 2019 à 10:16 +0200, Bastien Durel a écrit :
Le jeudi 09 mai 2019 à 19:26 +1200, Robert Singers a écrit :
Hi there, I've retested this with 6.08.00RC5 and OpenJDK 12.0.1
and
the problem stills exists. It also was not an easy task ripping
out
the Linux Uprising Java 11 from Mint either.

On Tue, 9 Apr 2019 at 23:48, Paul Grosse via Groups.Io <
nylanfs=yahoo.com@groups.io> wrote:
Try one of the other sheets so we can narrow it down to whether
it's a data, code, or a output problem.

What version of PCGen are you using
What datasets are you loading?


Paul A. Grosse


On Tuesday, April 9, 2019, 7:40:32 AM EDT, <
rsmsingers@...>
wrote:


Hi there, I was trying to add spells to know spells and to
spell
books for 5e and discovered it causes the character to be
unprintable.
[...]
Hi,

The error looks like the one I fixed in 3.5e in commit
9e6e396a4a201b3322e593a0bf7e8d66e9c99615 ; caused by the presence
of 10th level spell slots.
I created a 17-th level wizard, and have 22 10th-level slots
available, so there must be an overflow ...

I guess the "10th level slots" are the number of spells I'm able to
prepare (CL17 + 5 INT), as in 5e, you don't prepare spells by level,
but only a number of spells you ca cast, and then you use slots for
casting them as you whish. The gui does not allow this, so the
"prepared spells" tab is wrong for 5e.

--
Bastien



--
Robert Singers