Author Topic: Rapport Representation Circulaire  (Read 3993 times)

0 Members and 1 Guest are viewing this topic.

Offline crocus

  • VIP
  • Jr. Member
  • *
  • Posts: 5
    • View Profile
Rapport Representation Circulaire
« on: October 10, 2016, 13:19:33 »
summary : ancestris cannot build the circular report more than only once
next times the reports is unreadable by postcript utilities.
Ancestris is to be rerun.

Which Operating System? : Linux
Which version of the O.S.? : openSuse Leap-42-1 (kernel 4.1.31-30)
Which version of Ancestris? : 0.9beta =
What is your Java version? : java-

What are the windows opened on your Ancestris application? :
the Treeview, the Ancestris editor, the reports parameter view

This bug is related to the application itself.
I use the beta version, Ancestris is uptodate.

What is the process that makes the bug to appear (the more details  you can give, the better it is) :
1- launching ancestris ,
open a GEDCOM, selecting an individual, and asking for a circular report for him.
The postcript file is OK and can be opened by any of linux utilities (ie : gimp, genview, ps2pdf)

2- asking for a new circular report provides a new postcript file, but this one cannot be seen by any utility. The errors report (with gimp) gives :

Error: /rangecheck in --log--
Operand stack:
   --nostringval--   place   a   2   0
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1951   1   3   %oparray_pop   1950   1   3   %oparray_pop   1934   1   3   %oparray_pop   1820   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   --nostringval--   %array_continue   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1182/1684(ro)(G)--   --dict:0/20(G)--   --dict:182/200(L)--
Current allocation mode is local
Current file position is 19343
GPL Ghostscript 9.15: Unrecoverable error, exit code 1

3- retarting ancestris, allows to get a new report again, once only.

Attached files : for step 1 and for step 2 as described .
The main differences are the numbers in front of the individuals lines.
When the ps file is OK, the numbers are 0, 1,2, 0, 1,2,3,4,5,0,6,7,8,1,9, ...
When the ps file is unreadable : the numbers are 0, 1, 2, 97,98,99,100,101,102,...

an other difference is :
/marriage_array 5 array def
/person_array 97 array def
against :
/marriage_array 10 array def
/person_array 194 array def