When we try to open the full screen view of a USB camera we receive the following error message and cannot progress further to record any videos. The only way to get around this temporarily is to uninstall the app, delete all remaining system files related to this app in the Program Files folder then reinstall the app however the error will come back a day or two later. This is happening with v0.9.5 and v2023.1.2 producing exactly the same issue with exactly the same error messages.
Error message is as follows:
Unhlandled exception has occured in your application. If you click continue, the application will ignore this error and attempy to continue. If you click Quit, the application will close immediately.
Value was either too large or too small for an Int32.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.OverflowException: Value was either too large or too small for an Int32.
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at Kinovea.ScreenManager.Filenamer.ComputeNextFilename(String previousWithoutExtension)
at Kinovea.ScreenManager.CaptureScreen.InitializeCaptureFilenames()
at Kinovea.ScreenManager.CaptureScreen..ctor()
at Kinovea.ScreenManager.ScreenManagerKernel.AddCaptureScreen()
at Kinovea.ScreenManager.LoaderCamera.LoadUnspecified(ScreenManagerKernel manager, CameraSummary summary, ScreenDescriptionCapture screenDescription)
at Kinovea.ScreenManager.ScreenManagerKernel.CameraTypeManager_CameraLoadAsked(Object source, CameraLoadAskedEventArgs e)
at Kinovea.Camera.CameraTypeManager.LoadCamera(CameraSummary summary, Int32 target)
at Kinovea.ScreenManager.ThumbnailViewerCameras.Thumbnail_LaunchCamera(Object sender, EventArgs e)
at Kinovea.ScreenManager.ThumbnailCamera.AllControls_DoubleClick(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseDoubleClick(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9290.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Kinovea
Assembly Version: 0.9.5.0
Win32 Version: 0.9.5.0
CodeBase: file:///C:/Program%20Files/Kinovea/Kinovea.exe
----------------------------------------