Page 1 of 1

Divide by 0 issue

Posted: Tue Jan 09, 2018 1:47 pm
by Babylj
Hi
This looks to be a great program. However, I keep getting an error that says "Attempted to divide by 0" And, error at line e432. Then when generating, suddenly a bunch of the same error message, just keeps popping up, and I have to use the task manager to stop it. Eventually, it crashes my video driver. Any help would be greatly appreciated. AWESOME program though! And I really would love it to work right.

Re: Divide by 0 issue

Posted: Wed Jan 10, 2018 11:20 pm
by admin
Hi Babylj,

Thanks for letting me know. I'm sorry that you're having this problem.

If possible could you start the program and go to the settings form, click on the "Add a comment" button and type in "Divide by 0 issue", click "OK" then click the "Send Error Log". This should tell me exactly where the error is.
The log gets sent directly to my server and is not posted to this site and is completely anonymous.

If you can't send the log please post here exactly what you were doing that caused the error.

Thanks for helping to improve PGen2 and thanks for the positive comments.

Rick

Re: Divide by 0 issue

Posted: Mon Jan 15, 2018 5:21 pm
by admin
Hi Babylj,

I've got your error log, thanks for uploading it. I can see there are a few bugs reported, but they should all be fixed in the next release.

Regards

Rick

Re: Divide by 0 issue

Posted: Sat Mar 03, 2018 1:43 am
by bonemouth
I also have this issue and errors related to logging upon opening the program and selecting such choices as test and options. The worst is with high/low, as this creates an infinite number of error boxes that crash the program. I sent my error log a few days ago. I really love pgen2! Is there anything else I can do?

Re: Divide by 0 issue

Posted: Sun Mar 11, 2018 11:45 am
by admin
Thanks for posting, I've got your error log. Could you tell me what you are doing that generates the error messages and which form they appear in?

Thanks

Rick

Re: Divide by 0 issue

Posted: Fri Mar 16, 2018 5:32 am
by bonemouth
Rick,

Thanks! I'm getting these four boxes popping up when I load, one after the other (they should be in the order in which they appear):
https://ibb.co/dqaACx
https://ibb.co/cWzRkH
https://ibb.co/bJmvec
https://ibb.co/hF16kH

Then, when I click on "Higher or Lower," there are large error boxes that pop up very quickly, simultaneously, until the program crashes.

Re: Divide by 0 issue

Posted: Mon Mar 19, 2018 11:39 pm
by admin
Thanks for the reply.

I'm a bit concerned about those four files that pop up as they look like web addresses and they are not part of the program.

Would you please try the following:

1. Run a Virus checker and Malware checker (MalwareBytes have a free scanner if you don't have one).

2. Rename the PGen2 folder. It should be in the C:\programdata directory and run PGen2. It should recreate all the files and folders.

3. Let me know how you get on.

I'll got through the code and see why those files may be popping up.

Re: Divide by 0 issue

Posted: Tue Mar 20, 2018 1:43 am
by bonemouth
Oh, I'm sorry for the confusion. Those links are addresses to screenshots I uploaded. Each one represents one of the four error messages. Please copy and paste each into your browser.

Re: Divide by 0 issue

Posted: Wed Mar 21, 2018 1:56 pm
by admin
OK, Got the images thanks. This issue will be fixed in the next release. probably end of April now.

Re: Divide by 0 issue

Posted: Wed Mar 21, 2018 6:44 pm
by bonemouth
Great! Thank you!