GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Author Canceling report
Posted Wednesday, November 9, 2011 - Post #29373
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Monday, June 2, 2025
Posts: 4,886, Visits: 22,796
Is there a way to abort a report in a faster manner?
Not really.  Aborting a report used to be very fast, when the script was small.  Today, the script is doing a lot of work, and depending on which script is being executed, aborting a routine may take several seconds.
rdn
Posted Wednesday, November 9, 2011 - Post #29364
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
GenoPro version: 2.5.4.1

Last Login: Friday, October 18, 2013
Posts: 142, Visits: 3,822
Thank you Dan for this explanation.

However, the crash is an inelegant result.

Is there a way to abort a report in a faster manner?  This is the cause of my lack of patience, hence leading to attempt in aborting more than once.


Danny
Posted Monday, November 7, 2011 - Post #29336
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Monday, June 2, 2025
Posts: 4,886, Visits: 22,796
When GenoPro generates a report, it uses a background thread to execute the code generating the report.  This is important, otherwise the windows would not repaint and it would be impossible to click on any button, including the Cancel button.

When the user click on the Cancel button, GenoPro does not terminate the thread which could lead to serious memory leaks, but set a flag for the thread to stop as soon as possible.  Since the thread is running VBScript or JavaScript code, the time necessary to terminate the last instruction may vary.  If the user attempts to really quit, then GenoPro will force the termination of the thread, which may destroy the script engine while running which may crash GenoPro.  The script engine uses many "callbacks" which point to the Report Generator window and the family tree document.  If the window Report Generator is gone, or if the family tree document is modified while generating a report, it could cause a crash.
rdn
Posted Thursday, November 3, 2011 - Post #29296
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
GenoPro version: 2.5.4.1

Last Login: Friday, October 18, 2013
Posts: 142, Visits: 3,822
Hi,

Upon canceling a report (which was uploading to the web site), the program seemed to freeze.  Upon pressing cancel several more times, a message appears that I should wait 10 seconds.  Upon waiting an additional minute and pressing cancel again, GenoPro crashed.


Danny

Edited: Monday, November 7, 2011 by GenoProSupport


Similar Topics

Click to view RSS...
Expand / Collapse
TopicKey_Topic
Just wondering if there is any way of getting both the hebrew AND english date on the tree?
Wednesday, August 26, 2015
Last Post: AY875
TopicKey_Topic
Sunday, March 22, 2015
Last Post: 679025
TopicKey_Topic
Monday, April 19, 2010
Last Post: JackG
TopicKey_Topic
Can I help with translating the Report generation to Hebrew?
Tuesday, July 29, 2008
Last Post: genome
TopicKey_Topic
Friday, April 25, 2008
Last Post: GenoProSupport
TopicKey_Topic
Monday, November 5, 2007
Last Post: GenoProSupport
TopicKey_Hot
1,2,3,4
Is there any way that the messages orientation will be RTL?
Sunday, September 2, 2007
Last Post: beraha
TopicKey_Hot
Wednesday, July 25, 2007
Last Post: Yehudad
TopicKey_Topic
Tuesday, July 17, 2007
Last Post: Yehudad
TopicKey_Topic
Sunday, July 1, 2007
Last Post: GenoProSupport

Reading This Topic

Expand / Collapse
Active: 3 - 1 guest, 1 member, 0 anonymous.
Refresh