Author Topic: Script Debugging Error  (Read 9384 times)

destadula

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • Da-Man Poker Club
Script Debugging Error
« on: February 07, 2010, 01:19:46 PM »
Not sure if this has been posted before or not but I will explain what is happening. First off my equipment

Windows 7 Professional
TD Version: 2.5.10
IE 8.0.760.16385
Screen Saver Off
Sleep Off
Monitor turn off - off
tasks running - everything shut off including virus protection & windows defender

Ok here's the problem I have been experiencing:

We play a monthly tournament that (yesterday) had

48 players
15 rounds it lasted
5:18 minutes to complete

The last couple of tournament just after around the 10th rounds when the program is running for no reason or players go to hit the X to bust out I am seeing script debugging errors on a popup asking if I want to debug it Yes or No.

I hit yes and then nothing works including hitting escape, taking the mouse and trying to use any controls on the bottom of the screen, the clock runs but shows it as being locked up, and so on. I usually have to close the software out and then restart the program and it will work until the next event such as bust out and then it starts with the debugging error.

As soon as it clears to the next round or gets down to say 5 players it (TD) will work fine.

Sorry about not looking at the details of the debugging error, but in the next day or two I will try to duplicate it for you and post in here.

Any ideas based on what I posted here?

Desta Dula
« Last Edit: February 07, 2010, 01:23:31 PM by destadula »
Desta Dula
Man Poker Club
http://www.manpokerclub.com
Certified Tournament Directors Association

Stuart Murray

  • Hero Member
  • *****
  • Posts: 540
    • View Profile
Re: Script Debugging Error
« Reply #1 on: February 07, 2010, 02:35:41 PM »
Yeh get a debugging error practically every game I run, which freezes the tournament until i select yes or no, i usually hit no but do get it popping up even two or three times in a tourney.  says something along the lines of "do you wish to continue running scripts on this page?"

Would be interesting to find out what it is and if it can be sorted out.

I'm running vista.

Regards
Stuart
Stuart Murray

destadula

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • Da-Man Poker Club
Re: Script Debugging Error
« Reply #2 on: February 07, 2010, 03:30:55 PM »
Good (well not good per say) I am glad it wasn't just me.

I should also add that I can't remember this happening until I upgraded to 2.5.10 and it seemed this upgrade was very simple in content and additions.

Desta Dula
(knuckle head in italian)
Man Poker Club
http://www.manpokerclub.com
Desta Dula
Man Poker Club
http://www.manpokerclub.com
Certified Tournament Directors Association

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6216
    • View Profile
Re: Script Debugging Error
« Reply #3 on: February 08, 2010, 09:58:06 AM »
You shouldn't get a script error at all.  It would be helpful to see the text of the error.

Unless you want Windows to open a debugger and try to step through the code line-by-line (which it likely won't be able to do anyway), don't press "Yes" to debug the script.  Press "No".

You actually shouldn't be seeing errors like this, but you're probably seeing them because you have script debugging turned on in Internet Explorer.  There are a couple of settings you can change to (hopefully) modify this behavior.

On the Internet Explorer "Tools" menu, select "Internet Options".  Then select the "Advanced" tab.  Check these boxes:

- Disable script debugging (Internet Explorer)
- Disable script debugging (Other)

(You might not see the second one.)  UNcheck this one:

- Display a notification about every script error

These settings really aren't useful unless you're actually debugging scripting on web pages.

destadula

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • Da-Man Poker Club
Re: Script Debugging Error
« Reply #4 on: February 08, 2010, 10:38:16 AM »
Corey

Thank you for your response. The suggestions you have made here I have done and what I will do is start a mock tournament in about 10 minutes and document everything in the event something should happen.

If it runs without any errors, I will also post here to allow others users to see what was done and the results for future reference.


Desta Dula
(knuckle head in italian)
Man Poker Club
http://www.manpokerclub.com
 
Desta Dula
Man Poker Club
http://www.manpokerclub.com
Certified Tournament Directors Association

destadula

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • Da-Man Poker Club
Re: Script Debugging Error
« Reply #5 on: February 08, 2010, 12:51:40 PM »
Ok as promised I ran the mock tournament and here are the results:

I ran the tournament all was fine until round 4 with 1:15 remaining in the round and I got this error:


An error has occurred in the script on this page

Line: 1
Char: 1
Error: Call was rejected by callee
Code: 0
URL: ms-its:C:\Program Files\The Tournament Director 2\TD.lib::clockThread.html

Do you want to debug this error Yes or No

When this happens everything becomes unusable untiol you exit the program and then restart it.

Desta Dula
(knuckle head in italian)
Man Poker Club
http://www.manpokerclub.com
 

Desta Dula
Man Poker Club
http://www.manpokerclub.com
Certified Tournament Directors Association

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6216
    • View Profile
Re: Script Debugging Error
« Reply #6 on: February 09, 2010, 11:34:23 AM »
That's a new one, I'll have to do some research on this.

So, you're saying you checked the options to "Disable script debugging", and yet Internet Explorer still asked you if you wanted to debug the script when the error occurred?

Edit: Also, do you have Auto-save enabled?  Could this error be occurring when the auto-save is kicking in to save the tournament?  (Probably not for a mock tournament, but just want to cover my bases.)
« Last Edit: February 09, 2010, 11:39:12 AM by Corey Cooper »

Stuart Murray

  • Hero Member
  • *****
  • Posts: 540
    • View Profile
Re: Script Debugging Error
« Reply #7 on: February 09, 2010, 12:13:29 PM »
Corey,

Thats the same message i get when runnign tourneys also.  I just disabled script debugging IE was unchecked other was checked already so will see what happens over next wee while.

Regards
Stuart
Stuart Murray

destadula

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • Da-Man Poker Club
Re: Script Debugging Error
« Reply #8 on: February 09, 2010, 04:58:59 PM »
I followed all the previous instructions as far as what to check and uncheck.

During tournaments I have the auto save enabled and that is the error. During the test for this post I did not have auto save enabled and it did the same thing and then I started all over with auto save enabled and the exact same error message both times.

Could this be a windows 7, in conjunction with ie 8 problem with the upgrade to 2.5.10? The reason I ask I never seen this or for that matter any error before I upgraded to .10.

Hope this helps you track it down. Also I am volunteering myself to you to try any suggestions you may have to try and help with the correction.
Desta Dula
Man Poker Club
http://www.manpokerclub.com
Certified Tournament Directors Association

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6216
    • View Profile
Re: Script Debugging Error
« Reply #9 on: February 10, 2010, 09:47:36 AM »
Unsure what is going on at this point.  Try this, if you don't mind:

On the Internet Explorer "Tools" menu, select "Internet Options".  Then select the "Advanced" tab. UNcheck this box: "Enable third-party browser extensions".

Make sure you close all open Internet Explorer windows, and the Tournament Director.  Then try the TD again and see if you get the same error.  I'm curious if this might be due to some extension/plug-in to IE.

destadula

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • Da-Man Poker Club
Re: Script Debugging Error
« Reply #10 on: February 10, 2010, 10:48:08 AM »
I am setting it up now and will run it and report back to you with the results. Give me an hour or two to get to say round 4+


Desta Dula
Man Poker Club
http://www.manpokerclub.com
 
Desta Dula
Man Poker Club
http://www.manpokerclub.com
Certified Tournament Directors Association

destadula

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • Da-Man Poker Club
Re: Script Debugging Error
« Reply #11 on: February 10, 2010, 01:30:46 PM »
Ok so I just got done running the mock tournament with all the suggestions you had requested and round 6 got the exact same error.

There is no common event that I can see that triggers this script error.

Its not a certain time, bust outs, table movement, events, nothing.

Is there a possibility of getting a copy of the previous version before the TD 2.5.10 to load that and see if the problem continues with that version or if this is strictly a 2.5.10 issue.

I will await your next suggestion.
Desta Dula
Man Poker Club
http://www.manpokerclub.com
Certified Tournament Directors Association

Stuart Murray

  • Hero Member
  • *****
  • Posts: 540
    • View Profile
Re: Script Debugging Error
« Reply #12 on: February 10, 2010, 04:49:36 PM »
Have run several tourneys since I changed the script options in IE and so far so good no more errors.

Hope you get your problem sorted destadula

Regards
Stuart Murray

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6216
    • View Profile
Re: Script Debugging Error
« Reply #13 on: February 11, 2010, 09:59:39 AM »
Well, as is typical, the "fix" works for one person, not for another.   ???

destadula, if you want to try 2.5.9, email me and I'll send it to you, but I would be very surprised if it made a difference.

The nature of the error leads me to believe it should only happen when the TD is calling into either the Common Dialog control or into Windows Scripting functions, such as when you save a file, or open the file selection dialog, or the font dialog.  And nothing like that happens in the background thread that updates the clock - except for the auto-save code, which is why I asked about that.

So to me it gets lumped into the strange Internet Explorer quirks bucket.  I hope we can figure it out, but I'm not holding my breath.

destadula

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • Da-Man Poker Club
Re: Script Debugging Error
« Reply #14 on: February 20, 2010, 08:55:23 PM »
OK Corey as  stated in my email I was going to pound on the software with your suggestions and used 2.5.9 & 2.5.10 in my tests.

I am using Windows 7 64 bit Professional with 8 gigs of memory.

Here is what I found after checking and unchecked the advanced options in IE 8 that you suggested.

In every instance of the error popping up for the script debugging error it happened in combination of three things happening at the same time and they are

1. Auto save enabled
2. Hitting the "X" to bust out players and
3. Player movement (balancing tables) suggested when the player busts out.

Now with the suggestions of checking the options in advanced in IE8 it seems to have corrected the problems, but if I unchecked any one of them the error will pop up once again.

It took almost a week, but I knew I would find the common thread to the error.


I hope this helps you out with this.

Destadula
Desta Dula
Man Poker Club
http://www.manpokerclub.com
Certified Tournament Directors Association