vipoo / iRacingReplayOverlay.net

Tools to capture game data, and then transcode a captured video file - overlaying race status
GNU General Public License v3.0
37 stars 14 forks source link

Possible bad error message, if app fails to find capture'd video file. #38

Closed vipoo closed 10 years ago

vipoo commented 10 years ago

[quote=Georg Naujoks]Looks really promising Dean !

When it starts to capture the video, after a couple of minutes, I get this error message:

[code]Informationen über das Aufrufen von JIT-Debuggen anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

\ Ausnahmetext ** System.ArgumentNullException: Der Dateiname darf nicht NULL sein. Parametername: destFileName bei System.IO.File.InternalMove(String sourceFileName, String destFileName, Boolean checkHost) bei iRacingReplayOverlay.Support.LogListener.MoveToFile(String filename) in c:\Users\dean\Documents\iRacingReplayOverlay.net\Support\LogListener.cs:Zeile 111. bei iRacingReplayOverlay.Main.<BeginProcessButton_Click>b7(String videoFileName, String errorMessage) in c:\Users\dean\Documents\iRacingReplayOverlay.net\Main.cs:Zeile 314. bei iRacingReplayOverlay.Phases.IRacingReplay.<>cDisplayClass33.<>cDisplayClass35.<Add>b32() in c:\Users\dean\Documents\iRacingReplayOverlay.net\Phases\IRacingReplay.cs:Zeile 63. bei iRacingReplayOverlay.Phases.SynchronizationContextExtension.<>cDisplayClass1.<Post>b0(Object ignored) in c:\Users\dean\Documents\iRacingReplayOverlay.net\Phases\IRacingReplay.cs:Zeile 36.

\ Geladene Assemblys ** mscorlib Assembly-Version: 4.0.0.0. Win32-Version: 4.0.30319.18444 built by: FX451RTMGDR.

CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll.

System Assembly-Version: 4.0.0.0. Win32-Version: 4.0.30319.18408 built by: FX451RTMGREL.

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll.

iRacingReplayOverlay Assembly-Version: 1.0.0.0. Win32-Version: 1.0.0.0.

CodeBase: file:///C:/Users/Georg/AppData/Local/Apps/2.0/2HXHNCVK.5W7/BRDTTNNG.4DH/irac..tion_0000000000000000_0001.0000_274b8e4d12ca3ecd/iRacingReplayOverlay.exe.

System.Windows.Forms Assembly-Version: 4.0.0.0. Win32-Version: 4.0.30319.18408 built by: FX451RTMGREL.

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.

System.Drawing Assembly-Version: 4.0.0.0. Win32-Version: 4.0.30319.18408 built by: FX451RTMGREL.

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.

System.Configuration Assembly-Version: 4.0.0.0. Win32-Version: 4.0.30319.18408 built by: FX451RTMGREL.

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.

System.Xml Assembly-Version: 4.0.0.0. Win32-Version: 4.0.30319.18408 built by: FX451RTMGREL.

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.

iRacingSDK Assembly-Version: 1.0.5355.21207. Win32-Version: 1.0.5355.21207.

CodeBase: file:///C:/Users/Georg/AppData/Local/Apps/2.0/2HXHNCVK.5W7/BRDTTNNG.4DH/irac..tion_0000000000000000_0001.0000_274b8e4d12ca3ecd/iRacingSDK.DLL.

Microsoft.GeneratedCode Assembly-Version: 1.0.0.0. Win32-Version: 4.0.30319.18408 built by: FX451RTMGREL.

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.

System.Security Assembly-Version: 4.0.0.0. Win32-Version: 4.0.30319.18408 built by: FX451RTMGREL.

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll.

System.Core Assembly-Version: 4.0.0.0. Win32-Version: 4.0.30319.18408 built by: FX451RTMGREL.

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll.

YamlDotNet Assembly-Version: 2.0.1.20271. Win32-Version: 2.0.1.

CodeBase: file:///C:/Users/Georg/AppData/Local/Apps/2.0/2HXHNCVK.5W7/BRDTTNNG.4DH/irac..tion_0000000000000000_0001.0000_274b8e4d12ca3ecd/YamlDotNet.DLL.

Microsoft.GeneratedCode Assembly-Version: 1.0.0.0. Win32-Version: 4.0.30319.18408 built by: FX451RTMGREL.

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.

Microsoft.GeneratedCode Assembly-Version: 1.0.0.0. Win32-Version: 4.0.30319.18408 built by: FX451RTMGREL.

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.

mscorlib.resources Assembly-Version: 4.0.0.0. Win32-Version: 4.0.30319.18408 built by: FX451RTMGREL.

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_de_b77a5c561934e089/mscorlib.resources.dll.

System.Windows.Forms.resources Assembly-Version: 4.0.0.0. Win32-Version: 4.0.30319.18408 built by: FX451RTMGREL.

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.

\ JIT-Debuggen ** Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der Konfigurationsdatei der Anwendung oder des Computers (machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden. Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

Zum Beispiel:

<configuration> <system.windows.forms jitDebugging="true" /> </configuration>

Wenn das JIT-Debuggen aktiviert ist, werden alle Ausnahmefehler an den JIT-Debugger gesendet, der auf dem Computer registriert ist, und nicht in diesem Dialogfeld behandelt. [/code]

The capture.log reports this:

[code] 2014-09-01T06:26:50 ---------------------------- 2014-09-01T06:26:53 INFO: Setting speed to 16 2014-09-01T06:26:53 DEBUG: Throttle message ReplaySetPlaySpeed delivery to iRacing by 907 millisecond 2014-09-01T06:26:56 INFO: Unable to start capturing at 20 seconds prior to race start. Starting at start of replay file. 2014-09-01T06:26:56 INFO: Moving to frame 0 with mode Begin 2014-09-01T06:26:58 INFO: Moved to frame 0 2014-09-01T06:26:58 INFO: Setting speed to 0 2014-09-01T06:26:58 DEBUG: Throttle message ReplaySearch delivery to iRacing by 984 millisecond 2014-09-01T06:26:59 WARN: Warning dropped DataSample from 58985 to 59043. Over time of 1.002 2014-09-01T06:27:00 DEBUG: Throttle message ReplaySearch delivery to iRacing by 169 millisecond 2014-09-01T06:27:00 WARN: Warning dropped DataSample from 59094 to 59103. Over time of 0.183 2014-09-01T06:27:01 DEBUG: Throttle message ReplaySearch delivery to iRacing by 201 millisecond 2014-09-01T06:27:01 WARN: Warning dropped DataSample from 59154 to 59165. Over time of 0.220 2014-09-01T06:27:02 DEBUG: Throttle message ReplaySearch delivery to iRacing by 167 millisecond 2014-09-01T06:27:02 WARN: Warning dropped DataSample from 59216 to 59224. Over time of 0.186 2014-09-01T06:27:03 DEBUG: Throttle message ReplaySearch delivery to iRacing by 183 millisecond 2014-09-01T06:27:03 WARN: Warning dropped DataSample from 59275 to 59284. Over time of 0.202 2014-09-01T06:27:04 DEBUG: Throttle message ReplaySearch delivery to iRacing by 208 millisecond 2014-09-01T06:27:04 WARN: Warning dropped DataSample from 59335 to 59346. Over time of 0.221 2014-09-01T06:27:05 DEBUG: Throttle message ReplaySearch delivery to iRacing by 174 millisecond 2014-09-01T06:27:05 WARN: Warning dropped DataSample from 59397 to 59405. Over time of 0.193 2014-09-01T06:27:06 DEBUG: Throttle message ReplaySearch delivery to iRacing by 189 millisecond 2014-09-01T06:27:06 WARN: Warning dropped DataSample from 59456 to 59465. Over time of 0.208 2014-09-01T06:27:07 DEBUG: Throttle message ReplaySearch delivery to iRacing by 204 millisecond 2014-09-01T06:27:07 WARN: Warning dropped DataSample from 59516 to 59528. Over time of 0.216 2014-09-01T06:27:08 DEBUG: Throttle message ReplaySearch delivery to iRacing by 170 millisecond 2014-09-01T06:27:08 WARN: Warning dropped DataSample from 59579 to 59587. Over time of 0.189 2014-09-01T06:27:09 DEBUG: Throttle message ReplaySearch delivery to iRacing by 169 millisecond 2014-09-01T06:27:09 WARN: Warning dropped DataSample from 59638 to 59648. Over time of 0.186 2014-09-01T06:27:10 DEBUG: Throttle message ReplaySearch delivery to iRacing by 194 millisecond 2014-09-01T06:27:10 WARN: Warning dropped DataSample from 59699 to 59709. Over time of 0.200 2014-09-01T06:27:11 DEBUG: Found new incident at frame 00:03:26.3930000 for Dwayne Cooper 2014-09-01T06:27:11 DEBUG: Found new incident at frame 00:03:31.5130000 for Dwayne Cooper 2014-09-01T06:27:11 DEBUG: Found new incident at frame 00:05:51.4000000 for Gerald Bowman-Brook 2014-09-01T06:27:11 DEBUG: Found new incident at frame 00:05:56.5730000 for Dwayne Cooper 2014-09-01T06:27:11 DEBUG: Found new incident at frame 00:06:01.9130000 for Dwayne Cooper 2014-09-01T06:27:11 DEBUG: Found new incident at frame 00:12:03.5930000 for Dwayne Cooper 2014-09-01T06:27:11 DEBUG: Found new incident at frame 00:12:08.8430000 for Dwayne Cooper 2014-09-01T06:27:11 DEBUG: Found new incident at frame 00:12:14.1730000 for Dwayne Cooper 2014-09-01T06:27:11 DEBUG: Found new incident at frame 00:21:43.7100000 for Andrea Guglielmetti 2014-09-01T06:27:11 DEBUG: Found new incident at frame 00:21:49.1130000 for Andrea Guglielmetti 2014-09-01T06:27:11 DEBUG: Found new incident at frame 00:24:00.2170000 for Georg Naujoks 2014-09-01T06:27:11 DEBUG: Found new incident at frame 00:30:56.5500000 for Robert Grosser 2014-09-01T06:27:11 INFO: Noting incident for driver Dwayne Cooper starting on lap 2 from 00:03:25.3930000 to 00:03:39.5130000 2014-09-01T06:27:11 00:05:56.5730000 Ignoring incident in the pits on lap 7 2014-09-01T06:27:11 00:06:01.9130000 Ignoring incident in the pits on lap 7 2014-09-01T06:27:11 INFO: Noting incident for driver Gerald Bowman-Brook starting on lap 6 from 00:05:50.4000000 to 00:05:59.4000000 2014-09-01T06:27:11 00:12:08.8430000 Ignoring incident in the pits on lap 18 2014-09-01T06:27:11 00:12:14.1730000 Ignoring incident in the pits on lap 18 2014-09-01T06:27:11 INFO: Noting incident for driver Dwayne Cooper starting on lap 18 from 00:12:02.5930000 to 00:12:11.5930000 2014-09-01T06:27:11 00:24:00.2170000 Ignoring incident in the pits on lap 39 2014-09-01T06:27:11 INFO: Noting incident for driver Andrea Guglielmetti starting on lap 36 from 00:21:42.7100000 to 00:21:57.1130000 2014-09-01T06:27:11 INFO: Noting incident for driver Robert Grosser starting on lap 47 from 00:30:55.5500000 to 00:31:04.5500000 2014-09-01T06:27:11 INFO: Moving to frame 0 with mode Begin 2014-09-01T06:27:11 DEBUG: Throttle message ReplaySetPlayPosition delivery to iRacing by 154 millisecond 2014-09-01T06:27:11 INFO: Moved to frame 0 2014-09-01T06:27:13 INFO: Setting speed to 1 2014-09-01T06:27:13 INFO: Waiting to connect to iRacing application 2014-09-01T06:27:13 INFO: Connected to iRacing application 2014-09-01T06:27:13 DEBUG: New Session data retrieved from iRacing. 2 2014-09-01T06:27:13 DEBUG: --- WeekendInfo: TrackName: california oval TrackID: 225 TrackLength: 3.22 km TrackDisplayName: Auto Club Speedway TrackDisplayShortName: Auto Club Oval TrackCity: Fontana TrackCountry: USA TrackAltitude: 1112.43 m TrackLatitude: 34.086086 m TrackLongitude: -117.500551 m TrackNumTurns: 4 TrackPitSpeedLimit: 88.51 kph TrackType: long oval TrackWeatherType: Constant TrackSkies: Partly Cloudy TrackSurfaceTemp: 25.56 C TrackAirTemp: 25.56 C TrackAirPressure: 26.18 Hg TrackWindVel: 0.89 m/s TrackWindDir: 0.00 rad TrackRelativeHumidity: 55 % TrackFogLevel: 0 % SeriesID: 132[/code]

Not sure if it's the same Sascha already reported ?

[/quote]