The Tournament Director Forums

Main => Help Me => Topic started by: jodybingo on March 02, 2012, 11:21:29 AM

Title: error
Post by: jodybingo on March 02, 2012, 11:21:29 AM
«keeps popping up on 2 different laptops

Impossible d’obtenir la valeur de la propriété  « SetReturnValue » : objet null ou non défini (LayoutTab, TournamentPage: 1)
 at openDialog(SettingsDialog)
 at SettingsDialog.openDialog()
 at Bootstrap.init_OpenSettingsDialog()
 at Bootstrap.initSequence()

Browser: Microsoft Internet Explorer
Browser Beta: false
Browser Client Info Version: 7.0
Browser Code Name: Mozilla
Browser Decided Version: 9.0
Browser Detected Version: 9.0
Browser Language: fr-FR
Browser Minor Version: 0
Browser Version: 4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; eSobiSubscriber 1.0.0.40; BRI/2; .NET4.0C)
Cookies Enabled: true
CPU Class: x86
Data Folder: C:\Users\brav0\Documents\The Tournament Director 2
Date: 12:19:32 pm 03/02/2012
DB File: \\bravotourney\td files\The Tournament Director 2\Data\db\td.db
DB Folder: \\bravotourney\td files\The Tournament Director 2\Data\db
Install Folder: C:\Program Files (x86)\The Tournament Director 3
Install Info: b1debf33773b8a1644618d6ce0d6a05590d3f8689f955debbe86d34a9838624616965f50024fa85ac01fe9a00f9d9714
JScript Build: 16982
JScript Version: 5.8
License Info: 7a/RwO4rf6ttDh2bc1hGo3RgQvzg25fzscrnY/9NuTHAzNndn4IE8Yo0C7WFFDz+6TILzed9ySbpMgvN533JJlgVLkzK8LzPLNip2oHf+F8=
Media Player Version: 12.0.7601.17514
Online: true
Platform: Win32
Preferences File: C:\Users\brav0\Documents\The Tournament Director 2\prefs.sav
Repo Config File: C:\Users\brav0\Documents\The Tournament Director 2\repo.sav
Repo Folder: \\bravotourney\td files\The Tournament Director 2\Data
System Language: fr-CA
TD Patch Level: 14
TD Version: 3.0
User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; eSobiSubscriber 1.0.0.40; BRI/2; .NET4.0C)
User Language: fr-CA

Title: Re: error
Post by: Corey Cooper on March 02, 2012, 01:31:05 PM
The interesting thing about this error is "SetReturnValue", which, based on the error, would seem to be a Tournament Director variable or object, but it is not.  "SetReturnValue" cannot be found anywhere in the TD code.

Googling this turns up some references to Flash and the HTML 5 <video> element, as well as some 3rd party JavaScript libraries.  Any chance you're using those things in your layout?
Title: Re: error
Post by: jodybingo on March 02, 2012, 02:07:23 PM
We are streaming across Justin TV today and I embedded the feed into my layout. I had a feeling originally that there might be a problem with the video feed because the problem only surfaced after I loaded the screen with the video. But the error continued to display after I loaded a different layout (I loaded the TD default blue). The error kept on appearing even after I disconnected from the internet. It disappeared after I shut down TD altogether and loaded a layout without the feed.
Here was the embed code;
<object type="application/x-shockwave-flash" height="300" width="400" id="live_embed_player_flash" data="http://www.justin.tv/widgets/live_embed_player.swf?channel=canadapoker" bgcolor="#000000"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="allowNetworking" value="all" /><param name="movie" value="http://www.justin.tv/widgets/live_embed_player.swf" /><param name="flashvars" value="hostname=www.justin.tv&channel=canadapoker&auto_play=false&start_volume=25" /></object><a href="http://www.justin.tv/canadapoker#r=-rid-&amp;s=em" class="trk" style="padding:2px 0px 4px; display:block; width:345px; font-weight:normal; font-size:10px; text-decoration:underline; text-align:center;">Watch live video from CanadaPoker.com on www.justin.tv</a>
Title: Re: error
Post by: Corey Cooper on March 02, 2012, 03:33:31 PM
It's a problem with their flash code, at least in so much as how it interacts with the TD.  First off, by pasting your code into an empty HTML file I couldn't even get IE to play the video.  When I pasted it into a cell in a TD layout, I saw the video.  I got a strange Javascript error from it, however.  But I didn't immediately see the error about "SetReturnValue".  Once I moved from the Tournament screen showing the video to another screen, the same error you saw began popping up.  And it continued until I exited the program, which proved to be a challenge with the error continually popping up.

Here's code for a random video I grabbed from ESPN:

<object width="576" height="324" class="OoyalaVideoPlayer" id="ooyalaPlayer457828670_1103b78" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><param name="bgcolor" value="#000000" /><param name="wmode" value="window" /><param name="flashvars" value="me=ooyalaPlayer457828670_1103b78&embedCode=1vdDduMzrJsSMrJq8msNS4efZ5YgclsG&width=576&height=324&&thruParam_espn-ui[autoPlay]=true&thruParam_espn-ui[playRelatedExternally]=true&loadStartTime=1330723392781" /><param name="movie" value="http://player.ooyala.com/static/cacheable/bef612a3fb25e0db6f9612f3a5546035/player_v2.swf" /></object>

Works perfectly in the TD.  I'm concluding it's their Flash code.
Title: Re: error
Post by: jodybingo on March 02, 2012, 04:01:35 PM
I found out the hard way that the <video> tag does not work on IE9 and W7 64-bit. I did also get the script error too and the only way I was able to exit from TD was by CTRL-ALT-DEL and killing the mshta.exe.
Thankfully this laptop was not running my tournament. I had it only showing the feed.
We have 2 special guests in our house tonight  Phill Laak and Antonio Esfandiari. These guys are solid on the tables.
Title: Re: error
Post by: Mahound on March 03, 2012, 02:06:29 PM
I found out the hard way that the <video> tag does not work on IE9 and W7 64-bit. I did also get the script error too and the only way I was able to exit from TD was by CTRL-ALT-DEL and killing the mshta.exe.
Thankfully this laptop was not running my tournament. I had it only showing the feed.
We have 2 special guests in our house tonight  Phill Laak and Antonio Esfandiari. These guys are solid on the tables.
You must of got some photos of you with Laak and Esfandari. Post them up Jody
Title: Re: error
Post by: jodybingo on March 03, 2012, 02:27:25 PM
I already have a few with Antonio on my facebook page. I took one with Phil yesterday. These guys are great guys! Real gentlemen (however Antonio flipped me off today!) There was a last longer side bet between Phil and Antonio. The first one to be busted gets dunked in a pool of water outside. Here in Montreal, winter is pretty cold. Antonio lost and will be dunked tomorrow. It will be filmed and pics will be available. I'll post a few links once everything is ready.
Antonio, who plays 300-600 is now sitting on a 1-2 table having a blast with our lower limit players!
Title: Re: error
Post by: Mahound on March 04, 2012, 05:19:57 AM
I already have a few with Antonio on my facebook page. I took one with Phil yesterday. These guys are great guys! Real gentlemen (however Antonio flipped me off today!) There was a last longer side bet between Phil and Antonio. The first one to be busted gets dunked in a pool of water outside. Here in Montreal, winter is pretty cold. Antonio lost and will be dunked tomorrow. It will be filmed and pics will be available. I'll post a few links once everything is ready.
Antonio, who plays 300-600 is now sitting on a 1-2 table having a blast with our lower limit players!
Now that will be worth seeing