Voice Keyer fails if I close and reopen the window

Yes, sometimes it happens... Please report any bugs here
Locked
User avatar
IZ3XNJ
Novice Class
Posts: 20
Joined: 24 Jul 2016, 16:24
Location: JN55XL
Contact:

Voice Keyer fails if I close and reopen the window

Post by IZ3XNJ »

I start Log4OM. I go into Radio/PTT menu and Voice Keyer window open. I push a pre-recorded voice message. The message is sent: radio go in tx, message is played.

I close and reopen Voice keyer window. I push again the same message: radio goes in tx but no message played.
I have to restart Log4OM to make it work again

In the log, I found this:
2017-01-02 21:15:31.5489 INFO: Log4OMMainWindow: *********************************************************
2017-01-02 21:15:31.6269 INFO: Log4OMMainWindow: *********** LOGGING LEVEL: TRACE MODE *******************
2017-01-02 21:15:31.6269 INFO: Log4OMMainWindow: *********************************************************
2017-01-02 21:15:37.1337 INFO: Log4OMMainWindow: *Calling PTT FORM*
2017-01-02 21:15:38.3037 ERROR: *** AudioManagement: Error in BeginPlay function ******* [Function: BeginPlay] System.InvalidOperationException: Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
at LogOMUI.CatPTTForm.#=qICSI0Xk75qDAlZpapH4URVRPuQsYYnwuhDoGZDczeaFiGlkahYRx5cOe9GtkYlrj(Boolean #=qX9qqzxlQ87UaRC$q0A5gmQ==)
at LogOM.BL.AudioManagement.ReproductionStatusHandler.Invoke(Boolean playing)
at LogOM.BL.AudioManagement.BeginPlay(String fileName, Int32 deviceNumber)
2017-01-02 21:15:38.4569 ERROR: *** CatPTTForm: Invoke or BeginInvoke cannot be called on a control until the window handle has been created. ******* [Function: #=q2IaJs_6W8jPHxj7lEEGWsW9pxhdRCkR8o41sWxB34Tc=] System.InvalidOperationException: Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
at LogOMUI.CatPTTForm.#=qICSI0Xk75qDAlZpapH4URVRPuQsYYnwuhDoGZDczeaFiGlkahYRx5cOe9GtkYlrj(Boolean #=qX9qqzxlQ87UaRC$q0A5gmQ==)
at LogOM.BL.AudioManagement.ReproductionStatusHandler.Invoke(Boolean playing)
at LogOM.BL.AudioManagement.BeginPlay(String fileName, Int32 deviceNumber)
at LogOMUI.CatPTTForm.#=q2IaJs_6W8jPHxj7lEEGWsW9pxhdRCkR8o41sWxB34Tc=(Object #=qIXuCtoEjfjmPBe7CGxvI8A==, MouseEventArgs #=qvWB$XrkggBDrvP5J08ZnrA==)
OS: Windows 7 ultimate 64
RIG: Yaesu FT-897
Log4OM 1.27.0
Additional informations: Cat Interface via OmniRig, external audio sound card Xenyx USB 302

I have the full zip generated by support prepare function


73 de IZ3XNJ Stefano
User avatar
IW3HMH
Site Admin
Posts: 2926
Joined: 21 Jan 2013, 14:20
Location: Quarto d'Altino - Venezia (ITA)
Contact:

Re: Voice Keyer fails if I close and reopen the window

Post by IW3HMH »

Thanks for reporting. I'll check now
Daniele Pistollato - IW3HMH
Locked