[wsjt-devel] The #$&% Windows 10 audio issue, and a proposal
The problem is well known. As Bill G4WJS put it: Any change to audio device availability on MS Windows is likely to renumber > the indexes of other devices, when this happens WSJT-X gets no notification > that it has happened. That's an awful way to run an audio subsystem, and I'm sure it annoys more than WSJT-X users, but we're not likely to get Microsoft to change it. Bill goes on: There is no practical solution that I am aware of, we get a device index > when we initially enumerate the available devices and that index is used to > address the selected device to send or receive audio samples. Short of > re-enumerating audio devices just before any significant action with audio I > don't see a solution. Note re-enumerating takes time which we do not > usually have at the point it would be necessary. I suppose Bill is right that you don't want always to automatically re-enumerate devices before each transmit cycle "just in case". But let me suggest a practical partial solution. There are two ways at present to force a WSJT-X re-enumeration of audio devices that I know of: (1) Kill and restart WSJT-X, or (2) Switch WSJT-X to another Configuration, and then switch back. Both of these really take too much time, but then they are doing a lot more than just re-enumerating the audio devices. So my suggestion: add a *Reset Audio* menu item (under File or Tools, say) that lets the operator manually trigger audio device re-enumeration, and nothing else, when needed. Should be fast! A small thing, sir, but my own. 73, Paul K6PO ___ wsjt-devel mailing list wsjt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wsjt-devel
Re: [wsjt-devel] Version 2.5.2 crashing on FreeBSD.
Hi Jason, I believe that the WSJT-X team said they were going to look at issues like this as part of a larger clean-up to deal with ever-stricter fortran compilers. You might need to wait until the next release for this to be fixed. alex K6LOT > On Jan 6, 2022, at 5:16 PM, Jason Selwitz via wsjt-devel > wrote: > > OK so after jumping through hoops to get the FreeBSD ports system to take a > modified version of the WSJT-X source I was able to try to edit the line.. > > character*22 msgsent > > to.. > > character(len=*) :: msgsent > > and tried to recompile, the program seems to have built fine but then when > you start it it starts to launch then hangs and eventually core dumps. > > One thing to note is that I was just about to get the latest 2.5.4 version > this afternoon so at least I'm up to date but this problem has been present > at least for me since 2.1.2 > > Anyway I'm more than happy to try other changes anyone might have. > > > Thanks > > Jason > > > On 1/6/22 19:02, Jason Selwitz wrote: >> Thanks Alex! >> >> I tool a look at where it was failing and it appears to be coming from .. >> >> /usr/ports/comms/wsjtx/work/.build/wsjtx-prefix/src/wsjtx/lib/gen65.f90 >> >> which looks like it contains the following.. >> >> Line 1: subroutine gen65(msg0,ichk,msgsent,itone,itype) >> >> I did find something similar to what you sent but not exactly so not sure >> how or if I should modify it >> >> Line 9: character*22 msgsent >> >> Not sure if that applies or not but then again I don't know fortran :-) >> >> >> thanks again.. >> >> Jason >> >> >> On 1/6/22 17:54, Alex Lelievre via wsjt-devel wrote: >>> Hi Jason, >>> >>> I’ve seen this error with the Apple M1 port. It’s because the version of >>> the fortran compiler you are using is newer and treats this as an error >>> instead of a warning like the older fortran compiler. I’m not sure what >>> the recommended version is for WSJT-X but for Intel Macs it was 6.x. >>> >>> >>> If this error is coming from lib/grid2deg.f90 then you can try this patch: >>> >>> Remove the line: >>>character*6 grid0,grid >>> >>> And replace with: >>> character(len=*) :: grid0 >>> character*6 grid >>> >>> >>> alex >>> K6LOT >>> On Jan 6, 2022, at 2:22 PM, Jason Selwitz via wsjt-devel wrote: Hi there, I was wondering if anyone had seen the following error it usually happens when I try to double click on another callsign to start attempting to make a contact Ive tried removing and rebuilding the configuration and tried changing a few settings in the software to try to find a work around but so far no luck. if anyone has any tip, suggestions, etc it would be much appreciated, if this is not the right place I can always try to follow up with the FreeBSD porters team. Fortran runtime error: Actual string length is shorter than the declared one for dummy argument 'msgsent' (-4294967274/22) Thanks, again! Jason ___ wsjt-devel mailing list wsjt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wsjt-devel >>> >>> >>> ___ >>> wsjt-devel mailing list >>> wsjt-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/wsjt-devel > > > ___ > wsjt-devel mailing list > wsjt-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wsjt-devel ___ wsjt-devel mailing list wsjt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wsjt-devel
Re: [wsjt-devel] Version 2.5.2 crashing on FreeBSD.
OK so after jumping through hoops to get the FreeBSD ports system to take a modified version of the WSJT-X source I was able to try to edit the line.. character*22 msgsent to.. character(len=*) :: msgsent and tried to recompile, the program seems to have built fine but then when you start it it starts to launch then hangs and eventually core dumps. One thing to note is that I was just about to get the latest 2.5.4 version this afternoon so at least I'm up to date but this problem has been present at least for me since 2.1.2 Anyway I'm more than happy to try other changes anyone might have. Thanks Jason On 1/6/22 19:02, Jason Selwitz wrote: Thanks Alex! I tool a look at where it was failing and it appears to be coming from .. /usr/ports/comms/wsjtx/work/.build/wsjtx-prefix/src/wsjtx/lib/gen65.f90 which looks like it contains the following.. Line 1: subroutine gen65(msg0,ichk,msgsent,itone,itype) I did find something similar to what you sent but not exactly so not sure how or if I should modify it Line 9: character*22 msgsent Not sure if that applies or not but then again I don't know fortran :-) thanks again.. Jason On 1/6/22 17:54, Alex Lelievre via wsjt-devel wrote: Hi Jason, I’ve seen this error with the Apple M1 port. It’s because the version of the fortran compiler you are using is newer and treats this as an error instead of a warning like the older fortran compiler. I’m not sure what the recommended version is for WSJT-X but for Intel Macs it was 6.x. If this error is coming from lib/grid2deg.f90 then you can try this patch: Remove the line: character*6 grid0,grid And replace with: character(len=*) :: grid0 character*6 grid alex K6LOT On Jan 6, 2022, at 2:22 PM, Jason Selwitz via wsjt-devel wrote: Hi there, I was wondering if anyone had seen the following error it usually happens when I try to double click on another callsign to start attempting to make a contact Ive tried removing and rebuilding the configuration and tried changing a few settings in the software to try to find a work around but so far no luck. if anyone has any tip, suggestions, etc it would be much appreciated, if this is not the right place I can always try to follow up with the FreeBSD porters team. Fortran runtime error: Actual string length is shorter than the declared one for dummy argument 'msgsent' (-4294967274/22) Thanks, again! Jason ___ wsjt-devel mailing list wsjt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wsjt-devel ___ wsjt-devel mailing list wsjt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wsjt-devel ___ wsjt-devel mailing list wsjt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wsjt-devel
Re: [wsjt-devel] Version 2.5.2 crashing on FreeBSD.
Thanks Alex! I tool a look at where it was failing and it appears to be coming from .. /usr/ports/comms/wsjtx/work/.build/wsjtx-prefix/src/wsjtx/lib/gen65.f90 which looks like it contains the following.. Line 1: subroutine gen65(msg0,ichk,msgsent,itone,itype) I did find something similar to what you sent but not exactly so not sure how or if I should modify it Line 9: character*22 msgsent Not sure if that applies or not but then again I don't know fortran :-) thanks again.. Jason On 1/6/22 17:54, Alex Lelievre via wsjt-devel wrote: Hi Jason, I’ve seen this error with the Apple M1 port. It’s because the version of the fortran compiler you are using is newer and treats this as an error instead of a warning like the older fortran compiler. I’m not sure what the recommended version is for WSJT-X but for Intel Macs it was 6.x. If this error is coming from lib/grid2deg.f90 then you can try this patch: Remove the line: character*6 grid0,grid And replace with: character(len=*) :: grid0 character*6 grid alex K6LOT On Jan 6, 2022, at 2:22 PM, Jason Selwitz via wsjt-devel wrote: Hi there, I was wondering if anyone had seen the following error it usually happens when I try to double click on another callsign to start attempting to make a contact Ive tried removing and rebuilding the configuration and tried changing a few settings in the software to try to find a work around but so far no luck. if anyone has any tip, suggestions, etc it would be much appreciated, if this is not the right place I can always try to follow up with the FreeBSD porters team. Fortran runtime error: Actual string length is shorter than the declared one for dummy argument 'msgsent' (-4294967274/22) Thanks, again! Jason ___ wsjt-devel mailing list wsjt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wsjt-devel ___ wsjt-devel mailing list wsjt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wsjt-devel ___ wsjt-devel mailing list wsjt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wsjt-devel
Re: [wsjt-devel] Version 2.5.2 crashing on FreeBSD.
Hi Jason, I’ve seen this error with the Apple M1 port. It’s because the version of the fortran compiler you are using is newer and treats this as an error instead of a warning like the older fortran compiler. I’m not sure what the recommended version is for WSJT-X but for Intel Macs it was 6.x. If this error is coming from lib/grid2deg.f90 then you can try this patch: Remove the line: character*6 grid0,grid And replace with: character(len=*) :: grid0 character*6 grid alex K6LOT > On Jan 6, 2022, at 2:22 PM, Jason Selwitz via wsjt-devel > wrote: > > Hi there, > > I was wondering if anyone had seen the following error it usually happens > when I try to double click on another callsign to start attempting to make a > contact Ive tried removing and rebuilding the configuration and tried > changing a few settings in the software to try to find a work around but so > far no luck. if anyone has any tip, suggestions, etc it would be much > appreciated, if this is not the right place I can always try to follow up > with the FreeBSD porters team. > > Fortran runtime error: Actual string length is shorter than the declared one > for dummy argument 'msgsent' (-4294967274/22) > > Thanks, again! > > Jason > > > > ___ > wsjt-devel mailing list > wsjt-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wsjt-devel ___ wsjt-devel mailing list wsjt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wsjt-devel
[wsjt-devel] Version 2.5.2 crashing on FreeBSD.
Hi there, I was wondering if anyone had seen the following error it usually happens when I try to double click on another callsign to start attempting to make a contact Ive tried removing and rebuilding the configuration and tried changing a few settings in the software to try to find a work around but so far no luck. if anyone has any tip, suggestions, etc it would be much appreciated, if this is not the right place I can always try to follow up with the FreeBSD porters team. Fortran runtime error: Actual string length is shorter than the declared one for dummy argument 'msgsent' (-4294967274/22) Thanks, again! Jason ___ wsjt-devel mailing list wsjt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wsjt-devel